PO multiple line items -multiple currency

Hi,
I had one issue.
Can I create PO with multiple line items ,with multiple currency ?
E.g 2 line items one line item with INR and second with USD.
I tried I am not able to create PO , But its allowing to create the same for Scheduling agreement and Contracts.
E.g I create a Contract with two line items.
     one line item with INR and second with USD.
    But the Header Currency is fix  either INR or USD whatever u select before creating the contract remanins same and cannot be changed later.
Q :Is this correct ?
Q: what will contract vaule in this case in USD or INR .
Please see if u can add some in puts.
Thank you
Regards
Amar

Amar,
You can create a PO with multiple line item, but you can not create the PO with multiple currency.
Regards,
Manish

Similar Messages

  • Different currencies for multiple line items in a AP invoice?

    Hi, Expert,
    Is it possible to assign different currencies for multiple line items in a AP invoice?
    Eg:
    One vendor is supplying raw materials from different regions, and we have to raise one invoice with different currency rate  to each items 
    regards,
    Sanju

    Hi Sanju,
    It is not possible to assign different currencies for multiple line items in a AP invoice.
    Try to book the different documents(different correncies for a single vendor in a A/P Invoice).
    Regards,
    Madhan.

  • Sales order with line items having multiple values in multiple currency

    Please suggest solution for creating sales order having line items with multiple values in multiple currencies.
    e.g. Line Item A Qty/1 No,  value 100INR100$100EUR. Customer wants all three values to display at sales order line item level and create billing in 3 currencies.

    Hi,
    As far as my understanding it may be possible round the solution,
    For 1 company code we can able to maintain 3 currancies,
    1 currancy is hard currance & other two are dual currancies.
    Create sales order with 3 line items having 3 diffrant currancies
    Spilt invoice on the basis of currancy
    Last pass to this invoices to accounting.
    Whole process is
    Sales order >>> Delivery >>> Invoice 1, Invoice 2, Invoice 3(Split invoice on basis of Currancy).
    Consult with FI Team they will tell you about dual currancy & hard currancy
    Kapil

  • Reg: LSMW Multiple line items of scale pricing in transaction VK11

    Hi,
    Iam using LSMW to upload price condition records(VK11)
    Totally Iam having two records which i have split as 2 flat files.
    one flat file with header details and another flat file with line items for scale quantity and scale pricing, something like below.
    Header flat file
    __ZPR3__
    __cust1__
    __Mat1__
    __AUD__
    __EA__
    __100__
    __10__
    __ZPR3__
    __cust2__
    __Mat2__
    __AUD__
    __EA__
    __300__
    __10__
    Line Item Flat file
    __cust1__
    __mat1__
    __95__
    __20__
    __cust1__
    __mat1__
    __90__
    __30__
    __cust1__
    __mat1__
    __85__
    __40__
    __cust1__
    __mat1__
    __80__
    __50__
    __cust1__
    __mat1__
    __75__
    __60__
    __cust2__
    __mat2__
    __70__
    __20__
    __cust2__
    __mat2__
    __65__
    __30__
    __cust2__
    __mat2__
    __60__
    __40__
    When i do the step of Read Data in LSMW iam getting the data correctly.
    in Display read data step i got the header data in yellow and its line item in blue.
    In Convert data step iam gettin as
    Transaction read = 2.
    Records read = 11.
    Transaction written = 2.
    Record written = 9.
    In Display Converted data step Iam getting every record as a higher level item (displayed in green)
    In Create Batch Input Session step Iam getting the message as 1 batch Input folder with 9 transactions
    Which is actually wrong because only two transaction only must be written.
    I think i migh have problem in Convert data step but iam not sure, can anyone help me what should be done.
    My requirement is to upload the two datas with multiple scale prices for transaction vk11.
    Kindly Help.
    Regards
    Naveen

    hi,
    For u r reqrmnt u can make use of direct input method.
    1)
    Object               0070   Condition record
    Method               0000
    Program name         RV14BTCI
    Program type         B   Batch input
    it make use of transaction VK15( alternate for vk11where instead of selecting combination u can directly input table name)
    2) create u r internal table structure with the following fields
         KSCHL               cond type
         KOTABNR          cond table
         VKORG             sales org
         VTWEG              distr chnnl
         KUNNR              customer
         MATNR              material num
         WERKS             plant
         WAERK             currency
         DATAB               from date
         DATBI                to date
         KSTBM              cond scale qty
         KBETR              rate
         LOEVM_KO       del ind
         KPEIN               cond pricing unit
    in the above if u dont require any fields u can omit but make sure u r using all key fields.
    i thnk in u r reqrmnt its customer specific pricing so customer, cond scale qty,rate r needed.
    deltion indicator is used to delete existing records.
    3)  maintain structure relations till BKOND3
    4)  for field mapping do Auto field mapping
         give Tcode VK15
         give value for VAKEY ( concate salesorg, plant,materialno,customer) 
    assign dates in standard format (YYYYMMDD)
    5) Run remaining steps like assigning files, read convert and all
    u r flat file structure shud be da same like u r internal table.
    if u r not givin values provide empty space.
    flat file
    zpr3   cust1   mat1   aud ea 100 10   95 20
    zpr3   cust1  mat1    aud ea 100 10   90 30
    zpr3   cust2  mat2    aud ea 300 10   70 20
    i hope it gives u some idea .
    if its useful rewrd me.

  • RFFOAVIS_FPAYM: Is this print program will support multiple PO line items

    Hi, I am using the print program:<b>RFFOAVIS_FPAYM</b> and customized layout of: <b>F110_IN_AVIS</b>. I am able to get multiple Document numbers but I am not getting the multiple PO line items for each Document no. I had called the perform statement in text element : <b>625</b> in Main window.
    Can you suggest how to modify the standard print program to our requirement. Where we need to
    [code][code][code]<b>declare the text element</b>
    [/code][/code][/code], Where we will declare the <u><b>internal table for getting the PO line items.</b></u>
    Thanks & Regards
    Madhu

    Amar,
    You can create a PO with multiple line item, but you can not create the PO with multiple currency.
    Regards,
    Manish

  • IDOC to JDBC, problem with the multiple line items structure and mapping

    Hi,
    I have a scenario where the ORDERS data need to update the SQL table. for the idoc which consists one line item its ok but for multiple line item its just updating one line item. In the destination side we have only one table for purchase order which consists of lineitem as a field.(no different tables for Header data and Line item data)
    Can anyone suggest me how to create a structure for target side and how to map them.
    Regards,
    CJ

    Hi Rajan,
    The table structure is
    [PO_DATE]
          ,[VENDOR_NO]      ,[PAYMENT_TERM]      ,[MATERIAL_CODE]      ,ORDERED_QTY]      ,RECEIVED_QTY]                                 
          ,[UOM]       ,[RATE]       ,[CURRENCY]       ,[PO_EXCRATE]       ,[TAX_CODE]       ,[BASE_VALUE]       ,[TAX_VALUE]
          ,[TOTAL_VALUE]       ,[ADVANCE_PAYAMT]       ,[TOTAL_QTY]        ,[SNO]       ,[POLINEITEM]
    Datatype structure:
    PO_XI_MT_ORDERS05 1-1
    STATEMENT   1-UNBOUN
      TABLENAME 1-1
        ACTION   optional
        TABLE    1-1
        ACCESS  1-1
           PO_NO   0-1
           PO_DATE 0-1
    Correct me if im wrong.
    Regards,
    CJ
    Edited by: kuncjy on May 5, 2011 11:32 AM

  • Setting the value of a single attribute for multiple line items

    Hi all,
    I am working on a Web Dynpro application, I have created this applicaion for an accounting document so it has header data and multiple line item data. As per the requirement I have to put the following logic:
    1. When a user enters a value in the field KBLNR on the line item, all the other fields like cost centerm fund, functional area should populate from a database table based on the value of the KBLNR. to get this I have put the following code:
    TYPES: BEGIN OF t_kblp,
              fipos     TYPE kblp-fipos,
              kostl     TYPE kostl,
                      END OF t_kblp.
      DATA lv_kblnr TYPE wd_this->element_t_bseg-kblnr.
      DATA: lt_kblp TYPE STANDARD TABLE OF t_kblp,
            wa_kblp LIKE LINE OF lt_kblp,
            lt_bseg              TYPE STANDARD TABLE OF bseg,
            wa_bseg              TYPE bseg.
      DATA lo_nd_t_bseg TYPE REF TO if_wd_context_node.
      DATA lo_el_t_bseg TYPE REF TO if_wd_context_element.
      DATA: ls_t_bseg TYPE wd_this->element_t_bseg,
            lo_api_controller    TYPE REF TO if_wd_controller,
            lo_message_manager   TYPE REF TO if_wd_message_manager,
            lo_nd_tbseg          TYPE REF TO if_wd_context_node,
             lo_el_tbseg          TYPE REF TO if_wd_context_element,
             lt_el_tbseg          TYPE wdr_context_element_set,
             lv_bseg              TYPE bseg.
      lo_nd_t_bseg = wd_context->path_get_node( path = `ZDATA.CHANGING.T_BSEG` ).
      lo_api_controller ?= wd_this->wd_get_api( ).
      CALL METHOD lo_api_controller->get_message_manager
        RECEIVING
          message_manager = lo_message_manager.
      lo_nd_tbseg = wd_context->path_get_node( path = `ZDATA.CHANGING.T_BSEG` ).
      lt_el_tbseg = lo_nd_tbseg->get_elements( ).
      LOOP AT lt_el_tbseg INTO lo_el_tbseg.
        lo_el_tbseg->get_static_attributes(
                               IMPORTING static_attributes = lv_bseg ).
      IF lv_bseg-kblnr NE ' '.
          SELECT belnr
                 fipos
                 kostl
                 PSPNR
                 geber
                 saknr
                 fkber
                 grant_nbr
                 gsber
                 FROM kblp
                 inTO corresponding fields of wa_kblp
                 WHERE belnr = lv_bseg-kblnr and
                      saknr = lv_bseg-saknr.
            ENDSELECT.
    lo_nd_t_bseg = wd_context->path_get_node( path = `ZPRELIMINARY_POSTING.CHANGING.T_BSEG` ).
    * get element via lead selection
            lo_el_t_bseg = lo_nd_t_bseg->get_element( ).
    lo_el_tbseg->set_static_attributes(
                               EXPORTING static_attributes = wa_kblp ).
       CLEAR: lv_bseg, wa_kblp.
      ENDLOOP.
    everything is working fine but now the problem is couple of fields that I have in wa_kblp are with different names in bseg table and hence they are not updating... I tried putting the following logic within the loop :
    lo_el_t_bseg->set_attribute(
        name =  `PROJK`
    value = wa_kblp-pspnr ).
    but it's only setting the value of the first line item and not working for the multiple line items, can you please tell me how can do this?
    Thanks,
    Rajat Garg
    Edited by: rajatg on Jun 24, 2011 5:09 PM

    Hi Chris,
    I tried your code and it worked fine but after I put this code I am getting another issue. within the loop I had a code to make the fields non modifiable on the screen and was working fine but now what's happening is it's making the all the lines uneditable except the one with data on it (which is completely opposite), this is what I have coded:
    LOOP AT lt_el_tbseg INTO lo_el_tbseg.
        lo_el_tbseg->get_static_attributes(
                               IMPORTING static_attributes = lv_bseg ).
    IF lv_bseg-kblnr NE ' '.
      SELECT belnr
                 fipos
                 kostl
                 PSPNR
                 geber
                 saknr
                 fkber
                 grant_nbr
                 gsber
                 FROM kblp
                 inTO corresponding fields of wa_kblp
                 WHERE belnr = lv_bseg-kblnr and
                      saknr = lv_bseg-saknr.
            ENDSELECT.
    move: wa_kblp-belnr to wa_bseg-kblnr,
    wa_kblp-fipos to wa_bseg-fipos,
    wa_kblp-kostl to wa_bseg-kostl,
    wa_kblp-pspnr to wa_bseg-projk,
    wa_kblp-geber to wa_bseg-geber,
    wa_kblp-saknr to wa_bseg-saknr,
    wa_kblp-fkber to wa_bseg-fkber,
    wa_kblp-grant_nbr to wa_bseg-grant_nbr,
    wa_kblp-gsber to wa_bseg-gsber,
    lv_bseg-dmbtr to wa_bseg-dmbtr.
    append wa_bseg to lt_bseg.
    lo_nd_edit_property = wd_context->path_get_node( path = `ZPRELIMINARY_POSTING.CHANGING.T_BSEG.EDIT_PROPERTY` ).
          get element via lead selection
          lo_el_edit_property = lo_nd_edit_property->get_element( ).
          lo_el_edit_property->set_attribute(
            name =  `EDIT_FIELD`
            value = 'ABAP_TRUE' ).
          lo_el_edit_property->set_attribute(
            name =  `EDIT_WBS`
            value = 'ABAP_TRUE' ).
    endif.
    endloop.
    o_nd_t_bseg = wd_context->path_get_node( path = `ZPRELIMINARY_POSTING.CHANGING.T_BSEG` ).
    get element via lead selection
            lo_el_t_bseg = lo_nd_t_bseg->get_element( ).
      CALL METHOD lo_nd_t_bseg->bind_table
        EXPORTING
          new_items            = lt_bseg.
    Can you please see what I am doing it wrong here....

  • Production order from sales order with multiple line item(for one material)

    Dear Gurus,
    I am working in MTO scenarios. If there is several line item in a sales order for one material, multiple production order( same as no. of sales order line item) is getting created against each of the line item.My requirement is,since the material code is same in each line item and sales order is one, one production order should be generated for all line item. please tell me how to do it.
    (Here for one material, multiple line item is required for some specific reason)
    Regards
    Rajib Pathak

    Hi,
    This is not possible.
    In Std SAP will create one production order for one sales order. The stock is also allocated to thet particular sales order only. Because each and every sales order may vary in any one of the parameters. Considering this, SAP has designed like this.
    Regards,
    V. Suresh

  • Problem:ABAp list to pdf :downaloading single line item instead of multiple

    Hi all,
             my requirement is converting the report output as pdf and download. if user enter multiple vendors, we have to download vendor data based up on vendor as separate pdf file. for this i used NEW PAGE PRINT ON. everything i'm downaloding fine.but my problem is when vendor have multiple line items ,it is downloading only one line item that is lastline item. but i need total line items have to download.I'm pasting my code here. Can Anyone suggest.
    TYPES: BEGIN OF type_data,
           lifnr TYPE ekko-lifnr,
           matnr TYPE lips-matnr,
           vgbel TYPE lips-vgbel,
           vgpos TYPE lips-vgpos,
           mfrgr TYPE lips-mfrgr,
           vbeln TYPE ekes-vbeln,
           erdat TYPE ekes-erdat,
           lfdat TYPE ekes-eindt,
           lgort TYPE lips-lgort,
           verur TYPE ekes-xblnr,
           lfuhr TYPE ekes-uzeit,
           lfimg TYPE lips-lfimg,
           meins TYPE lips-meins,
           posnr TYPE lips-posnr,
           kdmat TYPE lips-kdmat,
           dabmg TYPE ekes-dabmg,
           eindt TYPE eket-eindt,
    * Add by liza DEVK989704
           park TYPE ZPO_PARK-menge,
    * End by liza DEVK989704
           END OF type_data.
    DATA: gt_data TYPE STANDARD TABLE OF type_data.
    DATA: gw_data LIKE LINE OF gt_data.
    Data : BEGIN OF t_data OCCURS 0,
           lifnr like ekko-lifnr,
           matnr like lips-matnr,
           maktx like makt-maktx,
           vgbel like lips-vgbel,
           vgpos(6),      " like lips-vgpos,
           mfrgr like lips-mfrgr,
           vbeln like ekes-vbeln,
           erdat like ekes-erdat,
           lfdat like ekes-eindt,
           lgort like lips-lgort,
           verur like ekes-xblnr,
           lfuhr like ekes-uzeit,
           lfimg(15) type p decimals 0,    "like lips-lfimg,
           meins(3),     " like lips-meins,
           posnr(6),     "like lips-posnr,
           kdmat like lips-kdmat,
           dabmg(15) type p decimals 0,    " like ekes-dabmg,
           menge(15) type p decimals 0,
           eindt like eket-eindt,
           adv(3),
           adrnr type lfa1-adrnr,
           EMAIL type zmamm_dt1002-EMAIL,
    * Add by liza DEVK989704
           PARK(15) type p decimals 0,
    * End by liza DEVK989704
           END OF t_data.
    FORM FM_DOWNLOAD_DATA .
      data: wa_pri_params like pri_params.
    data: w_valid(1).
    data: w_tabix type c.
    data: w_rqident type rspoid.
      data: list_name like PRI_PARAMS-PLIST.
          l_x = 'X'.
      caLL FUNCTION 'GET_PRINT_PARAMETERS'
       EXPORTING
         NO_DIALOG                      = L_X
       IMPORTING
         OUT_PARAMETERS                 = wa_pri_params
         VALID                          = w_VALID
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
       wa_pri_params-PAART = 'X_65_80'.
          wa_pri_params-LINSZ = '185'.
    IF w_valid EQ 'X'.
    * WAIT UP TO 1 SECONDS.
    CONCATENATE 'E'
    w_tabix
    sy-datum+4(4)
    sy-uzeit INTO
    wa_pri_params-plist.
    ENDIF.
      DATA: lv_maktx   TYPE makt-maktx,
            lv_adv(01) TYPE c.
      DATA: lv_menge TYPE zomm_t0104m-menge.
    *-- Set titles
      title1 = 'Panasonic HA Air-Conditioning (M) Sdn Bhd, Shah Alam'.
      title2 = '(Formerly Known As Matsushita Industrial Corp. Sdn. Bhd.)'.
      title3 = sy-title.
      IF NOT pa_fax IS INITIAL.
        NEW-PAGE LINE-SIZE 120 LINE-COUNT 44.
        title3 = 'Outstanding shipping notifications by supplier'.
      ENDIF.
      SORT gt_data BY lifnr lfdat matnr vgbel vgpos eindt.
      LOOP AT gt_data INTO gw_data.
    NEW-PAGE PRINT ON NO DIALOG PARAMETERS wa_pri_params.
        AT NEW lifnr.
          NEW-PAGE.
          sy-pagno = 1.
    *-- Get the vendor name
          CLEAR: gv_name1,
                 gv_telf1,
                 gv_telfx.
          SELECT SINGLE name1 telf1 telfx
                 INTO (gv_name1, gv_telf1, gv_telfx)
                 FROM lfa1
                 WHERE lifnr = gw_data-lifnr.
    ENDAT.
    at new matnr.
    *-- Get the material description
          CLEAR lv_maktx.
          SELECT SINGLE maktx INTO lv_maktx
                 FROM makt
                 WHERE matnr = gw_data-matnr
                   AND spras = sy-langu.
    endat.
    *-- If "only pending shipping notifications" is selected, remove all
    *   entries with no pending quantity
        IF gw_data-lfimg LE gw_data-dabmg AND
           pa_pend = 'X'.
          CONTINUE.
        ENDIF.
    *-- Highlight entries where the SN delivery date is before the PO
    *   delivery date
        IF gw_data-lfdat < gw_data-eindt.
          FORMAT INTENSIFIED ON.
          lv_adv = 'X'.
        ELSE.
          FORMAT INTENSIFIED OFF.
          CLEAR lv_adv.
        ENDIF.
        lv_menge = gw_data-lfimg - gw_data-dabmg.
    * Add by liza DEVK989704
        clear: PARKING, T_PARK.
        refresh: T_PARK.
        Select * from ZPO_PARK into T_PARK
        where vbeln = gw_data-vbeln
        and lifnr = gw_data-lifnr
        and matnr =  gw_data-matnr.
          Append T_PARK.
        Endselect.
        Loop at T_PARK.
          PARKING = PARKING + T_PARK-menge.
        Endloop.
        gw_data-park = PARKING.

    IF pa_fax IS INITIAL.
          WRITE:/2(18) gw_data-matnr,
                  (40) lv_maktx,
                       gw_data-vgbel,
                       gw_data-eindt,
                  (04) gw_data-mfrgr,
                  (18) gw_data-verur,
                       gw_data-vbeln,
                       gw_data-lfdat,
                  (07) gw_data-lfimg UNIT gw_data-meins,
                  (07) gw_data-dabmg UNIT gw_data-meins,
                  (07) lv_menge UNIT gw_data-meins,
                       gw_data-lgort,
                       gw_data-erdat,
                  (01) lv_adv,
    * Add by liza DEVK989704
                  (08) gw_data-park.
    * End by liza DEVK989704
        ELSE.
          WRITE:/2(12) gw_data-matnr,
                  (26) lv_maktx,
                       gw_data-vgbel,
                  (16) gw_data-verur,
                       gw_data-vbeln,
                       gw_data-lfdat,
                  (07) gw_data-lfimg UNIT gw_data-meins,
                  (07) gw_data-dabmg UNIT gw_data-meins,
                  (07) lv_menge UNIT gw_data-meins,
                       gw_data-lgort.
        ENDIF.
        PERFORM write_vline.
    *    AT END OF lifnr.
           If pa_dtim NE '000000'.
            ULINE.
            SKIP.
            WRITE:/12 TS_VEND.
            WRITE:/12 TS_ATT.
            WRITE:/12 TS_FROM.
            SKIP.                                               "D01K934099
            WRITE:/12'DELIVERY TIME:',pa_dtim.                  "D01K934099
            SKIP.                                               "D01K934099
            WRITE:/12 TS_TEXT1.
            WRITE:/12 TS_TEXT2.
            WRITE:/12 TS_TEXT3.
            WRITE:/12 TS_TEXT4.
          Else.
            ULINE.
            SKIP.
            WRITE:/12 TS_VEND.
            WRITE:/12 TS_ATT.
            WRITE:/12 TS_FROM.
            WRITE:/12 TS_TEXT1.
            WRITE:/12 TS_TEXT2.
            WRITE:/12 TS_TEXT3.
            WRITE:/12 TS_TEXT4.
          Endif.
        move-corresponding gw_data to t_data.
        move : lv_maktx  to t_data-maktx,
               lv_menge  to t_data-menge,
               lv_adv    to t_data-adv,
    * Add by liza DEVK989704
               parking   to t_data-park.
    * End by liza DEVK989704
        append t_data.
      IF sy-subrc NE 0.
        MESSAGE i999(sa) WITH 'No data found'.
      ENDIF.
    NEW-PAGE PRINT OFF.
    * To fetch the spool number from TSP01 table
      sELECT rqident
    FROM tsp01
    INTO w_rqident
    *UP TO 1 ROWS
    WHERE rq2name = wa_pri_params-plist.
    ENDSELECT.
    * /*--------Convert Spool to PDF-----------/
      IF wa_pri_params-PDEST IS INITIAL.
        wa_pri_params-PDEST = 'LOCL'.
      ENDIF.
      CONCATENATE P_DEST T_DATA-LIFNR '.PDF' INTO G_FILENAME.
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
        EXPORTING
          SRC_SPOOLID                    = w_RQIDENT
         NO_DIALOG                      = SPACE
       IMPORTING
         PDF_BYTECOUNT                  = G_BYTECOUNT
       TABLES
         PDF                            = T_PDF
       EXCEPTIONS
         ERR_NO_ABAP_SPOOLJOB           = 1
         ERR_NO_SPOOLJOB                = 2
         ERR_NO_PERMISSION              = 3
         ERR_CONV_NOT_POSSIBLE          = 4
         ERR_BAD_DESTDEVICE             = 5
         USER_CANCELLED                 = 6
         ERR_SPOOLERROR                 = 7
         ERR_TEMSEERROR                 = 8
         ERR_BTCJOB_OPEN_FAILED         = 9
         ERR_BTCJOB_SUBMIT_FAILED       = 10
         ERR_BTCJOB_CLOSE_FAILED        = 11
         OTHERS                         = 12
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    *   /*---------download to specified folder--------/
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          BIN_FILESIZE            = G_BYTECOUNT
          FILENAME                = G_FILENAME
          FILETYPE                = 'BIN'
        TABLES
          DATA_TAB                = T_PDF
        EXCEPTIONS
          FILE_WRITE_ERROR        = 1
          NO_BATCH                = 2
          GUI_REFUSE_FILETRANSFER = 3
          INVALID_TYPE            = 4
          NO_AUTHORITY            = 5
          UNKNOWN_ERROR           = 6
          HEADER_NOT_ALLOWED      = 7
          SEPARATOR_NOT_ALLOWED   = 8
          FILESIZE_NOT_ALLOWED    = 9
          HEADER_TOO_LONG         = 10
          DP_ERROR_CREATE         = 11
          DP_ERROR_SEND           = 12
          DP_ERROR_WRITE          = 13
          UNKNOWN_DP_ERROR        = 14
          ACCESS_DENIED           = 15
          DP_OUT_OF_MEMORY        = 16
          DISK_FULL               = 17
          DP_TIMEOUT              = 18
          FILE_NOT_FOUND          = 19
          DATAPROVIDER_EXCEPTION  = 20
          CONTROL_FLUSH_ERROR     = 21
          OTHERS                  = 22.
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    endloop.
    ENDFORM.

  • Multiple PO's created for a SC with a Single line item except delvery date

    Hi Experts,
    I have one issue ... SRM - Classic scenario
    One Shopping Cart created with one line item ... but generated two PO's EX - First one  - A and Sec - B
    Almost the  data is ame except the delivery date .
    There can be a possibility that it was splitted into two PO's .. I will accept it ... but the problem I am facing is different ...
    When I am trying get the PO details in SRM side .. using Tcode BBP_PD ... I am able to see two PO's ...
    But when I am trying get the PO details using the FM - BBP_PD_PO_GETDETAIL .. here I am able to see only one PO that is B here ...
    I am not able to find PO - A in SRM Side ...
    But I can See in the backend sys .. R/3 ... TWO PO's (A and B) are available ......
    IN backend system we are having one Report Program Which will display the Shopping cart number for the perticular PO number ... when I am trying to execute this report to get the Shopping cart number for A Purchage Order ... I am not able to get the Shopping cart number ... message is Shopping cart does not exist ... in this program we have used the standard FM only ... there is no problem with this report ...
    My Question is Why I am not able to see the first PO ( A ) at SRM end  ... there is table where the PO's get stored at SRM end  BBP_PDBEI .. in this table also I can see only the PO - B not A .
    1.Please let me know what can be the problem ... and guide me to find the PO at SRM end ...
    2. Why the Shopping cart converted into Multiple PO .. when thr is only one line item ...
    3. I think PO cannot be split into multiple PO's based on Delivery date ...
    We have not done any splitting criteria in our system ... everything is standard only ...

    hi Hari
    only one PO is possible . check the item both are same or not.
    for eg. one sc created and went to cockpit for vendor assignment - PO will created from purchase rside
    in the mean time end user change the material in the cart via check status and assign valid source of supply and PO will create.
    1 sc- 2 POs created in my past experience.
    and deleted which PO i dont like.
    in BBP_PD you can not see PO docs, since you are in classic ? you can see if it is order as direct material since PO will create in SRM  though it isa classic..
    what really happened in your system,
    po split for delivery date means how did you get different dates.
    br
    muthu
    Edited by: Muthuraman Govindasamy on Oct 27, 2009 12:10 PM

  • Confirmation of service PO with multiple line item

    Hi SAP Experts,
    We are using SRM 7EhP1(classic scenario).
    I have a question regarding confirmation of service shopping carts/POs with several line items.
    We created a SC (and successively a PO) with N service positions.
    When we try to create a SRM confirmation, it seems that we can only confirm one position at a time.
    For material SC, in the list of SCs open for confirmation we have a line for each shopping cart, and you can create a single confirmation for the whole shopping cart.
    On the contrary, for service SC we have a line for each SC line. In this case, we cannot process all the lines in a single confirmation, but we need to create multiple confirmations.
    Is that correct? Is there a way to confirm at the same time all the service positions of the SC?
    Thanks!
    Cinzia

    Hello Cinzia,
    Regarding creating service confirmations we can create only one confirmation for one line item of SC. If there are N line items we have to create N confirmations. This is because activation of Service bundling switch in SRM and this switch is irreversible. This switch is a facility/convenience for SRM PO's replicated to ECC to view all service line items in ECC without bundling. This scenario happens for both Service and Limit items.
    I hope service bundling switch in your SRM system 7 EHP1 is activated.
    There is no other way to create service confirmations for all items at one go.
    We do have this inconvenience and raised this concern with SAP and no reply.
    Hope, this answers your question.
    Best Regards,
    Kalyan

  • Multiple vendor line items in MIR7

    Hi,
    Is there a way that I can post various vendor line items in MIR7 like the one in FB60 which is via complex posting?
    Thanks,
    Chaikaru

    >
    chaikaru wrote:
    > Hi,
    >
    > Is there a way that I can post various vendor line items in MIR7 like the one in FB60 which is via complex posting?
    >
    > Thanks,
    > Chaikaru
    Yes why not, if you are doing invoicing against multiple line items, you can assign each line to different vendor, to accomplish this, you need to click on DETAILS tab of invoice header and in INV.PARTY put in the vendor number and save.
    Same process you do with other line with different vendor number.
    Edited by: Afshad Irani on Jun 3, 2010 4:04 PM
    Edited by: Afshad Irani on Jun 3, 2010 4:04 PM

  • How to Update multiple line Items in Sales order Interactive form

    Hi,
            I have created one online interactive form for sales order. In that I incorporated dynamic table logic .i.e. we can add row and delete row using buttons. Interactive form is working fine with one line item. But if I give multiple lines in table (line item) its creating sales order with single line item. So please help me how to pass multiple lines.
    Thanks & Regards,
    Krishna.

    Hi,
    Check out this link, this deals with the problem you are facing.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/802f0ed1-a17a-2c10-7db4-d515a5b047ed
    Regards,
    Runal

  • Single/ Consolidated  GR/IR entry for a PO having multiple line items

    Hi,
    In a PO there are couple of line items for materials of similar type and class. While making the Goods Receipt, the Accounting Document is making two no of line items for GR/IR accounts as credit and two no of inventory accounts as debit. Same is happening to GR/IR account while making Invoice Receipt document also.
    Informatively, both the materials above have been assigned to one GR/IR account in the OBYC table.
    My question is, is it possible to consolidate the value of both these materials and post one line item for GR/IR account. This is required as in our case in a PO, normally, we do have multiple line items and hence it is resulting multiple no of GR/IR and inventory accounts in a single accounting document. As we are getting details of the line item from PO history, we do not require it in the accounting document.
    Requested to kindly help.
    Regards
    B.Mohanty

    Hi
    This is not possible (you will compleet los the link between the Invoice and GR)
    The reason is that when you receive an invoice that this is based on a G/R line and the way arround when you receive first the invoice(s).
    The system need this for the automatecly clearing from the  G/R - I/R account, that is based on PO an PO line item number.

  • MM: PO Not Picking up PR Having Multiple Line Items

    Hi All,
    When Creating PO with Reference to PR Having multiple line items, not picking up the line items and also the vendor and also the where in we  have to select  input tax code.
    CASE1: Created PR 760001340 with single line item and also could able to create PO.
    Case2: Created PR 760001341 with multiple line items, When creating PO with reference to PR the line items and Vendor are not picking Up.
    Plz. Advise a solution.
    Thanks in Advance.....
    Regards
    Sudheer

    HI SHWN,
    Thanks for prompt response.
    ERROR Message: When referencing a requisition, please also enter a requisition item no.
    Regards
    Sudheer

Maybe you are looking for