cancel
Showing results for 
Search instead for 
Did you mean: 

"WRK" attribute in PPOMA_BBP

MariusStoica
Active Participant
0 Kudos

Hi guys,

The client requires to add 3 more attributes to the "Attributes" tab in PPOMA_BBP, that already exist in the structure, but can not be modified. The 3 attributes are WRK, PURCH_GRP and PURCH_ORG.

I tried to follow the wiki

https://wiki.scn.sap.com/wiki/display/SRM/Organizational+Model

And other posts, but no conclusion found.

I also tried to modify manually the attributes using OOATTRCUST, but it's not possible since they are set as "Can't chng'.

How can I solve this issue ?

Kind regards,

Marius

MariusStoica
Active Participant
0 Kudos

Hi guys,

Any ideas ?

Kind regards,

Marius

Accepted Solutions (0)

Answers (4)

Answers (4)

laurent_burtaire
Active Contributor
0 Kudos

Hello Marius,

check what's happened in method INIT_USER_ATTRIBUTES from class /SAPSRM/CL_PDO_SHARED_USER.

Regards.

Laurent.

MariusStoica
Active Participant
0 Kudos

Hi Laurent,

The logical system and company code where determined. Also another 4 attributes: BUK, BWA, BSA, WRK. Nothing else has values.

Kind regards,

Marius

laurent_burtaire
Active Contributor
0 Kudos

Hello,

currently, what do you have in fields Purch. Org, Purch. Group and Location/Plant at UI level?

Are they populated or not?

Regards.

Laurent.

MariusStoica
Active Participant
0 Kudos

Hi Laurent,

Yes they are. And the search help brings more values than it should for the current user.

Regards,

Marius

laurent_burtaire
Active Contributor
0 Kudos

Hello Marius,

what is the business need to manually manage in 'Attributes' tab Plant, Purchasing Group and Purchasing Organization?

As written by Daniel, for Plant, you can do it through "Locations" in 'Extended Attributes' tab.

Regarding Purch. Group and Org., those data are linked to Product Categories, not to Users.

Nevertheless, for any user from the Organization Structure (PPOSA_BBP), if he is assigned to an Organizational Unit being under a Purchasing Organization, this user will inherite this Purch. Org. (see in 'Attrib. Inheritance' for Position occupied by the User).

Regards.

Laurent.

MariusStoica
Active Participant
0 Kudos

Hi Laurent,

The way the SC reacts to these values, default or not.

The user that creates a SC should be able to chose only those attributed to him/her. Besides this point, the behavior is funky. If you default a value, you can only use that value. The SC doesn't allow u to change it, and if you don't default the value, you don't see any values to chose from.

I'm an ABAP-er, so if there are configurations to check, I don't know where they are ;(

Kind regards,

Marius

PS: I tried adding a custom attribute, and it isn't shown in the pop-up list ;(. Followed the blog:

https://blogs.sap.com/2016/05/17/how-to-take-advantage-of-the-customizable-attributes-at-organizatio...

laurent_burtaire
Active Contributor
0 Kudos

Hello Marius,

i do not understand the business rule...

A default value is populated by default when several exist: why you should not be able to change it?

Consequently, if user cannot change the default value, why the user has several values?

Regarding Purchasing Organization and Purchasing Group, they are determined by customizing ("Responsability" tab of Purchasing Group) and can be overwritten by BAdI BBP_PGRP_FIND, so why user should choose Purch Org. and Puch. Group before selecting the Product Category?

Regards.

Laurent.

MariusStoica
Active Participant
0 Kudos

Hi Laurent,


Like I said, I'm an ABAP-er and don't know the specifics. I'll try to ask some questions and come back to you.

Any idea why the custom attributes do not show up?

Kind regards,

Marius

MariusStoica
Active Participant
0 Kudos

Hi Laurent,

So ... When creating a SC the item is added free text, limit or from catalog (T-Rex). After adding the obligatory info, you can change Purchase Org, Purch Group , Company Code and Location which are based on PPOMA_BBP configs. There is no connection to Product Category.
What the client needs is to filter the values for these fields, based on the same configuration. If you have 5 company codes added in PPOMA_BBP to a user, the user can only see / use those 5. Similarly they need to do it for the other 3 fields.
Is there a way to achieve this ?

I managed to add a new custom field (as a test) and tried to use it, but I can't manage to add the "Source System" column to it, evef if it is copied from an attribute that already has this column active/modifiable.

Kind regards,

Marius

edaniel
Explorer
0 Kudos

Hi Marius,

Could you please provide screenshots about what would you like to change exactly and where?

Please check also the following SAP Help page about the attributes in SRM:

https://help.sap.com/doc/saphelp_srm70/7.0/en-US/84/a7e3389870c05ce10000000a114084/content.htm?no_ca...

WRK - You define this attribute using tab card Extended attributes.

PURCH_GRP - You define an organizational unit as purchasing group on the Function tab.

PURCH_ORG - You define an organizational unit as purchasing organization on the Function tab.

Best regards,

Daniel

MariusStoica
Active Participant
0 Kudos

Hi Daniel,

Definitely.

In the "Attributes" tab of PPOMA_BBP the client would like to add the 3 attributes (that are present elsewhere), also whne pressing the "Change attributes" button and the consequesnt "Context menu" to have these 3 new attributes.

2019-01-29-14-49-39-general-attributes-ebp-change.png(30.2 kB)

2019-01-29-14-49-53.png(22.7 kB)

You can see the "Test" attribute, custom added by me in both places.

Kind regards,
Marius

MariusStoica
Active Participant
0 Kudos

Hi Daniel,

Is there a way to achieve the requirement ?

Kind regards,

Marius