2009 Sep 20 11:49 AM
Hi Experts,
Im developing a program in ECC wherein I need to perform an RFC call to BBP_PD_SC_GETDETAIL to get the requestor of the shoppingcart.Here is the code I have written
DATA: GT_HEADER TYPE TABLE OF BBP_PDS_SC_HEADER_D,
CALL FUNCTION 'BBP_PD_SC_GETDETAIL' DESTINATION u2018SXDCLNT090u2019
EXPORTING
I_OBJECT_ID = GS_SHOPCART-BEDNR
IMPORTING
E_HEADER = GT_HEADER[].
ENDIF.
But in ECC, structure BBP_PDS_SC_HEADER_D is not present. What should I do to make use of the above function module.
2009 Sep 20 12:23 PM
Hi,
As you want only requester of a shopping cart, you can get it from table in SRM - BBP_PD_SC_DETAIL. You can simply use READ_RFC_TABLE from R/3 instead of using function module. This will avoid redundant data and and also it is simple to use.
Hope this helps.
Hi Sachidanand and Rudresh,
Could you please reply me back If you know how to use the Function Module as Im in the need of it.
2009 Sep 20 12:23 PM
Hi,
As you want only requester of a shopping cart, you can get it from table in SRM - BBP_PD_SC_DETAIL. You can simply use READ_RFC_TABLE from R/3 instead of using function module. This will avoid redundant data and and also it is simple to use.
Hope this helps.
2009 Sep 20 12:25 PM
Hi,
Using FM 'RFC_READ_TABLE', you can directly read the values from the remote system.
Regards,
Rudresh
2009 Sep 20 1:05 PM
Hi Sachidanand and Rudresh,
Thank you so much for your reply.
But dont know how to use RFC_READ_TABLE.Could you please help me out.
QUERY_TABLE = 'table name' (In my case, CRMD_ORDERADM_H is the table)
I need to fetch the requestor based on the shopping cart number.
How to specify the Where condition.
select created_by from crmd_orderadm_h where object_id = (my shopingcart number).
2009 Sep 20 1:21 PM
Hi Sachidanand and Rudresh,
Could you please reply me back If you know how to use the Function Module as Im in the need of it.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |