I have created a custom BO with custom event. It has 2 key fields XBLNR, LIFNR. I am triggering this BO on action of a button click (button of a webdynpro application) from Portal. In the button click action using SWE_EVENT_CREATE i am triggering BO. Also i pass objkey value for FM as wf_objkey.
CONCATENATE lv_xblnr lv_vendor into wf_objkey. CALL FUNCTION 'SWE_EVENT_CREATE' EXPORTING objtype = 'ZBUS_INV1' objkey = wf_objkey event = 'SUBMITTED'
Once this event gets triggered i go to SWI1 and check the values of keyfields in BO. There as XBLNR is 16 char long i am getting both XBLNR and LIFNR value together in XBLNR field itself. The remaining 2 chars alone that is char17 and char18 are alone coming in LIFNR field.
Actual XBLNR value : ZIDSDATA
Actual LIFNR value : 0000003910
But wrongly i am receving as
XBLNR value : ZIDSDATA00000039
LIFNR value : 10
I have done my binding as below in start events of workflow.
How should i make XBLNR, LIFNR values of BO to come separately.
Edited by: bharath padmanabhan on Aug 1, 2009 2:15 PM