Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BBP_PD_SC_GETDETAIL Function module in ECC

Former Member
0 Likes
1,105

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
797

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.

4 REPLIES 4
Read only

Former Member
0 Likes
798

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.

Read only

Former Member
0 Likes
797

Hi,

Using FM 'RFC_READ_TABLE', you can directly read the values from the remote system.

Regards,

Rudresh

Read only

0 Likes
797

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).

Read only

0 Likes
797

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.