Skip to Content
author's profile photo Former Member
Former Member

How to add new field storage location of MM in FMDERIVE

Dear All

I want to add new field storage location in FMDERIVE as need to consume budget on the basis of storage location

Thanks in advance

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Nov 14, 2011 at 10:40 AM

    Hi,

    You can use BADI_FMDERIVE for this. Enhance COBL structure with the relevant field, use the BADI to fill FMDERIVE structure (FILL_CUSTOMER_FIELDS method) and define a strategy in FMDERIVE based on your temporary field (USERTEMP1). Also, you have to define FM objects, e.g. fund centres, for your storage locations, first.

    Regards,

    Eli

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 14, 2011 at 10:43 AM

    Hi, you need to add this field to FMDERIVE and COBL(caution the field name has to be the same as in abap dictionary, if it has some names then add two fields) structures

    Now in for project SAPLFMDT , EXIT_SAPLFMDT_002, include ZXFMDTU02 to fill this field (with abap write an assignment), after that you can use it in fmderive, but it works not for all fields(only if this field will be updated during posting in COBL)

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 16, 2011 at 05:32 AM

    Hi SAPCOFI,

    With Eli and Aleksey on this thread, you dont need to worry anymore 😊

    Just to add on to the inputs....

    Ensure that the USERTEMP1 buffer is cleared before a value is entered. We faced this issue wherein the previous S.Loc value was left as it is in the USERTEMP1, resulting in an incorrect assignment.

    I also suspect that you might need to run the process of identifying the enhancement point and populating the S.Loc value into the memory and then to USERTEMP1 for different transactions separately. Not sure if this is the standard process, but atleast we did it that way.

    For eg, we faced issues during Goods Issue from MIGO, as also during 301, 309 and 311 movement types. So execute these transactions too once the development is done and if the USERTEMP1 field isnt getting populated..

    FMDERIVE TRACE was the most important tool during our tryst with S.Loc mapping into USERTEMP1....Ensure that you set it everytime during testing for this S.Loc, post development 😊

    @Experts - Please correct me wherever I've gone wrong.

    Regards,

    Wy.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.