‎2006 Sep 07 5:25 PM
Hi All,
I am using parallel processing technic inside a method like this.
CALL FUNCTION 'BAPI_PLANNEDORDER_CREATE' STARTING NEW TASK L_TASK_NAME DESTINATION 'NONE' PERFORMING CREATE_PLANNEDORDER ON END OF TASK
EXPORTING
headerdata = W_HEADERDATA.
but as i expected it gave an error when i wrote the form logic inside the same method.
Then i realized i have to use like this
CALL FUNCTION 'BAPI_PLANNEDORDER_CREATE' STARTING NEW TASK L_TASK_NAME DESTINATION 'NONE' CALLING ZCREATE_PLANNEDORDER on end of task
EXPORTING
headerdata = W_HEADERDATA.
When i double click on method ZCREATE_PLANNEDORDER, its trying to create a new attribute ZCREATE_PLANNEDORDER. I am confused and dont understand where to write my form logic.
Here is my form logic.
RECEIVE RESULTS FROM FUNCTION 'BAPI_PLANNEDORDER_CREATE'
IMPORTING
RETURN = W_RETURN
PLANNEDORDER = W_PLORDER.
Can anybody tell me where and how should i write my logic for calling zcreate_plannedorder.
Can i just add a method ZCREATE_PLANNEDORDER in same class of my original method?
I am very new to oops and confused a lot, A piece of code would be appreciated.
Points will be rewarded for helpful answers.
Thanks in advance
Rajesh.
‎2006 Sep 07 5:27 PM
‎2006 Sep 08 8:47 AM
Actually i am doing an inbound interface using ABAP proxy, i am writing this code in Proxy class.
Thanks,
Rajesh.
‎2007 Mar 13 7:47 PM