Age: 170 Joined: 04 Oct 2007 Posts: 1218 Location: Санкт-Петербург
Posted: Mon Dec 01, 2008 5:30 pm Post subject: Object oriented resolve rule responsibility class
Code:
METHOD call_rule_gen_request. DATA:
lo_container TYPE REF TO cl_swf_cnt_container,
lt_agents TYPE tswhactor,
lx_agents TYPE swhactor,
lx_agent_details_full TYPE zcas_workflow_agent,
lx_agent_details_short TYPE zcas_workflow_agent_short,
lx_actors TYPE ZCAS_WORKFLOW_ACTORS.
DATA:
l_user_name TYPE xubname,
l_pernr TYPE pernr_d,
l_user_address TYPE addr3_val,
l_user_usr03 TYPE usr03,
t_adsmtp TYPE STANDARD TABLE OF adsmtp,
x_adsmtp TYPE adsmtp,
t_p0105 TYPE STANDARD TABLE OF p0105,
x_p0105 TYPE p0105.
CREATE OBJECT lo_container.
IF iv_bukrs IS NOT INITIAL.
TRY.
CALL METHOD lo_container->if_swf_cnt_element_access_1~element_set_value
EXPORTING
name = ‘BUKRS’
value = iv_bukrs.
ENDTRY.
ENDIF.
IF iv_object_type IS NOT INITIAL.
TRY.
CALL METHOD lo_container->if_swf_cnt_element_access_1~element_set_value
EXPORTING
name = ‘ZCA_OBJECT_TYPE’
value = iv_object_type.
ENDTRY.
ENDIF.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.