cancel
Showing results for 
Search instead for 
Did you mean: 

Enhancement to default the p-card in the shopping cart for single pcard

Former Member
0 Kudos

Thereu2019s one requirement as follow.

Enhancement to default the p-card in the shopping cart for user who has a single p-card in SRM 7.0.

I tried the following BADi,but I canu2019t debug in it.

1. BADi:BBP_DOC_CHANGE_BADI Method: BBP_SC_CHANGE

2. BADi:BBP_CREATE_BE_RQ_NEW

3. BADi:BBP_CREATE_REQ_BACK

From my experience, we should only modify the standard SAP program to realize this functionality and focus on which Function Group need to be modified.

Could you please help me look into this requirement? which BADi or which Function Group can be used.

Thanks in Advance.

William

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

The table BBP_PCMAS contains the pcard company and Pacrd number information assigned to the user.

So please use this table and get valid associated pcard company and Pacrd number and then assign it in item level.

For example :

ls_item-pcnum = pcard-num.

ls_item-pcins = pacrd-company.

I am sure you will able to solve your issue by using this approach.

Thanks

Snehal

Former Member
0 Kudos

Hi Snehal,

Thanks you. i have solved the problem.

Regards,

William