cancel
Showing results for 
Search instead for 
Did you mean: 

retrieving shoppincart info from backend..

former_member186143
Active Contributor
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

peter_novoth
Employee
Employee
0 Kudos

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

former_member186143
Active Contributor
0 Kudos

>

> 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

peter_novoth
Employee
Employee
0 Kudos

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

former_member186143
Active Contributor
0 Kudos

ok that was the missing link, I was looking where the connection was

with BBP_ITMADM_GETDETAIL I can retrieve the header id with the itemid that I got

thanks

peter_novoth
Employee
Employee
0 Kudos

Hi,

you can use also the table CRMD_LINK between header/item and sets (therefore also for the org ID).

Regards,

Peter

Answers (1)

Answers (1)

former_member183819
Active Contributor
0 Kudos

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