Problem with Multi line items in Order

When a customer sends an order, generally the line items will be maintained individually.But here the problem is customer wants all kg deposits under separate item u2018AAAu2019.
Example:
Item Code     Quantity     Item Price        Net Price Net Amount
abc     2 kgs     $15/kg        $15/kg      $30.0
xyz     3 kgs     $10/kg        $10/kg      $30.0
AAA     5 kgs     $15/kg        $15/kg      $75.0
There will be no item in SAP with code u2018AAAu2019, so before placing the order in SAP, someone has to distribute the kg deposits in the ratio of quantity to all items with kgs. Also when we send back the invoice, take out all kg deposits from different items , add up total and put it under new item u2018AAAu2019 and send it.
Can you suggest how we can resolve this problem ?

create a new program in which
--> get all the line items into table
--> sort all line items
--> loop at itab and put sum of all similier line items in anoter itab with priscribed name
--> finally use call transaction va03 or some thing by passing new internal table
shiva

Similar Messages

  • Cost Center Error in Shopping cart Multi Line items

    Hi,
    We are working on SRM 4.0. when the user is trying to create a shopping cart from catalog he gets the error message as
    "you don't have the acces to the cost object xyz12.please return to the cost assignment section and correct".
    We have given the access to that cost center in SRM even also he is getting the same error. 
    He does not have any problem with single line item against the same cost center. problem gets only when he is going to create with multiple line items in shopping cart against the same cost center.
    Request all  please advise me where i need to check to overcome the issue.
    Regards,
    Sri

    Hi,
    Thanks for your kind response. can you please elaborate bit more  step by step.
    Awaiting for your feedback.
    Regards,
    sri

  • LSMW program to upload the sales order with multiple line items.

    Dear SD and PP Gurus,
    I am new to creating LSMW Program.
    I want to create a LSMW program to upload the sales order with multiple line items. I have read on SDN that it can be done on two phases. First Create Header Data than line items. IS IT TRUE??, Or
    Is there any procedure by which we can load the sales orders with multiple line items in a single run (part).
    I want to use Batch process, not a BAPI or IDOC procedure.
    I have created a program with
    object 0090
    Method 0000
    Program Name RVINVB10
    Program Type D
    Source Structure 1 - For Header and Source Structure 2  for Line Items.
    Mapped Field INDET (With Fix Value 1), ORDERTYPE, SALESORG, DISTCHANNEL, DIVISION, CUSTOMER, PONUMBER , DELVDATE, PRCGDATE, PMTTERM
    INCOT1 INCOT2 with Source Structure - 1 and
    Field INDENT (With Fix Value 2),  ITEMNO, MATCODE, MATQTY, SUOM, PLANT, BATCH, AMOUNT with Structure-2
    than maintained Structure relation ship, field Mapping, Specified Files, Assigned files, Read Data and other process,
    At final stage (Start Direct Input program RVINVB10) it is giving a message - Table name not allowed.
    Please tell me where I am wrong.
    Thanks in advance.
    DSC

    Dear SD Gurus n Experts,
    I have solved the above problem. But there is another problem appearing regarding the date format. Now system generating a message: Date . . is not valid.
    While I am using Date: YYYYMMDD format in flat file, which is SAP's Standard Format.
    In SDN Link: LSMW upload Sales Order using VA01/VA02     I have found that there are some date fields which are mandatory to filled. Here I have mapped
    VDATU - Requested delivery date,  BSTDK - Customer purchase order date,  PRSDT - Date for pricing and exchange rate,  BSTDK_E - Ship-to party's PO date, FKDAT - Billing Date, KORDT - Delivery Date,
    and PRGRS - Date type is Constant = D
    Can any one tell me, where is the priblem.
    With thanks,
    DSC

  • Create ecatt script for one sales order creation with multiple line items

    Hi ,
    I want to create a ecatt script for one sales order creation with multiple line items. Preferably SAP GUI.
    This selection of data will be from an external file/ variants which will have only one row of data in it.
    Firstly: I have to sort the external file having same PO Numbers in an order.Group them together.
    Second: I have to create sales order for those many line items having same PO Number.
    Best Regard
    Taranum

    Hi Micky
    Firstl you should upload the Line items for a particular sales Order in an Internal table
    and then pass that internal table to your BAPI during your coding corresponding to a particu;lar sales order
    In case of any issues pls revert back
    Reward points if helpful
    Regards
    Hitesh

  • The color of text item with multi-line in web

    I tried to change the background color of text item with multi-
    line, but it does not work when I run in the web, if some body
    knows that, please give a hint.
    Thanks
    Frank
    null

    I tried to change the background color of text item with multi-
    line, but it does not work when I run in the web, if some body
    knows that, please give a hint.
    Thanks
    Frank
    null

  • Where/ how do I set SNP to create Planned orders with multiple line items?

    Hi
    Currently our SNP is generating planned orders on a daily basis, it creates a single order with a single line item per location.
    Where/ how do set SNP to create planned orders on a daily basis to generate a single order with multiple line items per location, so therefore one planned order with multiple line items for a single location.
    Thanx
    Keegan

    Hi Keegan,
                   In SNP (APO) it is not possible to create order with multiple line items.
    But you can do some settings so that while planning system can do aggregation and disaggregation.
    But your requirment should be set on Aggregation/Dis-aggregation logic.
    Please follow the follwing links:
    http://help.sap.com/saphelp_scm2007/helpdata/en/2c/c557e9e330cc46b8e440fb3999ca51/content.htm
    Aggregation:
    http://help.sap.com/saphelp_scm2007/helpdata/en/42/f731d078e73ee4e10000000a1553f6/content.htm
    Disaggregation:
    http://help.sap.com/saphelp_scm2007/helpdata/en/a6/ebefaf32e22e468355da304cc59387/content.htm
    Please be sure that the setting of this logic will be at planning area level.
    You can't change aggregation/disaggregation logic further.
    Regards,
    Santosh

  • Not displaying Actual cost Line Items for Order

    Hi Gurus,
    Recently we did patching from SPC6 to SPC8. After patching we noticed that could not able to see displaying Actual cost Line Items for Order from work order.
    System is not throughing error message when I double cline on line item at Plan/Actual Comparison screen in work order cost tab.
    We can able to see the same from KB01 with out any problem. I have attached the details.
    Could any one suggest me please. Appreciate your thoughts
    Regards,
    Srini

    Hi Paul,
    I have implemented this note and get it sorted out.
    Thank you for support.
    Regards,
    Srini

  • Delivery Qty Zero for STO with 2 line item

    Hi Guys,
    I have a problem when create delivery for STO with 2 line item which contain material with BOM. I have create delivery with tcode VL10G refer to Purchase Order and Delivery successfully created, but delivery qty was zero or empty. I try to fill the dlv qty same with STO Qty but  popup message "Only 0 PC for the material available", I have check the stock and there is a stock exist for the material.
    I need help for this problem.
    Regards
    Gunawan

    Hi,
    Please check if inbound delivery is already created for that Qty
    Thanks
    Diwakar

  • How to get Header data into multiple times along with the Line Items

    Dear All,
      I have problem while mapping the Header data and line item data to the flat file structure, Header data have to repeat along with the Line item data in the flatfile.
    Details is below.
    Example
    Header record is one
    E1EDK01
    E1EDKA1
    Line items are two
    E1EDP01
    E1EDP01
    I want in the flat file two records having duplicate data in the fields which is belongs to header data
    Like :
    Record #  partner data     Line item data
    Record 1 : WE name1 city   00010 materialname1 156
    Record 2 : WE name1 city   00020 materialname2 198
    ( WE name1 city - data is same in the record 1)
    For this what I did is I mapped the node E1EDP01 to the flat file message type node then I got all the line item data and first record is with header data but not in the second record.
    I tried all node functions but no result because Idoc itself header data exists one record, I am not able to copy.
    If any one knows , please give solution.
    It is great help to me.
    Thanks in Advance.
    Ramarao

    Dear Ramarao,
    This will help you,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f59730fa-0901-0010-df97-c12f071f7d3b
    No Documentation for Mapping Function useOneAsMany (Mapping Problem)
    /people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool
    /people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
    /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
    Thanks & Regards
    Agasthuri Doss

  • Display Variance line items for Orders

    Hello Sapients,
    I am trying to execute Transaction code KOB3 (Display Variance line items for Orders) ( /n > Accounting> Controlling > Product Cost Controlling > Cost Object Controlling > Product Cost by Order > Information System > Reports for Product Cost by Order > Line Items > KOB3 )
    But for some reason I do not see any thing.
    Your Advise is greatly appreciated.
    Thanks and Regards
    Ravi

    There is no problem with Authorization.
    And i am checking for the correct cost elements and prorcess orders.
    Not only KOB3 but also the related reports are not working (viz: GR55-> 7KV9)
    thanks and Regards
    Ravi

  • Multi line items in mail

    Hi All,
    In my scenario sales order created in R3 side and send mail from XI side.
    Every thing is working fine. But the issue is in case multi line items in the sales order, the mail showing only one line item.
    Please help me on this scenario, and send me some documents for go through and try.
    Thanks.
    Senthil kumar V.

    1 We can send an e-mail with multi-line content using E-Mail Adapter.
    2. We can set Dynamic Data as the e-mail content.
    3. The Dynamic Content has to be formatted either in Mapping or in Module and then sent to E-mail Adapter. E-Mail Adapter cannot do the formatting.
    4. Content can be of any number of lines.
    5. The consolidation should be done in Mapping or in a Module program and the consolidated data should be given to the adapter.
    6. Yes Content can also be set in HTML format
    Edited by: Dharamveer Gaur on Sep 18, 2008 7:15 AM

  • Problem with MB1C while creating sales order stock

    Hi all,
    I am working  in MTO scenario. I have taken the requirements type as "KE" & assigned the requirements class "ABC". This "ABC" is copied from requirements class "40".
    I have created a sales order with 1 line item and in MB1C when i create the stock, the system creates the stock for the sales order.
    <b>Problem:</b> I start with creating the inquiry - quotation on the basis of inquiry - sales order on the basis of quotation. Now when i go to MB1C to create the sales order, I get the following error:
    <b>"Account assignment cannot be carried out because of different origin no."</b>
    Message no. <b>V1134</b>
    <b>Diagnosis</b>
    The sales document to which you want to refer is based on sales document 108 and item 000010. Therefore, the settlement and possibly inventory management are carried out using the number of the preceding document.
    <b>System Response</b>
    This entry is not allowed.
    <b>Procedure</b>
    Enter the document and the item number of the preceding sales document.
    Also if for the same sales order i run the <b>MRP</b> using <b>MD50</b>, then in the transaction code <b>MD04</b> - the system shows the reference of the <b>"inquiry document number"</b> for the production order. The production order should take the reference of the sales order number.
    For the requirements class in the fields <b>"Acct Assgt Cat"</b> & <b>"Valuation"</b> i have selected <b>"M"</b>
    Regards,
    Allabaqsh G. Patil
    Message was edited by:
            allabaqsh patil

    Hello Allabaqsh,
    How did you solve the problem?
    I am facing the same problem.

  • Runtime error - FBL1N - vendor balance with customer line item

    Hi gurus,
    One scenario where i have assign vendor as customer & customer as vendor in vendor & customer data. also make tick mark for both clearing with vendor & customer.
    when i see the customer report with vendor item it shows me the customer & vendor dues but when i tried to see the vendor balance with customer line item it gives dump error.
    Runtime Errors         PERFORM_NOT_FOUND
    Exception              CX_SY_DYN_CALL_ILLEGAL_FORM
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_FORM', was
         not caught in
        procedure "%_LDB_CALLBACK" "(FORM)", nor was it propagated by a RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        The program "RSDBRUNT" is meant to execute an external PERFORM,
        namely the routine "CB_DDF_GET_KNA1 " of the program "RFITEMAP ", but
        this routine does not exist.
        This may be due to any of the following reasons:
        1. One of the programs "RSDBRUNT" or "RFITEMAP " is currently being developed.
        The name "CB_DDF_GET_KNA1 " of the called routine may be incorrect, or
        the routine "CB_DDF_GET_KNA1 " is not yet implemented in the program "RFITEMAP
        2. If the program SAPMSSY1 is involved in the runtime error, one of
        the function modules called via RFC is not flagged as remote-capable.
        (see Transaction SE37  Goto -> Administration -> RFC flag)
        3. There is an inconsistency in the system. The versions of the
        programs "RSDBRUNT" and "RFITEMAP " do not match.
    Warm regards,
    Dhananjay R.

    Hi martin
    still problem was not solved. actually i am working on ECC 6.0 & not required to implement the sap note on development. i had done the configuration in vendor master & customer master for clearing.
    please suggest me.....what to do ?
    Than'x
    Dhananjay R

  • Partial goods receipt for PO with multiple line items

    Hello All,
    While doing MIGO, for a PO with multiple line items, if one line item is having error, will we be able to go ahead with goods receipt? Or entire material document is blocked for doing MIGO?
    We will be doing a development - in case if there is problem in goods receipt (checking of any parameter, and if it is missing - we will be posting error message)...is it possible to ahead with next line item and still post the material document?
    If partial goods receipt if possible for PO with multiple line items, how do we do it?
    Regards,
    RJS

    Hi
    While doing MIGO, for a PO with multiple line items, if one line item is having error, will we be able to go ahead with goods receipt? Or entire material document is blocked for doing MIGO?
    No. You cannot post the MIGO, if even one of the PO line item is having problem or giving error.
    We will be doing a development - in case if there is problem in goods receipt (checking of any parameter, and if it is missing - we will be posting error message)...is it possible to ahead with next line item and still post the material document?
    If you skip a line irem and do GR with next line item, how will you match quantity & value with the vendor Invoice at LIV ?
    If partial goods receipt if possible for PO with multiple line items, how do we do it?
    Partial goods receipt is possible for PO line items. That means, if PO has 100 qty for line item 1 then you can do GR for 50 now and 50 later depending on the vendors delivery.
    Hope this is what you mean by "Partial Goods Receipt".
    Edited by: Arun R on May 10, 2010 2:03 PM

  • Certificate of Origin with multiple line items in sapscript - Urgent Please

    Hi Everyone,
    Can you please help me with this issue in SAPSCRIPT.
    This is for billing document with multiple items with each line item with different country of origin.Right now the form is printing only one country of origin even if it has 3 line items each with different country.It's getting first line item's country and printing......but it should diplay each country with comma separated... But in debug it is showing all 3 different countries but in print it is printing only first country of origin.
       I have given text element as &VBDKR-TEXT& in form.
    In ABAP program I am getting country of origin like this,
    CLEAR : V_T005,VBRP , MARC  .
      LOOP AT TVBDPR.
      SELECT SINGLE * FROM VBRP
        WHERE VBELN = VBDKR-VBELN AND POSNR = TVBDPR-POSNR .
    begin of addiiton for ppr 13661
      CLEAR MCH1.
    SELECT SINGLE HERKL FROM MCH1 INTO MCH1-HERKL WHERE MATNR = VBRP-MATNR
                                           AND CHARG = VBdpR-CHARG.
      IF MCH1-HERKL NE ' '.
        CLEAR MARC-HERKL.
        MARC-HERKL = MCH1-HERKL.
      ELSE.
        NAME = VBDKR-VBELN.
          PERFORM HEADER_TEXT1 USING 'VBBK' 'Z065' NAME SY-LANGU.
        IF SY-SUBRC EQ 0.
          READ TABLE TEXT_LINES INDEX 1 .
          IF SY-SUBRC EQ 0.
            VBDKR-TEXT = TEXT_LINES-TDLINE.
          ENDIF.
        ELSE.
          SELECT SINGLE * FROM MARC WHERE MATNR = VBRP-MATNR
                                    AND   WERKS = VBRP-WERKS.
        ENDIF.                                                  "ppr 13661
      ENDIF.                               "PPR 13661 ADD
      CLEAR *T005T.
    data:SEP(3) VALUE ' , '.
    DATA: BEGIN OF ITAB OCCURS 100,
           LANDX LIKE VBDKR-TEXT,
          END OF ITAB.
    clear ITAB.
      SELECT  LANDX FROM T005T INTO table itab WHERE SPRAS = SY-LANGU  AND
    LAND1 = MARC-HERKL.
    LOOP AT itab.
    VBDKR-TEXT = ITAB-LANDX.
    *MOVE VBDKR-TEXT TO ZLAND.
    AT NEW LANDX.
       concatenate ITAB-LANDX sep into VBDKR-TEXT.
    ENDAT.
    modify ITAB.
    VBDKR-TEXT = ITAB-LANDX.
    ENDLOOP.
    endloop.
    Thanks in advance.

    Hi
    It depends on the size of the main in the page, you can set the high of main in order to print max a certain number of rows (so items).
    In this way you don't need the abap control, but the system automatically will print the first page with 15 row and the next with 25

Maybe you are looking for