on 04-12-2010 10:57 AM
I have a problem that at the moment I create a PO I want to include some shoppingcart info as well.
only problem is dat the SRRELROLES is not yet updated which is necessary for retrieving the data
with bbp_pd_objrel_read_via_ref ?
is there any other way to retrieve shoppincart data at the moment when the PO is saved ?
kind regards
Arthur de Smidt
Hi,
the SC field BBP_PDBEI-BE_OBJECT_ID (here is the follow-on document ID is stored) is updated during the SC transfer. So when you search the BBP_PDBEI-BE_OBJECT_ID with the newly created PO ID you will find the SC item GUID.
If you have this GUID, you can read the details with the BBP_PD_SC_GETDETAIL.
Regards,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> Hi,
>
> the SC field BBP_PDBEI-BE_OBJECT_ID (here is the follow-on document ID is stored) is updated during the SC transfer. So when you search the BBP_PDBEI-BE_OBJECT_ID with the newly created PO ID you will find the SC item GUID.
> If you have this GUID, you can read the details with the BBP_PD_SC_GETDETAIL.
>
> Regards,
> Peter
hmmm I found the entries in the table BBP_PDBEI and selected a PO, I copied the guid into the bbp_pd_sc_getdetail and I get returned that nothing was found ?
any clue ?
when I run bbp_pd I get the GUID 4BC1A1CAC325012BE100800091640C06
if I use this one in BBP_PD_SC_GETDETAIL I get the right info
when I select the GUID from bbp_pdei with the PO created by the shoppingcart I get 4BC1A20EC325012BE100800091640C06
which is not the same as from bbp_pd and also doesn't work
I found the last gui id in the crm_jest table, how can I go back from this one to the main GUID ?
MANDT OBJNR STAT INACT CHGNR
055 4BC1A20EC325012BE100800091640C06 I1111 X 002
055 4BC1A20EC325012BE100800091640C06 I1113 001
kind regards
arthur
Edited by: A. de Smidt on Apr 12, 2010 1:44 PM
Edited by: A. de Smidt on Apr 12, 2010 1:48 PM
Hi Arthur,
ok, so my idea was:
when you select the BBP_PDBEI-BE_OBJECT_ID with the PO ID, you will see the item GUID. When you have the ITEM GUID, you can find the header GUID e.g. in the table CRMD_ORDERADM_I (here you have both item and header GUID).
Regarding the CRMD_JEST just an example:
HEADER I1009 Held
HEADER I1021 Created
HEADER I1038 Complete
0000000001 I1111 Item in Transfer Process X
0000000001 I1113 Follow-on Document Created
Till you reach the status I1111, all CRMD_JEST entry will reference to the HEADER GUID.
From the status upwards the CRMD_JEST consists the ITEM GUID.
Regards,
Peter
Hi
clean job should run first.then only links will happen. it is sap standard.
Object links are creating or not for the PO w.r.t sc in BBP_PD link .
Muthu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.