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

Similar Messages

  • Return Order Creation with Multiple Lines not possible - EHP3

    Hi Experts,
    We are facing an issue while creating Return Orders with external reference billing document post upgrade from CRM 7.0 to EHP3.
    While we select multiple line items from the external reference billing document and Create a return order(BT120H_CPL/NewComplEF ), the very first line item gets repeated instead of all the line items getting copied to the subsequent view(BT120H_CPL/ItemList ).
    Please help.
    Thanks,
    Rohit

    I hope you have tried.If not can you  please try with  below qualifier
    '015' Billing Document Number of Invoicing Party
    Provide the billing document EEDK02-BELNR.
    Also give qualifier at item level
    E1EDP02 : use Qualifier =15
    Provide the Billing document number at E1EDP02_BELNR and item at ZEILE.
    I am not sure what is error you are getting when you are referencing billing document.If something STD Idoc  is not working as you expected use your custom logic to bring the data when you are posting the Idoc.
    I have not worked on sales order process,But I have worked on Purchase Order creation process.
    Please let me know the error ,If i know the error i will defiantly help you.

  • Return Order Creation with Multiple Lines not possible - 7.0 to EHP3

    Hi Experts,
    We are facing an issue while creating Return Orders with external reference billing document post upgrade from CRM 7.0 to EHP3.
    While we select multiple line items from the external reference billing document and Create a return order, the very first line item gets repeated instead of all the line items getting copied to the subsequent view(BT120H_CPL/ItemList ).
    Please help.
    Thanks,
    Rohit

    >>. But is it possible in PI 7.0?
    Just few cents..
    Test using SOAPUI or  XMLSPY and use that same WSDL URL in the target URL of Communication channel. Just to make sure you use the right endpoint.
    or
    You can specify the method name as  soap action dynamically using udf in mapping and see how it behaves.

  • Two Purchase Requisitions created on MRP for one Sales Order

    Hi,
    A Sales Order has been created with one schedule line and one delivery date. When MRP is run it creates 2 Purchase Requisitions. The material in the Sales Order is a Prepack Material and has a component attached in the BOM. Please advice as to why the order is splitting when MRP is run and also why 2 PR's are created.
    Thank you for your help.

    Please check in OVZG................assembly type........if u maintained .3 or 4. It may be the reason
    Dynamic assembly order ---SAP HELP DOCUMENT
    If you create a sales order for a material with the 'assembly processing' technique, the system carries out an availability check for the components needed for the assembly. Depending on the results of the availability check, either one or several procurement elements are created. The quantity for a one-time delivery and/or the next possible deadline for a full delivery and/or a delivery proposal with then ext possible deadline are displayed on the availabililty control screen.

  • Two invoices for one sales order

    I want to create two invoices for one sales order
    Scenario is like to create sales order for value of 100 $, and I want to send order reference billing after saving the sales order for 10% of order amount
    I would say 10% of 100 $
    And after delivery I want to issue a invoice for 90 %( rest of the amount) which is delivery relevant invoice.
    Both invoices will be relevant of accounting.
    Would any body suggest this, how it would be mapped it in to SAP.

    Hi Suresh,
    It is possible in Partial billing. Maintain the Billing plan and create a plan with the inputs as u specified.
    Go to IMG-SD-Billing-Billing plan.   Do ur own configuration for Billing plan.
    Now in Sales document creation mode....header details-Billing plan, U block the billing schedules and as per ur requirement , remove the billing block and create billing document.
    If u configured Account detrmination procedure, U wld get the accounting document wrt billing document.
    Hope this wld help U.
    Regards,
    Praveen

  • 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

  • Multiple purchase orders for one sales order: ME59

    Hi,
    I have issue with converting sales order into a purchase order.
    A standard third party sales order (type TAS) with multiple line items is being converted to a single purchase order.
    In case of a free of charge sales order (type FD) with multiple line items, each line item is being converted to an individual PO.
    The difference between TAS and FD is the item catecory and schedule line category.
    In both the above cases only one purchase requisition is being created per sales order. The issue is when this PR is being converted to a PO. (ME59 is used to convert the PR).
    Is there any setting/config which is driving the multiple PO creation based on either schedule line category or the account assignment category setup in the schedule line category?
    Please advice...
    Thanks,
    KSB

    Any ideas?

  • VL10C double delivery notes for one sales order

    Dear all,
    Currently we encountered an very strange issue in our SAP.  we found that via VL10C, SAP create two duplicated ourbound delivery notes for one sales order, which resulted in a double items and amount in the billing document. These two deliveries notes are complete the same, which were created with 7 sec interval via VL10C. Check in the sales order, we can see delivery Qty was double against order Qty for all the items.
    does anyone have a clue on this issue? your effort and feedback will be most applicated!
    Thanks & Best Regards,
    Kyo NG

    Hi,
    I forgot this possible cause. Check Note 61148 - VL04 VL02 AME807 AME815: Insert to table VETVG and related notes, specially Note 931297 - VL10x, VL10HU - Duplicate entries displayed in STO.
    Regards,
    Eduardo

  • Two deliveries required for one sales order

    Hello Friends,
    I have a quirey , I have two types of goods in one sales order, one is dangerous goods and other one is normal. How ever we are thinking to make two seperate deliveries even they are in one sales order. How can two diff deliveries gets created.
    We are planning to create new shipping point with new loading group for the dangerous goods .
    Will the above decision works or is there any simplest way to create two auto deliverys for one sales order.
    Reg.

    Hi all,
    I have yet another proposal - using copy control and adding there dangerous goods profile LIPS-PROFL as split criterial. This field is populated originally from material master MARA-PROFL field.  You can check for example routine FV50C201. Split criteria are defined in likp-zukrl field.
    I think that is better solution then introducing new shipping point. Because there are some determinations and dependencies related to shipping points. So the more shipping points you have, the more additional config you have. If it is needed by business to have separate shipping points - then fine. But if the goods are shipped from the same place, then I would rather modify copy control instead of multiplying config and master data. I say duplicated effort in master data - because with 2 shippiong points you would need to maintain DG profile field and additionally loading group.
    Kind regards
    Witek Prawecki.

  • Two  outbound Delivery for one sales order

    Hi Experts
    I am an Abaper and i have to find the root couse of this problem
    problem is  two outbound delivery getting generated for one sales order with same no of quantity
    Now i am unable to find the approch what can be root cause of this problem , I checked the details of these deliveries these are created by some job , but even in job history any positive solution comeout,
    please suggest me what are other ways or causes of this problem

    Hi there,
    Delivery split will be there is the header data in shipping is different.
    For eg of shipping points, delivery dates, ship-to etc are different.
    Apart from this in the copy control routines at the headerlevel from OR to LF in VTLA, there might be some customized code written to split the deliveries. Possible conditions could be items from different warehouses / storage locs or if the quantity is more, then a delivery split.
    Pls check if there is any customised code written in copy control routines in VOFM.
    Regards,
    Sivanand

  • More than 3 AR for one Sales Order in relationship map

    Hello,
    i would need some advice on the following: If you have more than 3 Invoice for one Sales order these are not shown seperately in the relationship map. SAP could reproduce the issue and refers to it as normal system procedure at the moment. They adviced me to post a thread here.Is there any way you could make the invoices be seen one by one.
    SAP Version 8.81 PL 5
    Thanks a lot for any advices on this topic
    Vanessa
    Edited by: Vanessa Schürer on Jan 16, 2012 2:45 PM

    Welcome to the forum.
    If you have any suggestions you post them on sap's new idea collaboration page. You do bring up a good point and hopefully in 8.82 it will be resolved as the relationship map was not originally on the road map. Hopefully they can develop this feature.

  • Two billing for one sales order for same customer

    Dear All ,
    I have a requirement of posting a two billings for one sales order.
    One is for Sales and another is for commission...
    Entry could be
    Sales Entry - Db Customer
                        Cr  Sales
    Commission entry could be
    Db - Cusomter
    Cr- Sales commission income account (P/L)
    We are having third party sales scenario , In this case billing is MIRO dependent.
    Once the miro is done then only billing is possible ...
    Could you please advise on that ..
    Regards,
    Sukh

    Dear Ratish,
    Thanks for yr reply.
    I already did that but it is not serving business purpose.
    Comm payment  - comes diff time than sales payment.
    so ,I will post one entry customer will get hit with total amount Sales + commission
    like below
    Let say 10, 000 is the sales value and 500 is the commission
    So , This entry will get posted
    Customer Db- 10,500
    Sales Cr- 10,000
    Comm Income Cr- 500
    But, As I said sales amt will be paid before so We need to clear it partially and some time customer pays also diff amount due to some defect.
    So, We wont be knowing for which case we have or havnet received the payment against commission.
    As , Customer account is got hit with total amount( Sales+ Comm..value).
    Pls advise how to solve this.
    Regards,
    Sukh

  • How the system determines the Requirement type  for one sales order

    Hi,
    SAP-SD Gurus,
    Please tell me how the system determines the Requirement type  for one sales order?
    Thanks & Regards,
    Sreenivas.P

    Hi,
    System follows some search criterial to determine the requirement type
    1. First, an attempt is made to find a requirements type using the strategy group in the material master.
    2. If the strategy group has not been maintained, the system will determine it using the MRP group.
    3. If the MRP group has not been defined, the system uses the material type instead of the MRP group when accessing the corresponding control tables.
    4. If no requirements type is found here, the system assumes a special rule and attempts to find a requirements type with the aid of the item category and the MRP type.
    5. If this is not possible, a last attempt is made to find a requirements type with the item category only.
    6. If the last attempt fails, the system declares the transaction as not relevant for the availability check or transfer of requirements.
    Please check the path
    SPRO->SALES & DISTRIBUTIONS->BASIC FUNCTIONS>AVAILABILITY CHECK AND TOR->TRANSFER OF REQUIREMENTS--->DETERMINATION OF REQUIREMENT TYPE USING TRANSACTION.
    Hope it will clarify
    regards,
    santosh

  • How to create an Invoice for the sales order using the T-Code VF01

    Hello Experts,
    How to create an Invoice for a sales order using the T-Code VF01?
    Thanks in advace,
    Suma

    hi,
    Make the following settings-
    1. Create sales document and billing type
    2. assign billing type in sales document type config VOV8
    3. Activate itemcategory as sales order related billing
    4. Maintain copy control header and item level between sales order and billing
    5. Maintain pricing procedure for sales order and billing
    6. Define Output procedure in case to print invoice
    Regards
    Goutham

  • Particular sales order of the same line item hv created multiple production

    sir,
    I am having a problem in MD04. A particular sales order of the same line item hv created multiple production order.and continously planning is going on... I didn't get why it happens.
    Will u please suggest me what should i do in this case?
    Regards
    Meenu

    Hello sir,
    yes, ofcourse, for the finished material have the BOM with some semifinished productes which are to be produced .
    In co02 , we can go through the collective production order.
    One more thing is that, in the multiple production order date(scheduling date) shows in forward(future dates).
    For ex:09-05-2010.
    Regards
    Meenu

Maybe you are looking for

  • Problem with stickiness in CSS

    Hi, I'm trying to configure a stickiness for wireless clients ( mobile phones) that accessing our sites through WAP gateway. After doing some manual reading and some testing I created the following configuration that still doesn't work: service serve

  • Adobe 'Photoshop Elements 10' and Mountain Lion

    After Mountain Lion install which was without any error or problem, loading Photoshop Elements 10 results in crash of Photoshop after a second or two of apparent satisfactory program load.  Other Adobe programs function properly. Is this a problem fo

  • TS2755 Group iMessage is not working after upgrading to ios 7.

    When creating a group chat using iMessage with ios 7 or 7.0.2  When you send a message each person gets the text as an individual text and when they reply back it comes back as an individual text not in the group chat as it did in the previous ios ve

  • Available characteristics and key figures in drilldown reports

    Hi, I'm wondering which table /structure defines what characteristics and key figures are available for drilldown reports (eg. G/L), and if it is possible to add new chars/key figs. I reckon there must be a structure resembling Report Painter librari

  • JE 4.0.92 available

    We'd like to announce a new patch release, JE 4.0.92. The release contains enhancements, bug fixes, additional examples and performance improvements. A number of these changes were motivated by the postings on this forum. Thank you for your feedback