on 05-23-2006 10:03 AM
Hi experts,
I need to include some Z fields in Marketing Campaign object (BUS2010020). To do this, I inserted two new Z fields in marketing campaign using EEWB functionality.
I need to execute an action profile depending on the Z fields value. I created a BUS2010020 subtype with my new two fields as attributes (selecting the structure ZCRMS_MKTPL_EEWUIBD01 and ZZSECTOR and ZZCANAL as fields)
Then I know that I have to implement the associated programm in order to get the values. Now, I have the following two codes:
GET_PROPERTY CANALR3 CHANGING CONTAINER.
SWC_SET_ELEMENT CONTAINER 'CanalR3' OBJECT-CANALR3.
END_PROPERTY.
GET_PROPERTY SECTORR3 CHANGING CONTAINER.
SWC_SET_ELEMENT CONTAINER 'SectorR3' OBJECT-SECTORR3
END_PROPERTY.
Could anyone help me in order to develop this code please?
Thanks in advance
Regards
Javier Merino
Hi,
Check the links
http://www.sapgenie.com/abap/bor.htm.
http://www.sap-img.com/workflow/sap-workflow.htm
http://www.sapgenie.com/workflow/index.htm
https://sapneth9.wdf.sap.corp/workflow
http://help.sap.com/saphelp_webas620/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
Check this Sample code.
get_property items changing container.
tables vbap.
refresh object-items. clear object-items.
data item type swc_object.
data: begin of vbap_key,
vbeln like vbap-vbeln,
posnr like vbap-posnr,
end of vbap_key.
vbap_key-vbeln = object-key-salesdocument.
select * from vbap where vbeln = object-key-salesdocument.
vbap_key-posnr = vbap-posnr.
swc_create_object item VBAP vbap_key.
append item to object-items.
endselect.
swc_set_table container Items object-items.
end_property.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.