Skip to Content

Derivation of Funded Program from WBS using Assignment

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 21, 2017 at 11:57 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Your screenshot makes sense, but the result you are describing does not :)

      The module shouldn't care less if the length of POSID is 5 characters or less. As soon as it identifies the line, it should take the value of POSKI (in your case, since it's there where you keep this dotted version) without any restriction on the length, unless you specify it deliberately.

      Well, if standard FM doesn't work (though, I cannot see why), you can use a user-exit and do exactly the same: approach PRPS with WBS value and store POSKI value in FMDERIVE.