cancel
Showing results for 
Search instead for 
Did you mean: 

code to get the record from Item table using syncbo.(GetDetail wrapper bapi

Former Member
0 Kudos

Hi experts,

I need to get the particular record from header and item table.

How to code to get that using syncbo api.If i am correct this is the code to call GetDetail wrapper Bapi.Kindly correct me and give the response immediately.

Regards,

Sunaina Reddy.T

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

I will try to give an immediate answer.... but the question is quite vague. Do you want to get the header and row from the client or from the backend? If on the client why do you talk about the bapi wrappers?

Thank you,

Julien.

Former Member
0 Kudos

hello Julien,

Thanks for the reply.I want to get the record from header and respective item table from backend.I asked the code to achieve this functionality from frontend.

Regards,

Sunaina Reddy.T

Former Member
0 Kudos

Hello,

Check this piece of code :(WA_HEADER & ITAB_ITEM are internal tables)

.......................

SELECT single * FROM HEADER INTO CORRESPONDING FIELDS OF WA_HEADER

WHERE ID = ID.

if sy-subrc = 0.

select * from ITEM_TABLE into corresponding fields of table ITAB_ITEM

where ID = ID.

endif.

......................

Regards,

Lakshmi

Former Member
0 Kudos

Hi Sunaina,

What exactly you mean when you say "frontend"?

Do you mean to a AWT or JSP application developed using MDK?

Correct me if i am wrong.

Thanks & Regards,

Abhijit

rohith_deraje
Advisor
Advisor
0 Kudos

Hi,

Your Getdetails BAPI signature should be correct. Then only the getdetail BAPI will work fine.

import = Key fields of the header table.

Export = Structure of TYPE header table.

Tables = internal table LIKE child table And "RETURN" LIKE BAPIRET2

Regards

Rohith

Answers (0)