Need a Pegging module for dependent requirements.

Hi
Need a Pegging functional module for dependent requirements.
There is MD_PEGGING_NODIALOG ,where we need to pass the planned order number.
Please advise how to get the pegged requirements for dependent requirements or other MRP elements other than planned order.
Thanks
Prasad

Hello,
Function module MD_PEGGING_NODIALOG works with data structures of MRP list or current requirements/stock list. For a given material, you first need to fetch the relevant structures by the help of following FMs; BAPI_MATERIAL_MRP_LIST and BAPI_MATERIAL_STOCK_REQ_LIST. You can loop at the structures exported by these FMs and run MD_PEGGING_NODIALOG with the corresponding parameters of the MRP element you require. You can run MD_PEGGING_NODIALOG with any MRP element you like as in MD04 and MD05 transactions.
Regards.

Similar Messages

  • Table for dependent requirements

    Hi Experts,
    When we convert a planned order of a FG in the MD04 screen, is there a way that production orders for dependent requirements also get created for the inhouse produced materials? In which table can I find a link between the order of FG to the order of SFG?
    Regards,
    Sachin
    Edited by: swing swiss on Jan 15, 2010 9:39 PM

    Hi,
    Are you woking Collective Orders ?
    If you're not, then there is no link between the FG SFO & SFG SFO. But you can refer to the table RESB & in that the field BAUGR will give the pegged material info for a particular material - order combination.
    Regards,
    Vivek

  • Strategy for dependent requirements.

    Hi Experts,
    I am working in a MTS scenario,where 'X' is the Header Material & 'Y' its Assembly(with small sub-assemblies inside).
    Now 'X' is produced on order as well as some std.ratings forecasted.Basically strategy '40' (Planning with final assembly).
    Assembly 'Y' is produced for stock(in anticipation of incomind orders for 'X') as well as sold.
    Planning is done basically for 'X' as well as 'Y' in the PIR Planning table.
    My question is :Header material 'X' is given strategy '40'.What about 'Y' ? since it is also being sold & kept in stock for 'Y'.
    My concern is when i plan individually  for 'Y' its dependent requirements should get generated.
    So what should be the startegy for 'Y'.
    Please advise.
    Points assured.
    Best Regards
    Afroz

    Usually in this scenario we use strategy 70 for Y
    What is the advantage of 70 is,
    You can plan 70 weel in advance, example- let us say you planned 100 TO for Y, Run MRP and start producing Y,
    Now let us say there is any dependent requirement from X, let us say 75 TO, then  the PIR will be come 100-75 ie 25 TO. Hence you have
    PIR = 25 TO
    Dep req from X = 75 To
    Total requirement still is still 100 TO.
    coam back if you need more help

  • Need a Function Module for fetching the prior date-Urgent!!

    Hi All,
         I need a function module which will give the prior date with respect to the no: of days days that are entered as input.
    Can anyone please help me to fing one function module which acts as the above.
    Required very urgently!!!
    Thanks and Regards,
        Neethu

    Hi Neethu,
    Please run the report 'ZRECTIFY_FM_DOCUMENTS' in your system.
    Before running the report, create the following selection texts for the parameters/select-options as given below:
    P_BUKRS:  Company code
    S_GJAHR:  Fiscal year
    S_BELNR:  FI document no.
    P_TEST:   Test run
    For More information please refer <b>SAP Note: 309619</b>
    Best Regards,
    Johnny.

  • I need a function module for processing idoc

    i need a function module that can be used for processing of idocs. The name of the fm should be Z_AS4_IDOC_INPUT_SHPMNT you should create functiongroup ZAS4 as copy of group ZS40. The functionmodule should be build on the basis of Z_S_IDOC_INPUT_ZSDELV.
    Messagetype: ZASHPMNT
    Idoctype: SHPMNT05
    Partner: ASSIST
    The purpose is  to check the delivery number in Segment E1EDL20, to find the invoice in the documentflow and to select an message record of this invoice in tha table nast.
    plz help..
    <THREAD LOCKED. This is a forum for solving problems, not for getting other people to do your work. Please read the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] before posting any further questions.>
    Edited by: Mike Pokraka on Oct 15, 2008 4:13 PM

    great work done in copy /paste all your functional requirement here.
    Now search and get a primer on ALE / IDOCs processing and start from there

  • Setting nedded for creation of Planned Order for Dependent Requirement.

    Hi PP Gurus,
    I have a one material for which I m running MRP which have three Components.
    I m using strategy 10 for FG and SFG also.
    When I m running MRP for FG the system is creation planned order for FG, but not for SFG even though no stock available for them.
    I m using lot size EX for all SFG.
    Please Help.
    Thanks in Advance.

    Dear ,
    You should maintain proper MRP related parameters for both FG and SFG.Check all the MMR parameters :
    1.MRP Type -PD for FG/SFG
    2.Procurement Type -E  for FG/SFG
    3.Planning Startegy -10  in FG
    4.BOM/Routing Explosion -Keep it Blank
    5.Indiviaul/Collective Indicator -not applicable as it is MTS  so keep it blank
    6.Validity of BOM /Routing should be corrcet before MRP run in MD02-NETCH , 2,1,3,3,2
    7.What is the Lot Sizing Set up-EX in OMI4-Scheduling Tab -Requirement date =Delievery Date and BOM Validity Date  .
    Ref .Re: MRP not plalned for dependent components
    8.Check in MRP4 -MRP Dept Requirement Parametre should be balnk for plalling the SFG  in MMR of FG -MM02
    I hope this issue may be with BOM explosion as per the validity and lot size -schedueling set up .
    Hope this will be useful
    Regards
    JH

  • Rounding of Decimal for dependent requirement During MRP Run

    Hello Experts,
    I have the following scenario:
    We are currently enabling Characteristic Based Planning in our system.
    Our one component is selected when two characteristic values are met through object dependencies.
    Ex: Component A = Char A= '002' and Char B ='002'
    Now we have given the following Usage Probability for the two characteristic:
    Char A = 20%
    Char B = 15%
    And the total PIR quantity is 25 Pcs for Configurable Header.
    With the above usage probability and PIR Qty, We have a dependent requirement of 0.75 Ea
    ((20% X 15%) of 25 Pcs) = 3% of 25 Pcs = 0.75 Ea of the component
    Now during MRP Run I want to round the dependent Requiremnet to 1 Ea instead of 0.75 Ea.
    Any suggestion towards the solution will be appreciated.
    Regards,
    Vinod

    Hi Vivek,
    As mentioned we are using Characteristic Based Planning.
    The component is selected based on a Selection comdition which is as follows:
    Component 721290201000 = $PARENT.BCS_RL_LINE_LOADER = '002' and $PARENT.BCS_RL_WAFER_VENDOR ='002'
    When the above two conditions are met the component is selected.
    In Characteristic Based Planning we give percentages (Usage Probabality) to the characteristic values like:
    $PARENT.BCS_RL_LINE_LOADER/'002' =20%
    $PARENT.BCS_RL_WAFER_VENDOR/'002'= 30%
    For the Parent which is a KMAT Material we maintain the PIR say 40 Qty.
    Now the component qty is calculated as follows:
    721290201000 =(20% X 30%) of 40 Qty of parent
    721290201000 =(6%) of 40 Qty of parent
    721290201000 = 2.4 Qty of component is the dependent req.
    Now my requirent is to round the dependent requirenment to 3 during MRP Run. Please note that the purchase requisition got from the above dependent requirement is rounded to 3 qty.
    Now I want to round the dependent requirement.
    Regards,
    Vinod

  • Need SMD function module for business partner in SRM

    Hi Gurus,
    I am looking for standard Master Idoc create SMD function module for business partner in SRM.
    I need to send an Idoc from SRM to ECC based on change pointers i.e. whenever a business partner is changed in SRM. So there are standard function modules *smd* available for other data but i am not able to find any FM for busienss partner.
    Please suggest if anyone has came accross such scenario.
    Thanks,
    Ravindra

    Got it

  • Function Module for RSAP001 requires Type Pool

    Hi
    I am not an ABAP Freak:
    I want to set up a Function Module for RSAP0001.
    Setting Import and / or Tables Parameters give an Activation error:
    Type pool SBIWA has not been declared
    Message no. FL031
    Diagnosis:
    You used a type from type pool & in the interface of a function module.
    Procedure:
    For the program to be syntactically correct, you must
    declare the type pool in the global data declaration of the
    function group using the 'TYPE-POOLS: &.' statement.
    Where do I  find the global data declaration of the
    function group ?
    Thank You
    Best Wishes
    Martin

    Hi Martin,
    When you click on the function group you will find many includes declared in it.
    Some of them will be Include L<fgrp>UXX and there will be one include,
    INCLUDE L<fgrp>TOP, this is the include in which you will have to make declarations, and here you will have to declare type pool.
    Simply goto transaction SE38 and the the program name as L<functionfroupname>TOP and you can directly change this include. 
    Regards,
    Durgesh.

  • Need a function module for fetching description of fields in a table

    Hi experts,
    I have a requirement where i need to fetch the descriptions of all the fields of a given database table.
    I am looking for a function module that gives the descriptions of a field. Please suggest a way.
    Points will be rewarded.
    Thanks in advance.

    Use FM DDIF_FIELDINFO_GET to get information about a field. Pass table name and Fieldname.
    Use FM DDIF_FIELDLABEL_GET if you need only the field label.
    Use FM DDIF_TABL_GET for getting information of all fields of a particular table.
    Regards,
    Lakshmi.
    Edited by: Santhanalakshmi V on Jun 11, 2008 5:26 PM

  • Need user-exit/BADI for my requirement in transaction CRMD_ORDER...

    Hello Experts,
    I was just given a development task under CRM module. The transaction that I would enhance
    would be CRMD_ORDER. What I need to do is that I need to check the customer class
    in table CRMM_BUT_FRG0041-classific if it falls under 09. If true, then search for the
    condition exclusion from the table PRCC_EXCL_PROC for a given combination and by checking the
    fields KAUGR1 and KUAGR2. If found, then bypass this exclusion for customer class 09 so that it will
    be given a trade discount and bypass the pricing procedure.
    Hope you can help me guys as I am fairly new to CRM module. Thank you and take care!

    Hi,
    You will have to put the required Logic there and test.
    But what I feel is you need to use IPC Pricing routines, which are assigned in the Pricing Procedure. They are java routines.
    According to my understanding, you will have to first check the customer class from table CRMM_BUT_FRG0041. If it is 09 than u read the condition exclusion groups, the condition type assigned and bypass it.
    Wish it helps.
    Regards,
    Shalini Chauhan

  • Need a function module for commit

    Hi Experts,
    I have a requirement of displaying a PO report in alv and when the user clicks the po it showed navigate to ME23N to display the PO.
    Here the user can go in change mode to change some details in po, and when he returns back, the report should show the changes in the PO.
    I am able to update the report once the user return back to the report from ME23N.
    But only thing is there is a lag(5 Secs) of updating the database table when the user saves the PO.
    So we need to commit once the user return to the report and then fetch the data from database.
    I tried to use the " Commit work Statement" but it does't update as early.
    can some one please telll me some commit Fucntion module which can update the ME23N related tables qiuckly.?
    Regards,
    Venkatesh.

    >
    kartik tarla wrote:
    > since the same answer is already given above there's no need to post again.
    Especially when that answer is wrong...
    As we talk about a standard transaction here, the COMMIT is included in the standard transaction, so it does not make any sense to do it once more in an FM, or directly in the ABAP program (not mentioning that the LUW is closed already, so there is nothing to commit...)
    On the other hand, the replies with WAIT UP TO ... are very strange, because now the time is 5 seconds, but next time it could be 7 seconds, who knows... this is not a stabile solution.
    The only reply is worth considering is the one from Thomas!

  • KDE 3.2.1 needs Qt 3.3.1 (dependency required)

    The kdeartwork-3.2.1-1 build requires Qt 3.3.1 to allow KDE to use the Plastik theme (and all the other not-built-in themes).
    kdeartwork depends on kdelibs, but, from my experience, KDE 3.2.1 works fine without Qt 3.3.1 (with 3.3.0, in my case).
    So, I can't actually say kdelibs should depend on Qt 3.3.1. I see it more like kdeartworks should depend on Qt 3.3.1, even though it does not look right. (There might be other packs compiled against 3.3.1 though)
    The KDE Requirement list (http://www.kde.org/info/requirements/3.2.php) says that KDE Requires Qt >=3.2.3. In my opinion, all the KDE packs should be built against the same Qt lib, and that lib should be set as a dependency for kdelibs.

    :-) thanx a lot
    kdemultimedia:
    i addopted kdemultimedia and arts a little (the dependences) ... maybe you have seen kaboodle should use xine-lib now right and also play movies (finally, but it must be compiled the right way and with the right xine (that is now in arch-repos))
    kmail/konqueror printing:
    is solved now and should work fine (2 kde bugs that had these subjects are closed for this release --- thanx kde-team)
    i18n:
    as you all maybe have seen, the i18n pkgs are not yet all ready --- es and fr (and maybe others) will not build, because they have some changes, that do not want to run if you use quanta, but i think if translated, then everything (also a quanta in right language), so i will have a look at them soon --- the others will follow step-by-step (=if i find some time, i will upload them ... they are ready, but i upload with 1-3kb/s :-( )

  • Need a Function Module for Week Calculation

    Dear Experts,
      I want a function module which calculate the week number.
      Suppose for date 04.05.2010
      week is 19...........
       i want to fetch through function module.
    i have already tried function module like GET_WEEK_INFO_BASED_ON_DATE & DATE_GET_WEEK
      throgh both function module output is come out is 18.
      but i need 19.
      when i pass 02.01.2010
    then it giving 53 week of 2009.
    plz. help me as soon as possible.
    Thanks,

    Jan 2 2010 was indeed 53rd week of 2009, so SAP FMs are returning right value. I would strongly recommend to consult your functional consultant before assuming Jan1 2010 as week 1 of 2010.
    [quote from wikipedia|http://en.wikipedia.org/wiki/ISO_8601#Week_dates]
    'If 1 January is on a Monday, Tuesday, Wednesday or Thursday, it is in week 01. If 1 January is on a Friday, Saturday or Sunday, it is in week 52 or 53 of the previous year (there is no week 00). 28 December is always in the last week of its year.'
    Regards,
    Pawan.
    Edited by: Pawan Kesari on May 4, 2010 4:56 PM

  • Need guidance selecting module for training

    hi friends,
    I have done my Bachelor of engineering in computers and after that i have worked as a developer in an MNC. After that i have done my MBA in Systems and IT.I had knowledge of ITIL project management but nothing majorly of marketing or finance .Now i am selecting in a big MNC where i am going to be trained on any one functional module of my choice from limited choice.
    Being a IT guy i am totally confused as to which module to select .I need some advice which module will be best suited for me.what is the current trend which module is in hot demand.I am sure i dont like FICO module but other than that all modules seem to be domain specific.
    Is there any module which will be useful for an IT guy.?
    please reply.and guide me...

    Its a million dolloar question which BILL GATES only can solve....!!!
    Learning functional module by training or books is just gaining theory knowledge. In order to understand various industry terminology and business processes either you should have worked in different industries or you get by experience.
    Wish you good luck....
    Regards,
    Jagadish

Maybe you are looking for