on 02-10-2012 4:11 AM
Dear Expert,
Anyone know how to link SC-PO-Confirmation using table??
Thanks and Regards,
Yusup
Hello,
Which scenerio your in Classic or ECS
To get Confirmation from SC.
1. Run FM BBP_PD_SC_GETDETAIL with SC number.
2. IN ET_HEADER_REL table you will get PO GUID with OBJTYPE_A = GUID.
3. With PO Guid get PO number
4. With PO number
CALL FUNCTION 'BBP_PD_CONF_GETLIST'
EXPORTING
I_FOR_PO_ID = lv_po "po number
TABLES
E_PDLIST = lt_pdlist
E_MESSAGES = lt_messages.
LOOP AT lt_pdlist into ls_pdlist WHERE OBJECT_TYPE = 'BUS2203'.
MOVE-CORRESPONDING ls_pdlist TO ls_conf_details.
ENDLOOP.
5. ls_conf_details-object_id will have confirmation number.
To get SC from Confirmation .
Please Try this
1.get header GUID of Confirmation number
2. BBP_PD_CONF_GETDETAIL Function Module
input :
I_GUID confirmation guid
I_OBJECT_ID confirmation number
output:-
Es_header
In es_header get BE_REFOBJ i.e Po number .
3. Pass the Purchase Order number to BE_OBJECT_ID field in BBP_PDBEI table.
4. take the GUID where BE_OBJECT_TYPE = BUS2201.
Now we might get the Item GUID of Shopping cart
5 pass the Item GUID of Shopping cart into CRMD_ORDERADM_I table and get header guid .
6. pass the Header GUID of Shopping cart into CRMD_ORDERADM_H table
to get the Shopping cart number
Regards,
Neelima
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.