Skip to Content
author's profile photo Former Member
Former Member

Need Tables for SRM SC Creation

Hi All,

I Have created zprgram (Zwebdynpro component) to create SRM shopping cart taking reference of sap Standard test program

BBP_ANALYSE_PERFORMANCE and BBP_CND_CUSTOMIZING_CHECK.

The same I have copied and hardcoded the values which I get in debugging and shopping cart is getting created with hard coded values.

Now I need to remove hard coded values and pass the values based on user login ID company code and plant.

when I see items each item has 3 partners.

Item:

Pos Type Quantity Unit Ordered_Prod

0000000001 1 EA

3 Partner lines

Partner_Fct Description Partner_No

0000000001 00000016 Requester DEA2B41A4C5C08F1A3D9001635C3DFCA

0000000001 00000020 Goods Recipient DEA2B41A4C5C08F1A3D9001635C3DFCA

0000000001 00000075 Location DD962CC68A7F4FF1AB8D001635C3DFCA

I the above got Partner_No by

passing the above “16” to BUT000 table I got Partner_No: DEA2B41A4C5C08F1A3D9001635C3DFCA

passing the above “20” to BUT000 table I got Partner No: DEA2B41A4C5C08F1A3D9001635C3DFCA

passing the above “75” to BUT000 table I got Partner_No: DD962CC68A7F4FF1AB8D001635C3DFCA

1) My question is how to get Partner_Fct 16, 20, 75?

Do we need to hot code 16, 20, 75? or any tables(where they are stored).

Do they will not change system to system?

dev---->Quality---->Production.

2) How to get?

lw_partner-PARTNER_ID = '0000000390'.

lw_partner-ADDR_TYPE = '3'.

lw_partner-ADDR_ORIGIN = 'A'.

lw_partner-MAINPARTNER = 'X'.

3) How to get?

lw_orgdata_c-PROC_ORG_RESP_OT = 'O' .

lw_orgdata_c-PROC_ORG_RESP_ID = '50000125'.

lw_orgdata_c-PROC_ORG_OT = 'O'.

lw_orgdata_c-PROC_ORG_ID = '50000005'.

lw_orgdata_c-PROC_GROUP_OT = 'O'.

lw_orgdata_c-PROC_GROUP_ID = '50000125'.

append lt_orgdata_c to lt_orgdata_c.

Help full answers like where they are stored and If any helpful links will be rewarded.

If any of my analysis is not correct please correct me.

Thanks

Gopal.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Feb 11, 2014 at 07:49 AM

    Hi Gopal,

    1, For partner functions, you may refer to the following note:

    1837652 - Identification of Partner Functions

    2, table CRMD_PARTNER will store all these information for each document.

    3, table BBP_PDORG will store all organization info for each document.

    I am not sure if I understand your question well. Please let me know if my answer is not what you want.

    Regards,

    Ivy

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.