cancel
Showing results for 
Search instead for 
Did you mean: 

Thanks christophe...

Former Member
0 Kudos

Hi christophe,

I have done the debugging using FM BBP_PD_PO_TRANSFER_EXEC...the FM stopped at the breakpoint i kept in the implementation of BADI in SRM for BBP_ECS_PO_OUT_BADI...

In R3 BADI also it is showing the catalogid field is populated..i think but it is not populated into database..how to do that one...

In R3 i have kept code as

method IF_EX_BBP_PO_INBOUND_BADI~BBP_MAP_BEFORE_BAPI.

data : wa_customer_fields type bbps_if_customer_fields,

wa_bapi_te_mepoitem type bapi_te_mepoitem,

wa_bapi_te_mepoitemx type bapi_te_mepoitemx,

wa_extensionin type bapiparex.

data : txt_960(960) type c.

read table bbp_customer_fields into wa_customer_fields with key

refobject = 'POITEM' fieldname = 'CATALOGID'.

if sy-subrc eq 0.

move wa_customer_fields-container TO

wa_bapi_te_mepoitem-zsrmcatalogid.

wa_bapi_te_mepoitemx-zsrmcatalogid = 'X'.

endif.

clear txt_960.

clear wa_extensionin.

write wa_bapi_te_mepoitem to txt_960 left-justified.

wa_extensionin-structure = 'BAPI_TE_MEPOITEM'.

wa_extensionin-valuepart1 = txt_960(240).

wa_extensionin-valuepart2 = txt_960+240(240).

wa_extensionin-valuepart3 = txt_960+480(240).

wa_extensionin-valuepart4 = txt_960+720(240).

append wa_extensionin to bapi_extensionin.

clear txt_960.

clear wa_extensionin.

write wa_bapi_te_mepoitemx to txt_960 left-justified.

wa_extensionin-structure = 'BAPI_TE_MEPOITEMX'.

wa_extensionin-valuepart1 = txt_960(240).

wa_extensionin-valuepart2 = txt_960+240(240).

wa_extensionin-valuepart3 = txt_960+480(240).

wa_extensionin-valuepart4 = txt_960+720(240).

append wa_extensionin to bapi_extensionin.

endmethod.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi

i must call the BBP_PO_INBOUND. I have same information custom (two fields added into ekko customer include).

What structures and table i must fill in BBP_PO_INBOUND interface ?

How i must fill the structure CUSTOMER_FIELDS?

How i must fill the structure Extensionin?

How i must fill the structure Extensionout?

what contain the fields?

Thanks

by