Quantcast
Channel: SCN : Discussion List - Supplier Relationship Management (SAP SRM)
Viewing all articles
Browse latest Browse all 3184

Need Tables for SRM SC Creation

$
0
0

Hi All,

 

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

BBP_ANALYSE_PERFORMANCE     and  BBP_CND_CUSTOMIZING_CHECK.

The same I have copied and hardcoded the values whichI 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.


Viewing all articles
Browse latest Browse all 3184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>