Reg:Background MRP Job

Hi friends,
i want to set background MRP job for my client.(Scenarion-MTO)
when they recieve the sales order then only the design people will prepare the BOM (TAKES 2 to 3 days to prepare BOM).
Now if the sales people create the sales order today..design people take 2-3 days to prepare BOM.
if i set daily MRP, the system wil genrate Planned order for incomplete BOM.
can we change the incomplete planned order BOM to our requirement...?
or is there any option in background tto restrict the creation of planned order for sales orders without complete BOM.
let me know.. thnx  for everyone.

Dear ,
It is possible , if you keep the Schedule Line Item categoery  in VA02-SCheudle lIne -CN-No MRP.
Or you can goto Reason for rejection option in Status field in VA02.
Just to add on that , in case of MTO cycle ,there are following steps :
1.Logging Enquiry for customer -VA11
2. You will logg Quotation-VA21 frist  and will carry out the Unit costing if you do not able to finalise the BOM till the design gets approved or customer finalise
3.Then you will logg sales order based on the approval from custmer with refernce to quatation .At that point , you will be having BOM and routing based on design  so that Sales Order will capatured the planned cost estimate .
4.Now , if you run MRP with out having any BOM , there will be any componenet planning execpt the header material .
But , if you have prepared you BOM after running MRP  frist time  and go back to sales order -VA02-Carry out Costing ( Sales Order -Extras -Costing -All green Flag )  and then finally realse the Dynamic credit check in vkm3  for next MRP run in MD02.
Here in the next time , you need to run MDO2-NETCH , 2,1,3,3 ( Delete and Re-create planning )  so that BOM will be updated with relevent planning of depedent .
Regards
JH

Similar Messages

  • Selection screen in background MRP

    Hi all,
    Can anyone please tell me what is the meaning of 'selection screen', in background MRP variant? What does it contains and what is its significance?
    Thanks in advance
    Sumeet

    Hi,
    In a variant there are several fields in the selection screen, the variant is saved with a set of these field values.
    In the case of MDBT, you can create several varinats for different materials or Plants and then execute those varinats whenver you need.
    Basically the varinat caoncept is associated with Back ground jobs and also user specific entries.
    Suppose every time you do not want to repeatedly enter the same field values , you can use these varinats.
    Reward if you like it.

  • How to change the user of a cancelled background (batch) job?

    Hi All,
    I have a batch job which is being cancelled as the reference user account is locked. I want to update the job with a new user.
    How can I change the user for a cancelled job? I am able to change the user for a scheduled job (by right clicking the job >> Change) but not for a cancelled job.
    I am getting the error: "<<Job Name>> cannot be changed due to its status" when trying to change the cancelled job.
    Please help.
    Thanks
    Vijay

    Hi Vijay,
    change the user of a cancelled background (batch) job
    1) Goto <b>SM37</b>
    2) Select the cancelled job and goto menu bar select <b>Job</b> )&#61664; click on change.
    3) Click on step tab
    4) Select the job and click on change tab. Change the user name and save.
    regards,
    kanthi

  • MRP Job taking more time

    Dear Folks,
    We run the MRP at MRP area level with total 72 plants..Normally this job takes 3 to 4 hour to complete...but suddenly since last two weeks it is taking more than 9 hours. with this delaying business is getting problem to send the scheudles at proper time and becomes critical issue.
    Now anybody have idea to check the root causes of this delay? And how to reduce the time... We have already processing this job with parallel processing.
    Reasonable answer will get full points.
    Regards
    TAJUDDIN

    Hi TAJUDDIN
    Unfortunately, I do not have any documents related to parallel processing.
    But I can explain how to do, So I hope following explanation help you.
    1. At first you need to check whether current parallel MRP works fine or not.
        To do this, please check MRP result in the spool.
         (In the last page of spool, you can see the result task use of each WP.
          To open last page of spool, just go to SM37 and find MRP job and then
          press spool button. Now you will see spool overview.  But before open
          spool please change page setting that you will see.
          <From the menu,  Goto=>Display request=>Setting> Then select last
          10 page.  By doing this operation, you can see last 10 page.
    2.In the button of the spool page, you will see task use of MRP.
       For example. if you use 2 application servers and each application server,
       if you assign 3 work process, you will see 6 task.
                             Number of calculated item   Runtime
       AP1 WP1        1000                                  30 min
       AP1 WP2        500                                     5  min
       AP1 WP3        200                                     3  min
       AP2 WP1        200                                     3  min
       AP2 WP2        200                                     3  min
       AP2 WP3        100                                     2  min
      In the log, if you observed above situation, this indicate unbalanced system use.
      (This situation occur depending on your BOM structure). So there is a possibility
      that dispatching system use more equally improve MRP performance.
      To do equal dispatch, you need to de-activate MRP package logic to  bottlneck
       Lowlevel code.(You can see bottlneck item in the spool.  So if you observe
       10 items belongs to lowlevel code 5, it is better to deactivate package logic
       for lowlevel code 5. Then for this lowlevel code, no package logic works and this
       bring to equal distribution of task use).
    The way to de-activate is described in SAP Note 568593  and 52033
       (Until 46C, you need to use modification <manual change coding>. From
        Enterprise, you can use BADI).
    Regarding on package logic, I recommned you to read SAP Note 52033
    (Depending on runtime of former task, MRP combine several item into 1 package.
    So if task 1 finish previous MRP around 60 sec, next MRP for this task will contain
      more material <package comes to contain more material>. But if bottlneck items
      are put in togather in 1 package, this task 1 might take more longer time
      cpmpared to others.  And MRP calculation occur low level code by low level
      code. So if this task 1 does not finish calculation < other task already finish
      MRP calculation>, other task cannot start MRP for next lowlevel. So other task
      have to wait until task 1 finish his MRP.  Due to this, you will see big task usage
      and runtime difference in spool).
    But this behavior depend on BOM structure. So you also have possibility not to see
    this behavior in your spool. In this case, no necessity to consider balancing..
    I hope this help you.
    best regards
    Keiji

  • Parallel processing in background using Job scheduling...

    (Note: Please understand my question completely before redirecting me to parallel processing links in sdn. I hve gone through most of them.)
    Hi ABAP Gurus,
    I have read a bit till now about parallel processing. But I have a doubt.
    I am working on data transfer of around 5 million accounting records from lagacy to R/3 using Batch input recording.
    Now if these all records reside in one flat file and if I then process that flat file in my batch input program, I guess it will take days to do it. So my boss suggested
    to use parallel processing in SAP.
    Now, from the SDN threads, it seems that we have to create a Remote enabled function module for it and stuf....
    But I have a different idea. I thought to dividE these 5 million records in 10 flat files instead of just one and then to run the Custom BDC program with 10 instances which will process 10 flat files in background using Job scheduling.
    Can this be also called parallel processing ?
    Please let me know if this sounds wise to you guys...
    Regards,
    Tushar.

    Thanks for your reply...
    So what do you suggest how can I use Parallel procesisng for transferring 5 million records which is present in one flat file using custom BDC.?
    I am posting my custom BDC code for million record transfer as follows (This code is for creation of material master using BDC.)
    report ZMMI_MATERIAL_MASTER_TEST
          no standard page heading line-size 255.
    include bdcrecx1.
    parameters: dataset(132) lower case default
                                 '/tmp/testmatfile.txt'.
       DO NOT CHANGE - the generated data section - DO NOT CHANGE    ***
      If it is nessesary to change the data section use the rules:
      1.) Each definition of a field exists of two lines
      2.) The first line shows exactly the comment
          '* data element: ' followed with the data element
          which describes the field.
          If you don't have a data element use the
          comment without a data element name
      3.) The second line shows the fieldname of the
          structure, the fieldname must consist of
          a fieldname and optional the character '_' and
          three numbers and the field length in brackets
      4.) Each field must be type C.
    Generated data section with specific formatting - DO NOT CHANGE  ***
    data: begin of record,
    data element: MATNR
           MATNR_001(018),
    data element: MBRSH
           MBRSH_002(001),
    data element: MTART
           MTART_003(004),
    data element: XFELD
           KZSEL_01_004(001),
    data element: MAKTX
           MAKTX_005(040),
    data element: MEINS
           MEINS_006(003),
    data element: MATKL
           MATKL_007(009),
    data element: BISMT
           BISMT_008(018),
    data element: EXTWG
           EXTWG_009(018),
    data element: SPART
           SPART_010(002),
    data element: PRODH_D
           PRDHA_011(018),
    data element: MTPOS_MARA
           MTPOS_MARA_012(004),
         end of record.
    data: lw_record(200).
    End generated data section ***
    data: begin of t_data occurs 0,
          matnr(18),
          mbrsh(1),
          mtart(4),
          maktx(40),
          meins(3),
          matkl(9),
          bismt(18),
          extwg(18),
          spart(2),
          prdha(18),
          MTPOS_MARA(4),
        end of t_data.
    start-of-selection.
    perform open_dataset using dataset.
    perform open_group.
    do.
    *read dataset dataset into record.
    read dataset dataset into lw_record.
    if sy-subrc eq 0.
    clear t_data.
    split lw_record
       at ','
    into t_data-matnr
          t_data-mbrsh
          t_data-mtart
          t_data-maktx
          t_data-meins
          t_data-matkl
          t_data-bismt
          t_data-extwg
          t_data-spart
          t_data-prdha
          t_data-MTPOS_MARA.
    append t_data.
    else.
    exit.
    endif.
    enddo.
    loop at t_data.
    *if sy-subrc <> 0. exit. endif.
    perform bdc_dynpro      using 'SAPLMGMM' '0060'.
    perform bdc_field       using 'BDC_CURSOR'
                                 'RMMG1-MATNR'.
    perform bdc_field       using 'BDC_OKCODE'
                                 '=AUSW'.
    perform bdc_field       using 'RMMG1-MATNR'
                                 t_data-MATNR.
    perform bdc_field       using 'RMMG1-MBRSH'
                                 t_data-MBRSH.
    perform bdc_field       using 'RMMG1-MTART'
                                 t_data-MTART.
    perform bdc_dynpro      using 'SAPLMGMM' '0070'.
    perform bdc_field       using 'BDC_CURSOR'
                                 'MSICHTAUSW-DYTXT(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                 '=ENTR'.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(01)'
                                 'X'.
    perform bdc_dynpro      using 'SAPLMGMM' '4004'.
    perform bdc_field       using 'BDC_OKCODE'
                                 '/00'.
    perform bdc_field       using 'MAKT-MAKTX'
                                 t_data-MAKTX.
    perform bdc_field       using 'BDC_CURSOR'
                                 'MARA-PRDHA'.
    perform bdc_field       using 'MARA-MEINS'
                                 t_data-MEINS.
    perform bdc_field       using 'MARA-MATKL'
                                 t_data-MATKL.
    perform bdc_field       using 'MARA-BISMT'
                                 t_data-BISMT.
    perform bdc_field       using 'MARA-EXTWG'
                                 t_data-EXTWG.
    perform bdc_field       using 'MARA-SPART'
                                 t_data-SPART.
    perform bdc_field       using 'MARA-PRDHA'
                                 t_data-PRDHA.
    perform bdc_field       using 'MARA-MTPOS_MARA'
                                 t_data-MTPOS_MARA.
    perform bdc_dynpro      using 'SAPLSPO1' '0300'.
    perform bdc_field       using 'BDC_OKCODE'
                                 '=YES'.
    perform bdc_transaction using 'MM01'.
    endloop.
    *enddo.
    perform close_group.
    perform close_dataset using dataset.

  • MRP job takes more time (Duration / Sec)

    Hello PP Guru’s,
    I have below situation in production environment,
    MRP job for plant – A (Takes more time – 14.650)
    MRP job for plant – B (Takes less time – 4.512)
    When I compare the variant / attributes with plant A and B, I observe only difference in attribute is scheduling (2 - Lead Time Scheduling and Capacity Planning) for plant A.
    For plant B scheduling (1- Determination of Basic Dates for Planned) it was updated.
    So in my observation this scheduling is playing a major role for MRB job which takes more time in plant – A.
    I am in process of changing the variant attribute for plant – A from scheduling 2 to scheduling 1.
    I wanted to know from experts whether if I change any impact / problem will happen in future for plant A or not.
    Please let me know what all the hidden impacts are there if I change the scheduling in variant attribute.
    I look forward to your valuable input to reduce time for my MRP related job.
    Regards,
    Kumar S

    Hi Kumar,
    You have no need to change the inhouse production time you just need to update the Lot size dependent  inhouse production time in work scheduling view of material master. That you can do by scheduling the routing/recipe.
    Transactions CA97 or CA97N can be used to update the in-house production time with the information from the routing.
    If business don't want to have the capacity planning for planned orders then you change the scheduling from 2 to 1 basic date scheduling.
    Expert Caetano already answer you query
    The reports listed below can be used to compare the MRP past executions regarding the runtime:
    RMMDMONI: This report compares the runtime of the MRP execution and also provides the total of planning elements (planned orders, purchase requisitions, etc) changed, created or deleted. It also shows which planning parameters where used and how much time MRP spent on each step (database read, BOM explosion, MRP calculation, scheduling, BAdIs, etc). With this information is possible to observe the relation of runtime and number of elements changed/created/deleted and also to see on which step MRP is taking more time.
    RMMDPERF: This report shows the "material hit list", that means, which materials had the highest runtime during the MRP execution and also on which step MRP is taking more time. Knowing which materials have the highest runtime, allow you to isolate the problem and reproduce it on MD03, where it is possible to run an ABAP or SQL trace for a more detailed analysis.
    Regards,
    R.Brahmankar

  • Debugging of background scheduled job

    Hi guys,
    Can any one explain me 1 scenario why there is a need to debug background scheduled job..., rather then doing in background we can run the same job/report online and do normal debugging.
    thx in advance,
    Cheers,
    Harish

    Hi ARPAN,
    as long as the job is running, you can enter debuuger from SM50 process overview (program->debug) or SM37 Job Overview (Job->catch active Job).
    And to the initial question: Some messages are configured to be created when saving document (e.g. sales invoice). This will trigger a background process. If something goes wrong with smartform or sapscript form, it will cause an update error. This you may need to debug in background.
    Regards,
    Clemens

  • MRP Job not picking 'few materials'

    Hello,
    I am facing strange issue. We have been  running MRP daily job (since July09) for few MRP controllers.
    We have found that system is not selecting 'few materials'...
    One of the mateial ABC has not been selected since 29th Aug and other XYZ since 2nd of Sept...
    But User has converted the Planned order to PR on 2nd and 3rd Sept respectively....
    Whereas when I displays the results for MRP run (MD03)for these materials it does shows the PR.
    But MRP job does not picks these....
    Even I changed the 'processing indicator' 'ON' but it did not work.
    Please suggest any possible causes.
    kind regards,
    JPS

    Hello DB49,
    I did run MDAB then MDRE and then MRP run for MRP controller ;Material belongs to...
    But No results; MRP run did not pick the ABC material.
    Even I have set the 'display list' parameter during MRP run but it did not pick material in question....
    Any Idea, When I try to create planning file manually MD20.....
    And select any of the 'check box' it says "The material ABC has been marked for the MRP run"
    Please suggest...
    ======================MDAB=============================
    Number of set planning file entries:          0                              
    =======================MDRE===================
    Plng file entries for operational planning run:                       
    No. of deleted panning file entries:          0                                                                               
    Planning file entries for long-term planning:                                                                               
    Complete statistics:                                                  
    Plng file entries for operational planning run:                       
    No. of deleted or changed planning file entries:          0                                                                               
    Planning file entries for long-term planning:                         
    No. of deleted or changed planning file entries:          0                                                                               
    ==================MRP run for (MRP controller; Material belongs to)====================
    regards,
    JPS
    Edited by: Bhatti JPS on Sep 10, 2009 9:30 AM

  • How to set a  Executable ABAP  Program to run as a Background Batch Job

    Hi
    Currently  I had a Executable ABAP  Program which when executed prompts for user to enter selection once entered and executed it will delete user entered selections from a Table.
    Now my requirment is to enhance that program to run it as a BACKGROUND BATCH JOB so that there will be an entry in SM37 when the program is executed
    How can i achieve this

    Hi,
    Please refer this link .
    It has the steps.
    http://sapient.wordpress.com/2007/06/19/how-do-you-set-up-background-jobs-in-sap/
    Regards,
    SuryaD.

  • Reg:Background jobs are failing with out logs

    Hi Team,
    When i ran sm65 transaction in production i got the output.
      Test: Database table consistency test
         ==>  Inconsistent step no. for following job(s):
             ACS_SAP_HR                      14525701
             ACS_SAP_HR                      14525702
             ACS_SAP_HR                      14525801
             AUTO_SESSION_MANAGER            22091204
             AUTO_SESSION_MANAGER            22091301
             AUTO_SESSION_MANAGER            22132501
             EU_PUT                          19060603
             EU_REORG                        18180604
             OPEN_ENROLLMENT_SEND_EMAIL      15145305
             OPEN_ENROLLMENT_SEND_EMAIL      18301801
             RPTIME00                        22000822
             RSUVM008                        14330102
             SEND_INET_EMAIL                 08082001
    Can you please let me know how to proceed further.
    Thanks & Regards,
    Deve

    check this might help you
    http://mailman.mit.edu/pipermail/sap-wug/2005-July/018391.html
    Note 581692 - Apparently inconsistent job data - incorrect stepcount
    Note 1272015 - Jobs with empty job names or job count
    Note 37104 - Error analysis: Background processing system
    Edited by: Bhudev on May 22, 2009 6:22 AM

  • Reg Background job execution

    Hi gurus,
    I have a doubt in back ground job processing...We have a job which runs for very long time (archiving job). I want that job to run from Sunday morning to evening 6PM again I need to run the same job next sunday morning to evening continuing from previous week stop point.
    My question , there is a option in SM37 to STOP the job. If I stop the job and then resume back the same job, will it continue from the point where it stopped?
    Is there any way to execute the background job like above scenario. I know it can be done by 3rd party tool, but I want to do the same from R/3
    Vinodh

    Hi Vinodh,
    In later versions of SAP (from Enterprise version if iam not wrong), you can interrupt the archive job and continue later. This is not the feature of background processing, but the archiving job itself.
    Interruption is possible on basis of duration of the job and size of archive file. See the following link which details the mentioned feature; go to The Archive Development Kit and see the topic Interrupting and Continuing Archive Sessions:
    http://help.sap.com/saphelp_47x200/helpdata/en/6d/56a06a463411d189000000e8323d3a/frameset.htm
    Hope this helps to work towards the solution of your problem.
    Regards,
    Naveen

  • Reg Background Jobs

    Hi,
      I have scheduled a background job which have three steps. The first step is a zprogram and the second is standard program to generate sessions and the last step is to execute that session in background.
    The problem i m getting, when there are no records in the first step, it is going to the second step and getting cancelled.
    How can I come out of the other two steps in the job, when there are no records.
    Regards,
    Ramesh.

    Hi Jelena,
    The best option is to create 2 background jobs instead of 3.
    The first job as the Z program,write a Submit to the SAP standard  program from the first one only when there are records in the first one and create the 3rd as the second background job.
    I hope I have tried to answer to the best of my knowledge.
    In case you have any further queries,please let me know.
    Regards,
    Puneet Jhari.

  • Reg : Background job

    Hi Guru's
    I am sending IDOC from R/3 System to APO System.when idoc reached APO system.its triggers immediately and creating one file in application server(APO).sometimes this process makes more than 10 to 15 hours so user dont know whether is executing or failed. so i gave one soltion to user that is creating background job while idoc is executing when its idoc is processed then the background job also shows that finished..i dont know how to write this background job code in IDOC function module and also i dont know its possible in IDOC. i dont have knowledge in IDOC..Please helpme on this issue.
    anybody helpme on this issue.????
    Regards
    P.Senthil Kumar

    Hi,
    You have not to write Back Ground Code in FM of IDOC.
    To Process Idoc in Back Ground do following Step
    Go to T-CODE We20
    Select Partner
    Double Click on any IDOC Message type in Outbound Parameter like INVOIC
    In Outbound Options Tab, at Output Mode select Collect Idoc Radio Button.
    For Inbound parameterDouble Click on any Message type.
    Select Trigger by BackGround Program Radio Button
    Please use T-code SM36 to schedule program which process Idoc.
    The Program used is,
    RSEOUT00 : For Processing 30 Status IDocs For outbound Idoc
    RBDAPP01 : For Processing 64 Status IDocs For Inbound Idocs
    T-code BD87
    To Refer more about IDOC,
    https://wiki.sdn.sap.com/wiki/display/ABAP/ALE%2CIDOC
    https://wiki.sdn.sap.com/wiki/display/ABAP/ALE+IDOCS
    Thanks & Regards,
    ShreeMohan
    Thanks & Regards,
    ShreeMohan

  • Reg Background Job Notifications

    Hi,
    I wanna add a user email id for background job failure notifications. How do I do that.
    Thanks
    NM

    Hi,
    You can create a Custom program, which will pick the Jobs which have failed and then send the information through EMAIL.
    Check the following link.
    http://jplamontre.free.fr/SAP/Send%20background%20job%20failure%20alerts%20by%20email.htm
    Also go through this link. It might be useful
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/97d2e8b3-0b01-0010-b787-b8ce558a51c2
    Regards,
    Aj
    Reward points if useful
    Message was edited by:
            Abhishek Jolly

  • Reg : background job error

    hi,
    i have scheduled a job  in batch mode.
    the job is cancelled and got a error message saying that
    "Job cancelled after system exception ERROR_MESSAGE ".
    Can you please tell me what would be the problem??
    regards
    ravi

    hi actually my task is to find out why this error has occured.
    when i seee the prgs related to this job , i got two and in those no error msgs related to the error which i am getting is there.
    just they have given the screeen shot and said it is a prod issue. i dont know whether i can debug in production for this job,,
    can i debug the job as u said like typing in command line as jdbg??????????
    its an urgent one .. plz help me out

Maybe you are looking for

  • Calendar Month View Today in the middle of the screen

         I use the Month View on Calendar 7.0  app all the time.  When I click on Today button it brings today to the center of the screen.  This means when I want to see today and forward, I am forced to see the three prior weeks and then have to scroll

  • Strange error in mapping test: Structure with min!=max without mapping

    Hi, a very simple mapping: flatfile 2 Idoc. in mapping test I'm trying to test it. but I get always a strange error warning: 11:25:12 Teststart Mapping-Objekt MM_XXXXX2WGSREQ is not completely designed. The execution is impossible. Structure with min

  • Column name in the database starts with a number!

    Hello, Recently we updated out database and we changed our tables' and columns' names, I'm developing an adf application with EJB3.0 the question is that the new column names start with a number (eg. 001U_ID), its a kind of encoding the names of the

  • S_PROJECTS auth object

    I am trying to create a role for IMG display access only I made ACTVT in all the Auth objects "03" or "display" but in S_PROJECTS auth object, in "activity" there is no "display" , how do I make ACTVT in S_PROJECTS object "display" Thanks Message was

  • Command that should be sent to pen drive to detect using labview

    hi, I want to access my pen drive in Lab view 8.5.I tried it using VISA Read/ Write Functions.But i dont know what commnd i should send  to it so as to get reply. (I used *IDN?.....din't work)I know that PC communicates with USB device using commands