cancel
Showing results for 
Search instead for 
Did you mean: 

Change the workitem of SC taking in consideration some conditions

Former Member
0 Kudos

Hello,

I want to add the plant code and  the first 3 characters of its name to the approval workitem of the SC in case of PDP flow and NPP purch org.

How to get the 3 characters of the plant name?

How to manage these conditions?

thanks,

Meriem.

Accepted Solutions (1)

Accepted Solutions (1)

konstantin_anikeev
Active Contributor
0 Kudos

Hi Meriem,


for the 1st you can get plant code from position of the shopping cart. Field BE_PLANT.


for the 2nd.

You need to enhance the BUS2121 Object (TA SWO1) and define new attribute for you custom data.

You need to define a placeholder (your new attribute) in workitem header definition (TA PFTC), 

Regards

Konstantin

Former Member
0 Kudos

Hi Konstantin,

thank you for your reply.

But i am not familiar with this.

Could you expalin more.

For the plant, i found the attribute plant.

But how to retrieve the 3 first caracters.

How to deal with the condition.

In fact the changes in the WI are relevant only in PDP flow and for NPP purch/

thanks,

Meriem.

konstantin_anikeev
Active Contributor
0 Kudos

Hi Meriem,

AFAIK you can not insert parts of the attribute values - you need your own attribute to get 3 characters from 4.

Please look this post http://wiki.scn.sap.com/wiki/display/BOBJ/Business+Object+Delegation

Regards

Konstantin

Answers (0)