cancel
Showing results for 
Search instead for 
Did you mean: 

getting GUID of Shopping Card

Former Member
0 Kudos

Hello Experts,

do you know how can I access or get the GUID of Shopping Card

at that section. I need it for a special purpose.

This the BADI -> BBP_DRIVER_DETERMINE.

METHOD if_ex_bbp_driver_determine~determine_driver.

METHOD if_ex_bbp_driver_determine~determine_driver.

    CASE functionname.
      WHEN 'B45A_SOURCEDETERMIN_GETSOS'.
        CLEAR functionname.
      WHEN 'B46B_SOURCEDETER_GETSOS_MULTI'.
        CLEAR functionname.
      WHEN 'CL_BBP_BS_ADAPTER_PO_CRT_ERP10'.
        ????
    ENDCASE.
ENDMETHOD.

ENDMETHOD.

Thanks in advance

Ertas ilhan

Edited by: Ilhan Ertas on Jun 4, 2009 7:28 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi ertas,

at runtime getting a GUID is very simple.

Define within the Function Group's Top Include "BBP_BS" a global varibale.

data gv_guid type BBP_GUID.

Just go to the Function Module BBP_BS_SC_TRANSFER_CLASSIC.

Create here a new Enhancement in the above section and make this assignment.

gv_guid = iv_sc_guid.

So thats it. Have fun

Regards

sp++

Edited by: spielwiese on Jun 6, 2009 8:58 AM

Answers (1)

Answers (1)

former_member183819
Active Contributor
0 Kudos

Hi,

CRMD_ORDER_H & CRMD_ORDER business object bus2121 tables of sc. defintelty you can query here guid of sc .

br

muthu

Former Member
0 Kudos

dear muthu

I think you did not understand my question correctly.

What I mean is to the runtime . Getting the GUID of the current Shopping Card which has been

loading. You dont know privously which Shopping Card is the affected one

why I can not query here guid of sc .

Look at my posting

This is the call of the method

METHOD if_ex_bbp_driver_determine~determine_driver.

I need a possibility something like dirty assign

Former Member
0 Kudos

Hi,

At runtime getting a GUID of BUS2121 is difficult, however you can get the GUID'S of previously created/ordered shopping carts.

Transaction BBP_PD or table CRMD_ORDERADM might help you.

regards,

IGA.