cancel
Showing results for 
Search instead for 
Did you mean: 

Any Bapi for getting default setting while creating Shopping cart

Former Member
0 Kudos

Hello SRM Gurus ,

When we create a shopping cart in SRM 7 , we get  some values autometically (default setting of the user ),  which include Item basic data , Account assignment , internal node etc when clicking on the default settings link..

My question is do we have any BAPI to read this dafault values of the user .

Thanks,

Gejo john

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can get the attributes of the user using FM RH_OM_ATTRIBUTES_READ.


Use import parameters :

PLVAR = '01'

OTYPE = 'US'

OBJID = username

SCENARIO = 'BBP'

Additionally you can read the default values for the attributes using FM BBP_READ_ATTRIBUTES.

Regards,

Nikhil

Former Member
0 Kudos

Hi nikil ,

i tried to execute these two function module ,

But i am not getting any result .

Have u used these for getting the default setting of the user in shopping cart

thanks,

Gejo john

Former Member
0 Kudos

Hi Gejo,

I hope you provided an SU01 user id for the OBJID parameter under FM RH_OM_ATTRIBUTES_READ.

For reading values from FM BBP_READ_ATTRIBUTES, you can use report in the WIKI http://wiki.sdn.sap.com/wiki/display/SRM/Code+Sample+2+-+Report+to+display+user+attributes

Regards,

Nikhil

Former Member
0 Kudos

Thanks nikil ,

The link was useful ,

Created the same report for getting the attributes using

FM BBP_READ_ATTRIBUTES.