0

Derivation of Funded Program from WBS using Assignment

2 days ago

21

Hi all,

I have to derive Funded Program from WBS on a 1:1 relationship. I want to achieve this using assignment which will make it easy for user because they don't have to maintain derivation every time they create a new WBS. WBS number has separators and i also did the same with the Funded Program for example:

WBS 5.222.1 = FP 5.222.1 The problem is when I derive the funded program, the system takes out the separators on deriving the funded program.This is because the WBS is stored without separators in table PRPS, whilst the Funded Program is stored with separators in table FMMEASURE . So when I run the derivation using assignment, the result comes out as on the below screen.

wbs-fp.png

Please advise on how I can have the Funded Program to be derived with separators.

Regards

Jordan



wbs-fp.png (26.5 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Eli Klovski Moderator SAP Mentor 2 days ago
0

Hi,

Instead of 'assignment, use rule of type 'function module' and select this one: FMDT_READ_MD_WBS_ELEMENT.

There you have both values of WBS - converted and non-converted. You can take whatever you want and pass it to Funded program.

Regards,

Eli

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hi,

Thanks I will try this and get back to you.

Regards

Jordan

0

Hi Eli,

I have used the function module as advised.

poski.png

WBS source field is POSID which does not contain special characters. That means when deriving the Funded Program, the system counts the number of characters from the WBS field. For example WBS 52221 is derived to FP 5.222 because the number of characters are 5. This is not correct because it should come out as 5.222.1.

How do I manage this?

Regards

Jordan

poski.png (37.8 kB)
0