Report with purchase requisitions and purchase orders: how?

Hi,
I need to get a list of items bought with their purchase requisitions and purchase orders (when they exist). This can be done looking at each purchase order (ME23N), ou purchase requisition (ME53N), and writing it down. But in some cases, I have to do it on about 450 operations. I'd like to get this list without having to search for each requisition ou order. I can get a complete list of orders and requisitions, but without any relationship between them (they are mixed as if they were the same thing, but there´s a field telling it that row is an order or a requisition). Using some macros in excel, I can find this relationship in 40% of the cases (for example, if item 421351 was purchased only once, an order for item 421351 is related to a requisition for item 421351). Is there any way to get this list automatically? Or is there any field that tell me this relationship?
Thanks,
Francisco Morbiolo
Votorantim Cimentos
Votorantim, SP - Brazil

Sorry, I forgot to tell this: I don´t have access to SQ01/SQ02/SQ03.
I get the orders and requisition reports using ZGLPS020.
Thanks,
Francisco Morbiolo
Votorantim Cimentos
Votorantim, SP - Brazil

Similar Messages

  • Purchase requisitions and purchase orders

    Hello Gurus,
         In contrast, by default, both purchase requisitions and purchase orders can be generated automatically for the item category ALES, will you please tell me the sequence and where to create purchase requisitions and purchase orders  ?
    Many thanks,

    Hello,
    The PO is getting created automatically because of the Create PO automatically check in the item categroy ALES.
    But in normal case, the PR will be generated, it is a request for purchase, it should get approved by the purchasign dept, then create PO with reference to the PR.
    Prase

  • Automatic Link of  Documents in purchase requisition and purchase order

    Dear guru.
    I have created a document in CV01N and I have linked it in document data view of a material master(MM02).
    For every purchase requisition and purchase order position created for this material I need that the system execute an automatic link to this document.
    How can I do that ?
    Thanks

    Hello,
    You can only derive the attached documents from the preceding documents only (for example. Purchase Requisition). Deriving the attached document from the material master is not a standard scenario. This scenario is not in the system. You need to manually attach it.
    bg, Gabor

  • Changes in short text in Purchase Requisition and Purchase Order

    Dear experts,
    Can you help me with the following issue:
    During creation of Purchase Requisition and Purchase Order with Account assignment category K-Cost center the field Short text to allow input of data in it.
    In all other cases During creation of Purchase Requisition and Purchase Order without Account assignment category K-Cost center the field Short text to be forbidden for input of data
    Is it possible?
    Thank you
    Regards

    Dear Vasil Pavlov ,
    This cannot be realize in sap standard system. You may want to write your own coding using
    ME_PROCESS_REQ and ME_PROCESS_PO for  purchase requisition and purchase order respectively.
    Best Regards,
    Loke Foong

  • SAP  workflow for purchase requisition and purchase  order

    Hello  Sap Workflow,
    Can you  please help me on  building workflow for purchase requisition and  purchase order    with  the necessary screen shots  ?
    your quick response  will be greatly appreciated.
    Thanks in Advance

    Hi,
    Please check http://help.sap.com .
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/04/92761846f311d189470000e829fbbd/frameset.htm
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/04/92775546f311d189470000e829fbbd/frameset.htm
    Configuration guides are available in SAP Solution Manager.
    Regards,
    Masa

  • Purchase Requisition and Sales Order Linkage (Order Costing)

    Dear, Gurus
    I have a scenario where in the Purchase Requisition you can assign acct cat C for Sales Order to item 010 for example. What exactly is this used for I mean is it used to transfer the price of the purchase into the Sales Order? Or its just a linking for reporting purpose? User would like if the purchase order or its requisition price come into the conditions of my Sales Order. Is this possible if yes how or thru which condition type? I was told this is order costing and I have no idea how to configure my sales order in terms of order costing to pull the price of the purchase requisition or purchase order.
    Recap
    1)     What is the purpose of the linkage to the Sales order?
    2)     Can the price be linked into the sales order this way?
    3)     Any other valuable information I should know please feel free.
    Thanks and hope to hear from you geniuses.

    Aroop thanks for your reply.
    My scenario is not the same as in 3rd party processing. In fact my scenario is make to order and even repairs of other companies machinery. Now what we are trying to achieve is lets say in the repair or in production of the customers machinery or service, MM needs to make a purchase for a part or tool etc. That in itself has a price. Meaning our purchase mm dept has to pay the vendor for the purchase made and in return we need to charge our customer for that purchase. So we would like for the price of the purchase order come in our sales order condition type as a surcharge.
    We were able to fetch the price of the production order automatically thru condition type EK02.
    We would like to do the same from purchase order.

  • Tolerance limits in Purchase Requisition and Purchase Order

    Hi there
    I see there is some new functionality in ERP6 to control the price difference between the requisition and the order.  According to the documentation one needs to set up a tolerance key and then set the tolerance limits for price price variance.  Thereafter one needs to set the tolerance key on the document type.  I have looked in the document type and I can't seem to find any place in the config to set up or assign the tolerance key to it.  Has anyone tried this and how would I assign the tolerance key to the document type?
    Thanks
    Vinesh

    Aroop thanks for your reply.
    My scenario is not the same as in 3rd party processing. In fact my scenario is make to order and even repairs of other companies machinery. Now what we are trying to achieve is lets say in the repair or in production of the customers machinery or service, MM needs to make a purchase for a part or tool etc. That in itself has a price. Meaning our purchase mm dept has to pay the vendor for the purchase made and in return we need to charge our customer for that purchase. So we would like for the price of the purchase order come in our sales order condition type as a surcharge.
    We were able to fetch the price of the production order automatically thru condition type EK02.
    We would like to do the same from purchase order.

  • Make item to create Purchase Requisition and Work Order

    I have a requirement for a Make item to create Back to Back Purchase Order from Sales Order. At the same time, need to create Work Order from Sales Order for the same item. I have done all setups for Back to Back order and able to create Purchase Requisition from Sales Order line. But how to create Work Order. What are the setups to achieve this? Thanks

    Ajith_Kz; Consultant wrote:
    I have a requirement for a Make item to create Back to Back Purchase Order from Sales Order. At the same time, need to create Work Order from Sales Order for the same item. I have done all setups for Back to Back order and able to create Purchase Requisition from Sales Order line. But how to create Work Order. What are the setups to achieve this? ThanksI guess it can't be done..when u say u created a purchase req?i was just wondering how did the system let u to create a POR when you say it is a make item?
    HTH
    Mahendra

  • Planned orders to Purchase Requisitions and Purchase Orders

    Hi,
            Just wondering if this is possible. I heard this from a client and want to confirm if it's true.
    The client owns the technology and has contractors manufacture the product.
    A planned order is generated by the client and based on the type of contractor, some of them are converted to Purchase orders and others to Purchase requisitions.
    Is this possible? I was thinking, planned orders ans purchase requisitions are completely different entities. Planned orders are for internal manufacturing which are subsequently changed to Production orders and purchase requisitions are for external procurement that would be converted to Purchase orders.
    But converting the Planned orders to Purchase Requisitions and orders is what I could not digest.
    Is there any possibility of this case?
    Thanks.

    Hi,
    We can create planned orders & convert them into purchase requisition or into production order.
    In the material master ,mrp2 view give the procurment type as 'X', for both internal & external procurement.
    Also include purchasing view for this material.
    When you run mrp using md02, a planned order will be created for the rquirement (Eg:say 100 nos given using t.code md61).
    Use t.code md04 to view the stock/requirement list.
    Here double click the planned order, you can see tabs such as convert into purchase requisition, into production order, into process order.
    Click convert into pur req & enter 50 Nos. Then a pur req will be created which can be further converted into pur order.
    Again come to md04 screen.
    You can see a planned order & pur req for 50 nos.
    This planned order can be converted into production order & 50 nos can be produced internally.
    Hope this clears your doubt.
    Regards,
    Senthilkumar SD

  • Purchase requisition and Purchase order fields in the APO system

    Hi
    I have to develop a report in the APO system for which material id needs to be linked with purchase order and purchase requisition fields. I am not able to locate the table to pick these fields.Please anyone can tell which table,FM or BAPI to use.
    thanks in advance

    You should be able to retrieve the PegID for this particular material/plant combination using /SAPAPO/DM_PEGID_GET_MATERIAL and then using OM LC Get data you should be able to retrieve all the order categories you need for the report.

  • Enable Purchase Requisition and Purchase Order for a New company Code

    How to enable Purchase Order and Purchase Requisition for a new company code.

    create purchasing organisation,
    assign it to a company code or plant.
    do you already receive errors?

  • Tolerence Limit for Purchase requisition and purchase order while saving PO

    Hi,
    i need to create an Custumer Exit for PO application program.
    the requirement is given below.
    Purchase Orders are created with reference to a Purhase Requisition. This is exempted for PO Document type ( ZLON ).
    Material value in the Purchase Requisition (PR) should be checked while creating the PO and it should not be allowed more that 110% of the PR value.
    There are instances PR may get split into several Purchase Order (PO)s. It should be checked for the single unit for every PO.
    In the case of different requirement dates, there may be differeent line items for the same material in the same PO.
    let me know which exit is used for this requirement
    morever i have seen exit " MEQUERY1 ".
    but iam not sure whether this will work or not.
    Thanks.
    Sunil

    In lsmw in first step selec the option one standard object
    Object               0085   Purchase Order
    Method               0001   Purchase order
    Program Name         RM06EEI0.
    Program Type         D   Direct Input
    then save and come back and then go to object overview here u will find all the fields use in this object u can upload.
    After this follow the normal step.
    for pur req use object 0080.

  • Tell me the link between Purchase Requisition and Sales Order Number

    tell me the link between Purchase Requisition(MEREQ_TOPLINE-BANFN_EXT) and Sales Order Number(COBL-KDAUF)

    Hi Puja,
    If you have created sales order  for matrial which has both procurement type,after MRP run you will get
    planned order.This planned order you can convert to purchase requisition for external procurement or
    subcontracting.
    You will find sales order number in details of purchase requisition ( ME52N) in Account assignment tab.
    Hope this help you.
    Regards,
    Raja

  • Interactive alv report with migo miro and purchase order

    hi all
    to make my alv interactive i put the following code....
    i dont know whether it is correct or not coz i hav not done alv before
    FORM display.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = sy-cprog
          is_layout          = wa_layout
          I_CALLBACK_USER_COMMAND  = 'HANDLE_USER_COMMAND'
          it_fieldcat        = it_fieldcat
        TABLES
          t_outtab           = itab.
    ENDFORM.                    "DISPLAY
    FORM HANDLE_USER_COMMAND USING R_UCOMM     LIKE SY-UCOMM
                                  RS_SELFIELD TYPE SLIS_SELFIELD.
       CASE R_UCOMM.
        WHEN '&IC1'.
          IF RS_SELFIELD-FIELDNAME = 'EBELN'.
            READ TABLE ITAB INDEX RS_SELFIELD-TABINDEX.
            SET PARAMETER ID 'ITAB-EBELN' FIELD ITAB-EBELN.
           call transaction 'ME23N' AND SKIP FIRST SCREEN.
           CLEAR RS_SELFIELD.
          ENDIF.
      ENDCASE.
    ENDFORM.                    "HANDLE_USER_COMMAND
    this code is working
    but i hav some problems
    when ever i double click on PO number
    1. it always opne the last PO number of the my alv list
    2. I want to open the migo with migo number when i double clik on the migo number
    3. and same for the MIRO
    plz help its very urgent...
    points wil b rewarded.

    Hi,
    Following report will explains how to do interactive list in alv report regarding purchase order. Kindly go through that one.
    REPORT  YMS_ALVINTERSAMPLE NO STANDARD PAGE HEADING LINE-SIZE 650
    MESSAGE-ID ZZ_9838.
    TYPE-POOLS: SLIS.
    *type declaration for values from ekko
    TYPES: BEGIN OF I_EKKO,
           EBELN LIKE EKKO-EBELN,
           AEDAT LIKE EKKO-AEDAT,
           BUKRS LIKE EKKO-BUKRS,
           BSART LIKE EKKO-BSART,
           LIFNR LIKE EKKO-LIFNR,
           END OF I_EKKO.
    DATA: IT_EKKO TYPE STANDARD TABLE OF I_EKKO INITIAL SIZE 0,
          WA_EKKO TYPE I_EKKO.
    *type declaration for values from ekpo
    TYPES: BEGIN OF I_EKPO,
           EBELN LIKE EKPO-EBELN,
           EBELP LIKE EKPO-EBELP,
           MATNR LIKE EKPO-MATNR,
           MENGE LIKE EKPO-MENGE,
           MEINS LIKE EKPO-MEINS,
           NETPR LIKE EKPO-NETPR,
           END OF I_EKPO.
    DATA: IT_EKPO TYPE STANDARD TABLE OF I_EKPO INITIAL SIZE 0,
          WA_EKPO TYPE I_EKPO .
    *variable for Report ID
    DATA: V_REPID LIKE SY-REPID .
    *declaration for fieldcatalog
    DATA: I_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
          WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    DATA: IT_LISTHEADER TYPE SLIS_T_LISTHEADER.
    declaration for events table where user comand or set PF status will
    be defined
    DATA: V_EVENTS TYPE SLIS_T_EVENT,
          WA_EVENT TYPE SLIS_ALV_EVENT.
    declartion for layout
    DATA: ALV_LAYOUT TYPE SLIS_LAYOUT_ALV.
    declaration for variant(type of display we want)
    DATA: I_VARIANT TYPE DISVARIANT,
          I_VARIANT1 TYPE DISVARIANT,
          I_SAVE(1) TYPE C.
    *PARAMETERS : p_var TYPE disvariant-variant.
    *Title displayed when the alv list is displayed
    DATA:  I_TITLE_EKKO TYPE LVC_TITLE VALUE 'FIRST LIST DISPLAYED'.
    DATA:  I_TITLE_EKPO TYPE LVC_TITLE VALUE 'SECONDRY LIST DISPLAYED'.
    INITIALIZATION.
      V_REPID = SY-REPID.
      PERFORM BUILD_FIELDCATLOG.
      PERFORM EVENT_CALL.
      PERFORM POPULATE_EVENT.
    START-OF-SELECTION.
      PERFORM DATA_RETRIEVAL.
      PERFORM BUILD_LISTHEADER USING IT_LISTHEADER.
      PERFORM DISPLAY_ALV_REPORT.
    *&      Form  BUILD_FIELDCATLOG
          Fieldcatalog has all the field details from ekko
    FORM BUILD_FIELDCATLOG.
      WA_FIELDCAT-TABNAME = 'IT_EKKO'.
      WA_FIELDCAT-FIELDNAME = 'EBELN'.
      WA_FIELDCAT-SELTEXT_M = 'PO NO.'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'IT_EKKO'.
      WA_FIELDCAT-FIELDNAME = 'AEDAT'.
      WA_FIELDCAT-SELTEXT_M = 'DATE.'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'IT_EKKO'.
      WA_FIELDCAT-FIELDNAME = 'BUKRS'.
      WA_FIELDCAT-SELTEXT_M = 'COMPANY CODE'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
    WA_FIELDCAT-TABNAME = 'IT_EKKO'.
      WA_FIELDCAT-FIELDNAME = 'BUKRS'.
      WA_FIELDCAT-SELTEXT_M = 'DOCMENT TYPE'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
    WA_FIELDCAT-TABNAME = 'IT_EKKO'.
      WA_FIELDCAT-FIELDNAME = 'LIFNR'.
      WA_FIELDCAT-NO_OUT    = 'X'.
      WA_FIELDCAT-SELTEXT_M = 'VENDOR CODE'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
    ENDFORM.                    "BUILD_FIELDCATLOG
    *&      Form  EVENT_CALL
      we get all events - TOP OF PAGE or USER COMMAND in table v_events
    FORM EVENT_CALL.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
       EXPORTING
         I_LIST_TYPE           = 0
       IMPORTING
         ET_EVENTS             = V_EVENTS
    EXCEPTIONS
       LIST_TYPE_WRONG       = 1
       OTHERS                = 2
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    "EVENT_CALL
    *&      Form  POPULATE_EVENT
         Events populated for TOP OF PAGE & USER COMAND
    FORM POPULATE_EVENT.
      READ TABLE V_EVENTS INTO WA_EVENT WITH KEY NAME = 'TOP_OF_PAGE'.
      IF SY-SUBRC EQ 0.
        WA_EVENT-FORM = 'TOP_OF_PAGE'.
        MODIFY V_EVENTS FROM WA_EVENT TRANSPORTING FORM WHERE NAME =
    WA_EVENT-FORM.
      ENDIF.
      READ TABLE V_EVENTS INTO WA_EVENT WITH KEY NAME = 'USER_COMMAND'.
      IF SY-SUBRC EQ 0.
        WA_EVENT-FORM = 'USER_COMMAND'.
        MODIFY V_EVENTS FROM WA_EVENT TRANSPORTING FORM WHERE NAME =
    WA_EVENT-NAME.
      ENDIF.
    ENDFORM.                    "POPULATE_EVENT
    *&      Form  data_retrieval
      retreiving values from the database table ekko
    FORM DATA_RETRIEVAL.
      SELECT EBELN AEDAT BUKRS BSART LIFNR FROM EKKO INTO TABLE IT_EKKO.
    ENDFORM.                    "data_retrieval
    *&      Form  bUild_listheader
          text
         -->I_LISTHEADEtext
    FORM BUILD_LISTHEADER USING I_LISTHEADER TYPE SLIS_T_LISTHEADER.
      DATA HLINE TYPE SLIS_LISTHEADER.
      HLINE-INFO = 'this is my first alv pgm'.
      HLINE-TYP = 'H'.
    ENDFORM.                    "build_listheader
    *&      Form  display_alv_report
          text
    FORM DISPLAY_ALV_REPORT.
      V_REPID = SY-REPID.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         I_CALLBACK_PROGRAM                = V_REPID
      I_CALLBACK_PF_STATUS_SET          = ' '
         I_CALLBACK_USER_COMMAND           = 'USER_COMMAND'
         I_CALLBACK_TOP_OF_PAGE            = 'TOP_OF_PAGE'
         I_GRID_TITLE                      = I_TITLE_EKKO
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         = ALV_LAYOUT
         IT_FIELDCAT                       = I_FIELDCAT[]
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
        i_default                         = 'ZLAY1'
         I_SAVE                            = 'A'
        is_variant                        = i_variant
         IT_EVENTS                         = V_EVENTS
        TABLES
          T_OUTTAB                          = IT_EKKO
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    "display_alv_report
    *&      Form  TOP_OF_PAGE
          text
    FORM TOP_OF_PAGE.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          IT_LIST_COMMENTARY       = IT_LISTHEADER
       i_logo                   =
       I_END_OF_LIST_GRID       =
    ENDFORM.                    "TOP_OF_PAGE
    *&      Form  USER_COMMAND
          text
         -->R_UCOMM    text
         -->,          text
         -->RS_SLEFIELDtext
    FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
    RS_SELFIELD TYPE SLIS_SELFIELD.
      CASE R_UCOMM.
        WHEN '&IC1'.
          READ TABLE IT_EKKO INTO WA_EKKO INDEX RS_SELFIELD-TABINDEX.
          PERFORM BUILD_FIELDCATLOG_EKPO.
          PERFORM EVENT_CALL_EKPO.
          PERFORM POPULATE_EVENT_EKPO.
          PERFORM DATA_RETRIEVAL_EKPO.
          PERFORM BUILD_LISTHEADER_EKPO USING IT_LISTHEADER.
          PERFORM DISPLAY_ALV_EKPO.
      ENDCASE.
    ENDFORM.                    "user_command
    *&      Form  BUILD_FIELDCATLOG_EKPO
          text
    FORM BUILD_FIELDCATLOG_EKPO.
      WA_FIELDCAT-TABNAME = 'IT_EKPO'.
      WA_FIELDCAT-FIELDNAME = 'EBELN'.
      WA_FIELDCAT-SELTEXT_M = 'PO NO.'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'IT_EKPO'.
      WA_FIELDCAT-FIELDNAME = 'EBELP'.
      WA_FIELDCAT-SELTEXT_M = 'LINE NO'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'I_EKPO'.
      WA_FIELDCAT-FIELDNAME = 'MATNR'.
      WA_FIELDCAT-SELTEXT_M = 'MATERIAL NO.'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
    WA_FIELDCAT-TABNAME = 'I_EKPO'.
      WA_FIELDCAT-FIELDNAME = 'MENGE'.
      WA_FIELDCAT-SELTEXT_M = 'QUANTITY'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
    WA_FIELDCAT-TABNAME = 'I_EKPO'.
      WA_FIELDCAT-FIELDNAME = 'MEINS'.
      WA_FIELDCAT-SELTEXT_M = 'UOM'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
    WA_FIELDCAT-TABNAME = 'I_EKPO'.
      WA_FIELDCAT-FIELDNAME = 'NETPR'.
      WA_FIELDCAT-SELTEXT_M = 'PRICE'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
    ENDFORM.                    "BUILD_FIELDCATLOG_EKPO
    *&      Form  event_call_ekpo
      we get all events - TOP OF PAGE or USER COMMAND in table v_events
    FORM EVENT_CALL_EKPO.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
       EXPORTING
         I_LIST_TYPE           = 0
       IMPORTING
         ET_EVENTS             = V_EVENTS
    EXCEPTIONS
      LIST_TYPE_WRONG       = 1
      OTHERS                = 2
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    "event_call_ekpo
    *&      Form  POPULATE_EVENT
           Events populated for TOP OF PAGE & USER COMAND
    FORM POPULATE_EVENT_EKPO.
      READ TABLE V_EVENTS INTO WA_EVENT WITH KEY NAME = 'TOP_OF_PAGE'.
      IF SY-SUBRC EQ 0.
        WA_EVENT-FORM = 'TOP_OF_PAGE'.
        MODIFY V_EVENTS FROM WA_EVENT TRANSPORTING FORM WHERE NAME =
    WA_EVENT-FORM.
      ENDIF.
      ENDFORM.                    "POPULATE_EVENT
    *&      Form  TOP_OF_PAGE
          text
    FORM F_TOP_OF_PAGE.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          IT_LIST_COMMENTARY       = IT_LISTHEADER
       i_logo                   =
       I_END_OF_LIST_GRID       =
    ENDFORM.                    "TOP_OF_PAGE
    *&      Form  USER_COMMAND
          text
         -->R_UCOMM    text
         -->,          text
         -->RS_SLEFIELDtext
    *retreiving values from the database table ekko
    FORM DATA_RETRIEVAL_EKPO.
    SELECT EBELN EBELP MATNR MENGE MEINS NETPR FROM EKPO INTO TABLE IT_EKPO.
    ENDFORM.
    FORM BUILD_LISTHEADER_EKPO USING I_LISTHEADER TYPE SLIS_T_LISTHEADER.
    DATA: HLINE1 TYPE SLIS_LISTHEADER.
    HLINE1-TYP = 'H'.
    HLINE1-INFO = 'CHECKING PGM'.
    ENDFORM.
    FORM DISPLAY_ALV_EKPO.
    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           = 'F_USER_COMMAND'
       I_CALLBACK_TOP_OF_PAGE            = '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_TITLE_EKPO
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         =
       IT_FIELDCAT                       = I_FIELDCAT[]
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         =
       I_SAVE                            = 'A'
      IS_VARIANT                        =
       IT_EVENTS                         = V_EVENTS
      TABLES
        T_OUTTAB                          = IT_EKPO
    EXCEPTIONS
       PROGRAM_ERROR                     = 1
       OTHERS                            = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.
    Thanks,
    Sankar  M

  • Parallel creation of sales orders, purchase requisitions and purch. orders

    Hi All,
    I have the following requirement, can you please provide feedback if it is feasible or not.If yes HOW ??
    There is report to upload data which first reads all entries in the file -> create SO/PR and then convert them into POs.
    The report displays the all the error and success records.
    When large volume of data is uploaded ,then start the PR to PO conversion after converting the first 500 SO/PRs so that the next 500 entries from file can be used to create SO/PRs and so forth. In this way the SO creation and PR to PO conversion happen in parallel batches thereby improving the performance.
    Is it possible to run the same program in parallel batches of 500 records??
    Thanks and Regards,
    Sachin M M
    Edited by: Thomas Zloch on Apr 12, 2010 3:08 PM - subject line enhanced

    It looks like each SO -> PR -> PO creation is a unit that can be handled in parallel with aRFC (asynchronous RFC), using all available dialog processes minus a few that you want to reserve for other purposes.
    Please search for "parallel processing" and "aRFC".
    I would not try to split SO -> PR and PR -> PO into several processes because of the dependencies.
    Thomas

Maybe you are looking for

  • Using video clip with an alfa channel??

    Hello. Like I wrote above, I have a video with scrolling text that is sitting in a drop zone. It looks fine in the menu editor but when I simulate the menu(s) they have a black background instead of the transparency. Can anyone offer some advice on h

  • Sata PCI card

    I have a G4 dual 450 and would like to install a sata pci card so I can use a raid subsystem for my company. Will this G4 support the sata PCI card?

  • I need help to send idocs from 1 client to another , both in different systems

    Hi all, I am new to Idoc. I am trying to use idoc to send some table records of a custom table created in client 800 to client 020, both clients are in different systems. I found examples of same scenario but for both clients in same system.. what ch

  • Executing Cygwin through JAVA

    Hey guys, I am having a bit of a problem here trying to figure out how to execute cygwin and run cygwin commands through java. So far I have this code below; I ultimately want to make cygwin run an egrep command, but for now I am trying ls -la as a t

  • Outbound interface to XI

    Hi all, I am developing an Outbound interface in HR. I need to send the data retreived to XI system. What is the procedure for sending this to XI after i retrieve the records into one Inetrnal Table. Is there any Functional Module for this... Pls, Pr