on 05-25-2006 1:54 PM
Hi christophe,
In BBP_ECS_PO_OUT_BADI in SRM..........
In REFFIELD1 u told to give as po_item..it is giving error ?
and for REFVAL1 we pass 00001 directly
i.e, ...REFVAL1 = '0001'.
...REFFIELD1 = PO_ITEM.
IS it true?
it is giving error.
Thanks in advance
Hi Ravi,
I told you to pass 'PO_ITEM' in field REFFIELD1, and not PO_ITEM as a variable that of course does not exist...).
So:
REFFIELD1 = 'PO_ITEM'.
REVAL1 = '00001'. --> but here you must use the incoming item field NUMBER_INT.
Rgds
Christophe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ravi,
On which object are you working ? a Purchase Order, isn't it ?
By what is composed a PO ? By a header, items, partners, accounting, documents, texts, tax, and so on.
Your goal is to send the item catalog ID to R/3 PO item, isn't it ?
So in this BADI, you must loop on the incoming item table, and for each PO item you must append a customer field to pass each item catalog ID.
SRM PO items have a GUID, an internal PO item number(10, 20, 30...) and an external PO item number = R/3 PO item number (numeric field of 5 positions).
So in your incoming item table IT_ITEM, you can find this field, which correspond to field CT_BAPI_POITEM-PO_ITEM. CT_BAPI_POITEM is the target table with the format wanted by R/3 BAPI_PO_CREATE.
So you must pass the R/3 item number in this ref field (use IT_ITEM-NUMBER_INT or CT_BAPI_POITEM-PO_ITEM).
Rgds
Christophe
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.