on 02-29-2012 3:21 PM
Hello, i am pretty new to SRM and Workflow and i need to find out, how i can access shopping card details in my implementation of /SAPSRM/IF_WF_AREA~GET_RESPONSIBLE_APPROVERS. I need the GUID from shopping card to call several other function modules which where developed by some othere guys long ago. Is there any function module i have to call? F4-search did not help. Any help from your side would be highly appreciated.
Kind regards,
Matt
Hi,
You can use FM BBP_PD_SC_GETDETAIL to fetch all SC details.
Regards,
Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
ok, this hint was good. But i realized that i need the number of the created shopping cart as well. I searched this forum and found a thread saying that i can use this FM to obtain the GUID. But how can i determine the object_id of the shopping card?
CALL FUNCTION 'BBP_PD_SC_GUID_GET'
EXPORTING
IV_OBJECT_ID = object_id
IMPORTING
EV_GUID = lf_guid
* EV_OBJECT_ID =
TABLES
ET_MESSAGES = lt_messages
Is it a field in the Interface or in memory? Or do i have to use
SAP_WAPI_CREATE_WORKLIST
and
SAP_WAPI_GET_OBJECTS
to obtain the shopping cart number?
Thanks for your help!
Kind regards, Matt
Hi,
You can get all the SC details from the Fm BBP_PD_SC_GETDETAIL. In this FM you should pass the SC number as Object ID.
CRMD_ORDERADM_H table have all the details of SC.
( Take the SC number from the Initiators to get some Idea regarding this. Give the range of SC like 0001 to 0020 )
In this table you will get the respective SC number
I hope it will help you.
Rewards accepted.
Regards
Krishhna
Hi ,
Since SAP is passing the SC guid to method 'GET_APPROVERS_BY_AREA_GUID', if you want SC guid to be available in the method 'GET_APPROVERS_BY_AREA_GUID' then pass the GUID as leading object in
GET_AREA_TO_ITEM_MAP then get the leading object in the 'GET_APPROVERS_BY_AREA_GUID' method.
Saravanan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.