Program to firm P req

Hi :
is there any standard program in  APO which can firm purchase requisition automatically .Please suggest

Hi Shyam,
I am not sure what logic are you "automatic" looking logic are you looking at since you have not specified any condition that you may want to fulfill.
however you want to explore the functionality of ''fix stock transfer' in the product master which automatically firms the stock STRs/Preqs once the receipts come within the stock transfer horizon.
Again, if this does not satisfy the requirement that you are looking at, could you please elaborate on the logic that you are looking at for automatic firming of your purchase requistions.
Rgds, Sandeep

Similar Messages

  • Auto Firming Purchase Reqs.

    Hi Gurus,
    I am doing an MRP run and within the Planning Horizon i am getting a Purchase Requsitions created outside of it there is a planned order getting created.
    In the Master Data i have the Planning Time Fence and MRP Type P1 , but i dont see the Purchase Requisition being firmed automatically , is it possible for some one of you throw some light on it.
    Thanks
    Balaji

    Hello Jurgen,
    Please can you help me in one more functionality. I am uploading the Planned Independent requirements on a Monthly bucket into the MD62 transaction. But i need it to be splitted into Weekly buckets uniformly , i know if we go to the schedule line tab and select the splitting indicator option and enter it as Week ( W) it splits up equally. But this approach can be done if its only one to 10  material.
    How can i get it covert 1000 materials which are loaded into the monthly buckets into a Weekly buckets in click. Is there is any Master Data which can help in doing that. The Splitting Indicator in the MRP view will help to do this ? pleasecan you give ur expert advise.
    Thanks
    Balaji

  • MD04, Firming Indicator (urgent)

    Hi All,
    In MD04, i see a '' next to a purchase requisition, indicating it has been firmed by the system. I would like to know in which table i can get information for all materials having this '' for a given plant. I tried joining the tables MARD & MDTB, but the field FIX01, is not showing the data. Kindly let me know the field & the table i will get this information from. Hope my problem is clear, look forward for your inputs.
    Vivek

    Vivek,
    I understand what you are saying. I am not an MRP expert but I will give it a shot.
    The * (firmed indicator checked) that you see next to the purchase requisition in MD04 is not actually stored in any table. This is a structure field (MDPS-FIX01) and is updated when the MD04 (stock requirements list) program is called. The * next to the purchase requisition (or planned order for that matter) indicates that the purchase requisition is firmed as far as MRP is concerned (meaning that MRP CANNOT change this requisition, the 'firming' functionality is built to prevent undesired deletion of your purchase requisitions/planned orders by MRP).
    Now, the interesting question is how the firmed indicator (*) is actually set in MD04 next to the purchase requisition and what is its relation to the 'fixed indicator' in the purchase requisition (EBAN-FIXKZ). The 'firmed indicator' flag in MD04 is automatically set in the following cases -
    - When you create a purchase requisition manually (EBAN-ESTKZ = 'R') using ME51N, it is treated as firmed as far as MRP is concerned. Note that in this case even if you have NOT flagged the 'fixed indicator' (EBAN-FIXKZ) in the requisition, the 'firmed indicator' is flagged in MD04. This may very well be the reason why you are seeing purchase requisitions with a * next to them in MD04 but you don't find these in EBAN with the 'fixed indicator' set. I don't think you retreive this information by querying any table. You can have an APAPer debug how this 'firmed indicator' flag is actually set in MD04 but I would think the EBAN-ESTKZ drives it in this case. As a side note, I would suggest you a take a look at function module MD_STOCK_REQUIREMENTS_LIST_API.
    - The 'fixed indicator' (EBAN-FIXKZ) in the purchase requisition is manually flagged by users in ME52N or programmatically flagged which will in turn trigger the 'firmed indicator' flag in the MD04 program.
    - The purchase requisition is manually changed in ME52N or programmatically changed (say you change the qty, delivery date, p.org, sloc etc).
    - You have converted the purchase requisition into an RFQ or a PO either for the full or partial quantity.
    - The 'fixed for MRP' or the 'firmed for req. planning' indicator has been set in the release indicator for your purchase requisition release strategy. This way, you prevent MRP from accidentally deleting purchase requisitions that have already been released by someone. 
    The 'fixed indicator' (EBAN-FIXKZ) is automatically set in the above 3 cases which in turn will trigger the 'firmed indicator' to be set in the MD04 program.
    I am pretty sure I have not covered all the cases but I am done for now:)
    Hope this helps.
    H Narayan

  • MSCFNSCW Firm Checkbox for Purchase Requisitions Question

    A customer upgraded from 11.0 to release 11.5 and uses internal purchase requisitions.
    Currently, they can firm planned orders and they stay firm between plan runs; but the purchase requisitions appear in the Supply screen with the "firm" checkbox unchecked.
    How can they get these requisitions created from the firm planned orders to appear in ASCP as firm internal requisitions?
    See:
    https://gtcr.oracle.com/gtcr-dir/gtcr_1740725641/6699499.993/SR_6699499.993_test_5122747.doc

    Have you tried the profile option MRP: Firm Internal Req Transferred to OE

  • Exception message 26, (only warnning not an error mesage).

    Dear Experts
    my environment is MTO, which generates a huge number of production orders daily with a big number of exception messages which some times are not enough to adopt the PP activities on the system,
    in the case of  (Procurement type:X) which the planned order for a HALB or FERT, material can be produced internally or procured externally, i can partially convert a part of the total quantity into a production order or a purchase requisition  and so the remaining qty,  into any of the both procurement proposals.
    now if the total quantities of the partially converted production orders and purchase requisition, is exceeding than the planned order qty, i am getting the exception message 26, (only warnning not an error mesage).
    my requirement: i want the system to restrict users to covert the planned order into a production order or a purchase requisition if the total quantities of all the partially converted production orders and purchase requisitions are exceeding more than the original planned order quantity.
    Example:
    planned order qty, is 10 EA, if i convert a qty, of 3 EA into a partial production order and another qty, with 4 EA into a purchase requisition,
    system must restrict me to convert the remaining qty, into a production order or a purchase requisition  if i changed the qty, to a qty, exceeds more than 3 EA.
    Thanks in advance.

    Ahmed,
    Exception message 26 is neither a warning nor an error.  It is an alert that a certain business condition exists (excess stock in a segment).  The general rule for exceptions is that it is up to the planner to determine the significance, and to use your company's business rules to react accordingly.
    The solution to your stated requirement does not exist in standard SAP.  To me, it makes no sense to lock the system down in this way.  Message 26 can come from overconversion, but it can also come if the requirements are reduced.
    If you still feel that this functionality must be implemented, I would suggest this partial solution, that uses standard functionality.  Have your planners perform only the conversions of the plndords to firmed purchase reqs, for a given time frame, all at one time, and decline to convert the remaining balances to production orders. Then, re-run MRP with delete/recreate.  This will create planned orders for exactly the balance(s) required.  Then, you could immediately use the standard mass program to convert the 'balance' Planned orders to Production orders.  The mass conversion could be the second step of an auxiliary MRP job.
    If you insist that the requirements must be met using the method you indicated above, then it implies that every program that could be used to convert a PlndOrd to something else must be modified.  I don't think I would attempt this unless there were no other possibilities.
    Best Regards,
    DB49

  • Multiple production orders  are generated for same requirement

    hello guru's
    For a MTO (make to Order) scenario, where the Material requirement quantities are generated from Sales Orders.
    Ex: Sales Order created for 500 Qty.
    I had run the MRP using MD03 with the following parameters
    Processing key              NETCH      Net Change in Total Horizon
    Create purchase req.     1                  Purchase requisitions in opening period
    Delivery schedules       3                  Schedule lines
    Create MRP list            1                  MRP list
    Planning mode              1                  Adapt planning data (normal mode)
    Scheduling                    1                  Determination of Basic Dates for Planned
    System had generated Planned Orders for Qty 500 and these are converted to Production order for Qty 500 for which the Purchase Order for 500 are created.
    Goods receipt of 480 has been made against the Purchase Order for the Ordered 500 Qty.
    When I re-run the MD03 the system is generating the new Production Order Qty 0f 20 which is not supposed to be as this 20 Qty was already part of the existing Purchase Order and yet to be delivered .
    Could you please explain me why this is happening?
    regards

    Dear,
    MRP will consider the firmed PR for the completion date contained in the PR. If the requirements date is different, then MRP will create a new proposal (PR).
    If you wish for MRP to RESCHEDULE the dates of existing firmed purchase reqs, instead of just creating new proposals, you have to set the Rescheduling horizon. OPPQ> Rescheduling (plant) or OPPR >Recheduling Horizon (MRP Groups). Start with a small horizon,  Also check the tick mark for firm reciept there.
    Are you getting any expection message in front of PR?
    MRP will 'assume' rescheduling by configuration, by managing the rescheduling horizon, and by setting the rescheduling tolerances. These config can be found in
    OPPQ select Rescheduling
    or, for MRP groups
    Please check and come back.
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/f4/7d2c9744af11d182b40000e829fbfe/frameset.htm
    Regards,
    R.Brahmankar

  • Automate PO creation through EDI

    Hi experts,
    Please clarify me on the setup of creating PO's thru EDI in Purchasing automatically once PR is created in the system.
    My client is more or less a trading company. They buy from vendor & sell to their customer, like third party order process.
    So they create Sales Order & then PReq is created through ME57 & then they create PO through ME59.
    They want to create PO's automatically thru EDI as this can speed up the process so as the vendor is also looking for creating SO in their BaaN system automatically.
    I have configured the EDI setup for creating PO manually, meaning when I create manual PO the idoc xml file is ready for transfer.
    But I am looking for the steps so that once they create the PReq, EDI should automatically create PO in SAP & the idoc should be ready for transfer.
    Please suggest if this can be done thru any BAPI or BDC programs.
    Thanks in advance !
    Pri

    In the program after the pur. req. created, find user exit and check the BAPI_PO_CREATE1. Configure the ALE setting for PO IDoc creation or XML creation..
    Thanks,
    krishna

  • IDOC: table relating

    Hi!
    Does anyone know how which table/structure gives me a relation between a message from a SD-delivery (that creates an IDOC) and the IDOC number created?
    In an SD-delivery a message is determined. The message creates an IDOC. I need a table/structure that gives me the relation between delivery number and IDOC created.
    Thanks in advance,
    F

    Hi..
    This program will server ur Req:  Slight changes may be needed...
    REPORT  ZSELIDOCS                                                   .
    tables:edid4,edidc,likp.
    *likp
    types:begin of ty_likp,
    vbeln type VBELN_VL,
    end of ty_likp.
    data:it_likp type table of ty_likp,
    wa_likp type ty_likp.
    *edid4
    types:begin of ty_edid4,
    DOCNUM type EDI_DOCNUM,
    SEGNAM type EDI_SEGNAM,
    sdata type EDI_SDATA,
    end of ty_edid4.
    data:it_edid4 type table of ty_edid4,
    wa_edid4 type ty_edid4.
    *edidc
    types:begin of ty_edidc,
    DOCNUM type EDI_DOCNUM,
    MESTYP type EDI_MESTYP,
    IDOCTP type EDI_IDOCTP,
    end of ty_edidc.
    data:it_edidc type table of ty_edidc,
    wa_edidc type ty_edidc.
    *final
    types:begin of ty_final,
    vbeln type vbeln_va,
    docnum type edi_docnum,
    sdata(10) Type C,
    MESTYP type EDI_MESTYP,
    IDOCTP type EDI_IDOCTP,
    end of ty_final.
    data:it_final type table of ty_final,
    wa_final type ty_final.
    parameters:s_vbeln like likp-vbeln.
    start-of-selection.
    select vbeln from likp into table it_likp where vbeln = s_vbeln.
    if sy-subrc = 0.
    select DOCNUM
    mestyp
    idoctp
    from
    edidc into table it_edidc
    where mestyp = 'DESADV'
    AND IDOCTP = 'DELVRY03'.
    if not it_edidc is initial.
    SELECT DOCNUM SEGNAM sdata from edid4 into table it_edid4 for all
    entries in it_edidc where docnum = it_edidc-docnum
                                      AND SEGNAM = 'E1EDL20'.
    endif.
    endif.
    clear it_final.
    loop at it_likp into wa_likp.
    read table it_edid4 into wa_edid4 with key sdata+0(10) = wa_likp-vbeln.
    IF SY-SUBRC = 0.
    move: wa_edid4-sdata+0(10) to wa_final-sdata,
    wa_edid4-docnum to wa_final-docnum.
    move wa_likp-vbeln to wa_final-vbeln.
       append wa_final to it_final.
       CLEAR WA_FINAL.
    ENDIF.
    endloop.
    loop at it_final into wa_final.
    write:/ wa_final-vbeln,
    wa_final-docnum,'|',
    wa_final-sdata.
    endloop.
    <b>Reward if Helpful</b>

  • MRP Settings

    Hi Guru,
    Please can one of you say guide me how can i control the deletion and recreation of the Purchase Requisitions during the MRP Run. I know its standard in SAP , but not sure where to control this setting.
    1. How Generally the Firming of the Requisitions can be done so that the MRP Run doesnt delete the reqs which are firmed.
    2. I want the MRP to delete the older reqs and recreate new ones whichever are not firmed during a new run.
    where exactly Opening Period has been used in this process?
    Thanks in Advance.
    Thanks
    Balaji

    Q. i need to do to have a automatic firming of reqs once the requisitions fall within the Lead time.
    Ans : for this you would set MRP parameters as follows in Material master MRP1 view
    MRP type : P1 (instead of PD)
    Planning time fence : Lead time
    So for example if lead time is 30 days & you have settings as above. then when you have requirements within next  Planning time fence system will automatically firm such planned orders/ PR's
    Q. Planning Horizon and Opening Period comes into use?
    You define the planning horizon per plant or per MRP group in Customizing for MRP in the IMG activity Define planning horizon.
    You can use the planning horizon to shorten the MRP planning run to cover requirements only within a certain timeframe.  The system then only plans materials that have undergone a change relevant to MRP within the planning horizon.
    Ex: Set PH at plant level - 120 days. When plant MRP run ( typically at night as a batch job) it will generate planned orders/ PR only upto 120 days. For requirements beyond 120 days, It is ignored. this helps save time for MRP runs.
    Opening Period is generally used when you want to limit purchase requisitions from being created within a certain period. Outside the opening period system will generate planned orders. Within the Opening period system will generate Purchase requisition (PR)
    Hope this answers your remainig questions.
    thanks,
    Ram

  • HOW TO BLOCK THE DELIVERY IF CONTACT-DATE = SYSTEM DATE.

    HI ALL,
    in va02 transaction, after entering some order number, u will go inside. after going inside, goto GOTO-HEADER-PURCHASE ORDER DATA.
    THEN, IN THAT PURCHASE ORDER DATA TAB, A LAST CONTACT DATE FIELD IS THERE. NOW, THE ISSUE IS, IF THIS LAST CONTACT DATE IS GREATER THAN  OR EQUAL TO SYSTEM DATE, THEN THE DELIVERY SHOULD BE BLOCKED AND ALSO , IN SHIPPING TAB THERE IS DELIVERY BLOCK FIELD. THIS FIELD SHOULD BE SET TO VALUE JITS DELIVERY. FOR THIS I WAS TOLD TO WRITE THE CODE IN THE ROUTINE  , BY GOING TO VOFM - TRANSACTION . IN THIS TRANSACTION, I HAVE TO CLICK ON THE COPYING REQUIREMENTS MENU AND THEN CLICK ON DELIVERIES AND THEN GIVING THE VALUE AS 911 FOR ROUTINE NUMBER COLUMN AND ALSO MENTIONING SOME TEXT IN THE DESCRIPTION COLUMN AND THEN SAVE AND WHILE SAVING THEN IT WILL ASK THE ACCESS KEY, THEN I WILL MENTION THE PROVIDED ACCESS KEY AND THEN I HAVE TO WRITE THE ROUTINE.
    NOW, MY EXACT ISSUE IS HOW TO WRITE THE CODE IN THE ROUTINE TO BLOCK THE DELIVERY ,IF THE LAST CONTACT DATE IS GREATER THAN OR EQUAL TO SYSTEM DATE AND UPDATING THE DELIVERY BLOCK FIELD IN SHIPPING TAB TO JITSDELIVERY.
    NOW, WHERE I AM STUCK UP IS HOW TO WRITE THE CODE TO BLOCK THE DELIVERY.
    IF ANY PART IS UNCLEAR, PLZ REPLY ME SO THAT I CAN MAKE IT MORE CLEAR.
    THIS IS THE CURRENT AND URGENT REQUIREMENT I HAVE TO SOLVE. PLZ MAKE ME KNOW THE SOLUTION  AS SOON AS POSSIBLE.POINTS WILL BE AWARDED.
    THANKING U IN ADVANCE,
    SRINIVAS.

    Hi,
    Who advised you to write the Routine for this requirement?
    Can't this be achieved by writing some user exit code in MV45AFZZ  of Sales order main program SAPMV45A  as this req is related to Sales order.
    I feel this can be achieved via this. Try this first at the header level ( in the correct form).
    If at all you wants to write the code in Routines goto VOFM tcode and select the routine.
    First try to copy the code what was written in the similar existing routine and take the access key and write the same code and modify as per your requirements.
    Most of the times we handle the sy-subrc value in this routines.
    reward if useful
    regards,
    anji

  • Internal Transfer, BOD, Planning Time Fence and ASCP Reschedule suggestion

    Hi,
    we've an ASCP plan with 5 ORG. We've many items with BOD like this one:
    BOD of ITEM X:
    ORG 1 BUY
    ORG 2 TRANSFER FROM ORG 1
    ORG 3 TRANSFER FROM ORG 1
    Using this rule, we set PLANNING TIME FENCE for Buy items, at about 0,7 * LEAD TIME (from the approved supplier list) in BUY ORG (S01 in this example)
    and PLANNING TIME FENCE = 0 in TRANSFER ORGANIZATION.
    Sometimes, we release Internal Requisition to transfer item in excess from other organization to organization S01 to avoid Purchase Order not needed. In this case, the plan will suggest to reschedule OUT the internal requisition and if the planning time fence is large, people at the internal shipping department, will not see this Internal Req because they work in short range date.
    Furthermore the ASCP plan will reschedule out all the Discrete job and planned order pegged to this suply.
    This problem originate because we implement the reschedule out suggestion from ASCP over internal req ( we've a custom for this). How can ve avoid the Plan suggest to reschedule out this Internal Req? Maybe we can use the Profile "FIRM INTERNAL REQ INSIDE PLANNING TIME FENCE?".
    Someone know if there are other ways?
    Thanks in Adnvance.
    Giacomo

    Giacomo,
    Usually, clients use "MRP: Firm Internal Req Transferred to OE" to keep internal requisitions from being rescheduled by ASCP. This would mean that any IR that has created an ISO would be treated as frim by ASCP. The intent is that since standard ASCP cannot reachedule ISO/IR orders, that you prevent these reschedule recommendations.
    Since you have intentionally implemented a customization to cancel/reschedule these orders, this may not work for you.
    The other profile option that you suggested; "MSO: Firm Requisitions Within Time Fence" was intended for purchase requisitions. It may work for internal requisitions, but you'll have to test. If it did, it would only work for the organization that is recieving the IR. You had set the PTF to zero (0) in that organization.
    I suggest you try the combination of this last profile option with a PTF value that you do not want to see any reschedules.
    regards,
    Kevin

  • Any Function Module to read last 3 years

    Hi geeks,
    My requirement i need to fetch sales order data of last 3 years, so is there any function module where i can pass todays date and get past 3 years date

    I guess there is no fm related to ur requirement.
    See the below program as per ur req.
    Data Declaration Part
    TYPE-POOLS
    type-pools : slis.
    Tables
    tables : VBAK,
             VBAP.
    Internal table for VBAK Table
    data : begin of i_vbak occurs 0,
           vbeln like vbak-vbeln,
           bstnk like vbak-bstnk,
           vdatu like vbak-vdatu,
           end of i_vbak.
    Internal table for VBAP and MATNR
    data : begin of i_vbap occurs 0,
           vbeln like vbap-vbeln,
           matnr like vbap-matnr,
           kdmat like vbap-kdmat,
           kwmeng like vbap-kwmeng,
           netpr like vbap-netpr,
           maktx like makt-maktx,
           end of i_vbap.
    Internal tables
    data : begin of i_sales occurs 0,
           vdatu like vbak-vdatu,
           bstnk like vbak-bstnk,
           matnr like vbap-matnr,
           maktx like makt-maktx,
           kdmat like vbap-kdmat,
           kwmeng like vbap-kwmeng,
           netpr  like vbap-netpr,
           end of i_sales.
    Variable for ALV
    data : v_repid like sy-repid,
           gt_fieldcat    type slis_t_fieldcat_alv.
    Selection-screen
    selection-screen : begin of block blk with frame title text-001.
    select-options : s_vbeln for vbak-vbeln,
                     s_erdat for vbak-erdat,
                     s_ernam for vbak-ernam,
                     s_vdatu for vbak-vdatu obligatory,
                     s_BSTNK for vbak-BSTNK,
                     s_KUNNR for vbak-kunnr,
                     s_matnr for vbap-matnr,
                     s_KDMAT for vbap-KDMAT.
    selection-screen : end of block blk.
    Initilization
    initialization.
      v_repid = sy-repid.
    S T A R T  -  O F  -  S E L E C T I O N ****************
    start-of-selection.
    Get the data from VBAK and VBAP Tables
      perform get_vbak_vbap.
    E N D  -  O F  -  S E L E C T I O N *****************
    end-of-selection.
    Display the data
      perform dispolay_data.
    *&      Form  get_vbak_vbap
          Get the data from VBAK and VBAP Table
    FORM get_vbak_vbap.
    Get the data from VBAK Table
      select vbeln bstnk vdatu from vbak into table i_vbak
                         where vbeln in s_vbeln
                         and   bstnk in s_bstnk
                         and   vdatu in s_vdatu
                         and   kunnr in s_kunnr
                         and   erdat in s_erdat
                         and   ernam in s_ernam.
      if sy-subrc ne 0.
        message e000(zwave) with 'No data found for given selection'.
      endif.
    Get the data from VBAP Table
      select avbeln amatnr akdmat akwmeng a~netpr
             b~maktx into table i_vbap
             from vbap as a inner join makt as b on bmatnr = amatnr
             for all entries in i_vbak
             where a~vbeln in s_vbeln
             and   a~kdmat in s_kdmat
             and   a~abgru = space
             and   a~matnr in s_matnr
             and   a~matnr ne '000000000000009999'
             and   a~matnr ne '000000000000004444'
             and   a~matnr ne '000000000000008888'
             and   a~matnr ne '000000000000001111'
             and   a~werks = '1000'
             and   b~spras = 'E'
             and   a~vbeln = i_vbak-vbeln.
      if sy-subrc ne 0.
        message e000(zwave) with 'No data found for given selection'.
      endif.
      sort i_vbak by vbeln.
      sort i_vbap by vbeln matnr.
      loop at i_vbap.
        read table i_vbak with key vbeln = i_vbap-vbeln
                                binary search.
        if sy-subrc eq 0.
          i_sales-bstnk = i_vbak-bstnk.
          i_sales-vdatu = i_vbak-vdatu.
          i_sales-matnr = i_vbap-matnr.
          i_sales-kdmat = i_vbap-kdmat.
          i_sales-maktx = i_vbap-maktx.
          i_sales-netpr = i_vbap-netpr.
          i_sales-kwmeng = i_vbap-kwmeng.
          append i_sales.
        else.
          continue.
        endif.
        clear : i_sales,
                i_vbap,
                i_vbak.
      endloop.
      sort i_sales by vdatu bstnk matnr.
      refresh : i_vbap,
                i_vbak.
    ENDFORM.                    " get_vbak_vbap
    *&      Form  dispolay_data
          Display the data
    FORM dispolay_data.
    Fill the Fiedlcat
      PERFORM fieldcat_init  using gt_fieldcat[].
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                =
      I_BUFFER_ACTIVE                   = ' '
          I_CALLBACK_PROGRAM                = v_repid
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = ' '
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         =
          IT_FIELDCAT                       = gt_fieldcat[]
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
      I_SAVE                            = ' '
      IS_VARIANT                        =
      IT_EVENTS                         =
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      IT_ALV_GRAPHICS                   =
      IT_ADD_FIELDCAT                   =
      IT_HYPERLINK                      =
      I_HTML_HEIGHT_TOP                 =
      I_HTML_HEIGHT_END                 =
      IT_EXCEPT_QINFO                   =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
        TABLES
          T_OUTTAB                          = i_sales
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
    ENDFORM.                    " dispolay_data
    *&      Form  fieldcat_init
          text
         -->P_GT_FIELDCAT[]  text
    FORM fieldcat_init USING  e01_lt_fieldcat type slis_t_fieldcat_alv.
      DATA: LS_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    Delivery Date
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'VDATU'.
      LS_FIELDCAT-OUTPUTLEN    = 12.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Delivery Date'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Purchase Order #Material Description
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'BSTNK'.
      LS_FIELDCAT-OUTPUTLEN    = 25.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Purchase Order #'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Material
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-REF_FIELDNAME    = 'MATNR'.
      LS_FIELDCAT-REF_TABNAME    = 'MARA'.
      LS_FIELDCAT-FIELDNAME    = 'MATNR'.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Material #'.
      ls_fieldcat-seltext_M = 'Material #'.
      ls_fieldcat-seltext_S = 'Material #'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Material Description
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'MAKTX'.
      LS_FIELDCAT-OUTPUTLEN    = 40.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Material Description'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Customer Material #
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'KDMAT'.
      LS_FIELDCAT-OUTPUTLEN    = 35.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Customer material no.'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Quantity
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'KWMENG'.
      LS_FIELDCAT-OUTPUTLEN    = 15.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Quantity'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Net Price
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'NETPR'.
      LS_FIELDCAT-OUTPUTLEN    = 15.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Net Price'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    ENDFORM.                    " fieldcat_init
    Thanks
    Seshu

  • PLANNING HORIZN AND RESCHEDULING HORIZN

    HI
    What is the difference between planning horizin and rescheduling horizin?and when it works ?
    we give 100 days or 365 days what it means where this effect take place in both the horizins
    thanks in adavnce
    avinash.pegarlawar

    Hi
       Bhraman kar,
    thanks
    but what is the difference between *firmed planned order & planned order,firmed purchase req & purchase requesition*  
    and how GR,PLANNED DELIVERY TIME, INHOUSE PRODUCTION TIME , SCHEDULE MARGIN KEY
    effects this planning horizion and re scheduling horizion.
    Regards
    Avinash

  • MD01 prameters

    Hi,
    My client's process is MTO. Only for last level raw materials it is MTS. So I have used strategy 20 for finished and semi finished.
    Client says after sales orders are created in system and MRP run is done, still quantity of sales orders may be changed ( increased or decreased) if their customers say so.I have suggested client to run MRP in background in MD01. But I just want to know what should be setting for Processing key and Planning mode in such case of sales order's qty change?
    Regards.

    ME,
    you can re-position the 'req closed' button so as to be immediately visible during conversion, using standard table display variants within ME22N
    You should read "Getting Started" in SAP help.  I kind of like the older 4.6C version myself, cited below.  Later versions have more stuff but I think they are less clear.
    General Topics
    http://help.sap.com/saphelp_46c/helpdata/en/73/69ea7b55bb11d189680000e829fbbd/frameset.htm
    Your topic (table controls)
    http://help.sap.com/saphelp_46c/helpdata/en/fc/633086aac511d1a9e40020af00b7e5/frameset.htm
    You use drag and drop to reposition the columns, then save your settings as a local display default variant.
    I am really surprised that in case of sales order qty reduction, then user has to manully change qty of production order or firmed planned orders at all semi finished levels!! Imagine if there are many levels of BoM and so many Stock transport PR/PO's involved, then it is a tedious and herculean task!!
    I guess you have never been a planner.
    1.  You don't need to create a STO until you are ready to ship the product from Plant A to Plant B.
    2.  You don't need to create a Purchase Order until you are ready to place your order with the Vendor.
    3.  You don't need to create a Production order until you are actually ready to manufacture the product.
    4.  You don't need to create firmed planned orders or firmed Purchase reqs at all, if you don't want to.
    If you have made a business decision to create many firmed elements, long before they are required to be executed, then, yes, you will have a lot of manual maintenance.  As mentioned before, there are reports that will generate lists of such items that need to be actioned. However, you can also choose to minimize the fiming of elements, such that there is seldom any requirement to change them manually. Hercules can thus turn his attention back to Greece, and hopefully use his strength to solve their economic problems.
    Best Regards,
    DB49

  • Custom program to insert and firm new planned order supply

    Hello,
    Can anyone point me to the Oracle package/procedure that is used in ASCP workbench to insert and firm a new planned order supply? Would like to call this proceudre from a custom program.
    Cheers!

    There is no api to insert data into a given plan but Oracle allows you to use the "Legacy Collections" to import/create various data elements (such as Reqs, PO, Planned orders etc.)
    See "Legacy Collections" sections in http://download.oracle.com/docs/cd/E18727_01/doc.121/e13358/T309464T309470.htm#T309821
    Keep in mind that this takes time to setup. So make ensure that this is the right solution before proposing it.
    Sandeep Gandhi

Maybe you are looking for

  • How to map user-defined fields in XML communication on SRM site

    Hi All! We use the External sourcing scenario and we transfer requirements from ERP  in SRM through XI (PurchaseRequestERPSourcingRequest_In) We should transfer the user-defined fields, but we can not map it in SRM site. We have enhanced enterprise s

  • Message KI235

    Hi, I would set as warnig, in a development client, the message error KI235 "Account & requires an assignment to a CO object" How can I do this ? Thanks Best regards

  • Holo Launcher is awesome if you want to feel like you have ICS

    I installed this launcher ( https://play.google.com/store/apps/details?id=com.mobint.hololauncher&feature=nav_result#?t=W251bGwsMSwyLDNd ) on my Casio Commando and I love it. Keep in mind I also have a Galaxy Nexus so I have real ICS but putting on a

  • KM Document Iview Source Code

    Hello all, The standard KM Document Iview needs to fill manually value for property "Path to Document". I would like to make it dynamic by getting that Path value from a backend system. Is there any way to get the source code of KM Document Iview? Th

  • Minimize the SAP_j2ee_admin access to the Basis and Support Folks

    Hi, How can I minimize the access to SAP_J2ee_Admin role in Netweaver system for the Basis folks and the Support folks and also letting them to do the activities as required. Any thoughts on this... Regards, Hema