Amended sales order thru order import process

Hi All,
Is it possible to add a new sales order line in existing sales order using ORDER IMPORT process ?
means I want to amend the existing sales order as well as to new the sales order line also.
This task I want to accomplish using ORDER IMPORT process.
Please help me if anyone has any idea about the same . This is little bit urgent.
regards
sanjay

Hi Sandeep,
Thanks for your reply.
I have successfully imported the sales order and can amended the existing sales order/line using ORDER IMPORT process.
This task I have accomplished thru Open Interface tables : OE_HEADERS_IFACE_ALL & OE_LINES_IFACE_ALL .
Now, I want to add new sales order line in existing sales order using these open Interface tables rather than API.
Do you have any idea about the same ?
regards
sanjay

Similar Messages

  • How to make plant mandatory field in Sales order thru standard SAP process

    Hello,
    There is requirement in business that User wants to make plant field Mandatory in Sales order line item once material number is entered. Can you please guide me how I can make Plant field mandatory thru Standard SAP process.
    I had checked it thru Incompletion process & Order type incompletion messages but still Plant field is not becoming mandatory in Sales order. It only gives incompletion log while saving the SO. Please suggest how to do it thru Standard SAP process.
    Thanks & Regards,
    Saurabh

    HI
    Plant will determine based on Customer-material Info Record, Customer Master data & material Master
    If plant is not mandatory in customer Master and Customer material no problem
    but at the time of creating the material master  Plant Mandatory as per my knowledge, so system will pick plant from Material master  that is the case why you required plant Mandatory in Sale order level
    and you need to do Shipping Point Determination for that plant
    Did you check by using User Exit ? if not try once what i have suggested
    Try with User Exit
    MV45AFZZ , FORM USEREXIT_SAVE_DOCUMENT
    VBAP - WERKS = " "
    if VBAP - MATNR , POSNR = not initial
    Error Messgae "E"
    Check and Revert
    Regards,
    Prasanna
    Edited by: prasanna_sap on Feb 14, 2012 11:41 AM

  • Import attachment thru Order Import Process

    Hi all,
    we are importing sales order thru concurrent process : ORDER IMPORT successfully.
    Now I want to import attachment attached along with order header & line level.
    How it possibe thru ORDER IMPORT process ?
    regards
    sanjay

    Insert records into following tables you should be able to import attahments
    p_status := 'S';
    p_message := 'Attachment created successfully';
    IF p_operation_code = 'INSERT' THEN
    BEGIN
         SELECT fnd_documents_short_text_s.NEXTVAL
         INTO v_media_id
         FROM dual;
    EXCEPTION
    WHEN OTHERS THEN
         p_message := 'Unable to get short text next value';
         RAISE e_stop_process;
    END;
    BEGIN
         SELECT fnd_documents_s.NEXTVAL
         INTO v_doc_id
         FROM dual;
    EXCEPTION
    WHEN OTHERS THEN
         p_message := 'Unable to get fnd documents next value';
         RAISE e_stop_process;
    END;
    BEGIN
         SELECT datatype_id
         INTO v_data_type_id
         FROM fnd_document_datatypes
         WHERE name = 'SHORT_TEXT';
    EXCEPTION
    WHEN OTHERS THEN
         p_message := 'While finding datatype id '||SQLERRM;
         RAISE e_stop_process;
    END;
    BEGIN
         SELECT category_id
         INTO v_cat_id
         FROM fnd_document_categories_tl
         WHERE user_name = p_cat_name;
    EXCEPTION
    WHEN OTHERS THEN
         p_message := 'While finding category id '||SQLERRM;
         RAISE e_stop_process;
    END;
    BEGIN
         INSERT INTO fnd_documents
         (document_id,
         creation_date,
         created_by,
         last_update_date,
         last_updated_by,
         datatype_id,
         category_id,
         security_type,
         publish_flag ,
         usage_type,
         start_date_active)
         VALUES
         (v_doc_id,
         p_creation_date,
         v_user_id,
         p_last_update_date,
         v_user_id,
         v_data_type_id,
         v_cat_id,
         4,
         'Y',
         'O',
         SYSDATE);
    EXCEPTION
    WHEN OTHERS THEN
         p_message := 'While inserting data into fnd documents '||SQLERRM;
         RAISE e_stop_process;
    END;
    BEGIN
         INSERT INTO fnd_documents_tl
         (document_id,
         creation_date,
         created_by,
         last_update_date,
         last_updated_by,
         LANGUAGE,
         description,
         media_id,
         source_lang)
         VALUES
         (v_doc_id,
         p_creation_date,
         v_user_id,
         p_last_update_date,
         v_user_id,
         'US',
         p_description,
         v_media_id,
         'US');
    EXCEPTION
    WHEN OTHERS THEN
         p_message := 'While inserting data into fnd documents_tl '||SQLERRM;
         RAISE e_stop_process;
    END;
    BEGIN
         SELECT fnd_attached_documents_s.NEXTVAL
         INTO v_att_doc_id
         FROM dual;
    EXCEPTION
    WHEN OTHERS THEN
         p_message := 'Unable to get fnd attached documents next value';
         RAISE e_stop_process;
    END;
    BEGIN
         INSERT INTO fnd_attached_documents
         (attached_document_id,
         document_id,
              creation_date,
              created_by,
              last_update_date,
              last_updated_by,
              seq_num,
              entity_name,
              pk1_value,
              automatically_added_flag)
         VALUES
         (v_att_doc_id,
         v_doc_id,
         p_creation_date,
         v_user_id,
         p_last_update_date,
         v_user_id,
         p_seq_num,
         p_entity_name,
         p_pk_value,
         'N');
    EXCEPTION
    WHEN OTHERS THEN
         p_message := 'While inserting data into fnd attached documents '||SQLERRM;
         RAISE e_stop_process;
    END;
    -- Fnd_File.put_line(Fnd_File.LOG,'The Values '||v_media_id||','||p_note);
    BEGIN
         INSERT INTO fnd_documents_short_text
              VALUES (v_media_id,
                   p_note,
                   NULL);
    EXCEPTION
    WHEN OTHERS THEN
         p_message := 'While inserting data into fnd_documents_short_text '||SQLERRM;
         RAISE e_stop_process;
    END;
    ELSIF p_operation_code = 'UPDATE' THEN
    BEGIN
    UPDATE fnd_documents_short_text
    SET short_text = p_note
    WHERE media_id IN (SELECT media_id
                   FROM fnd_attached_documents fad,
                        fnd_documents fd,
                        fnd_documents_tl fdt,
                        fnd_document_categories_tl fdct
                   WHERE fad.document_id = fd.document_id
              AND fd.document_id = fdt.document_id
              AND fd.category_id = fdct.category_id
                   AND fad.entity_name = p_entity_name
                   AND fad.pk1_value = p_pk_value
                   AND fdct.user_name = p_cat_name);
    EXCEPTION
    WHEN OTHERS THEN
         p_status := 'E';
         p_message := 'SQL Error while updating note :'||SQLERRM;
    END;
    END IF;

  • GTS Sales return order to be mapped under Import process/Declaration

    Hi,
    We have Sales return & return delivery process which needs to be mapped in GTS under Import process.
    The standard GTS requires PO and Inbound delivery for Import process. Also we have a requirement to treat the return sales order and delivery under Inward processing with economic impact understanding. Also like to know the customs declaration process involved with inward processing.
    I had thought of following option to meet the customer requirement.
    1.Trigger the outbound IDOC from return sales order to GTS as Inbound PO ,similarly return delivery as Inbound delivery.
      This would need complex developement.Function module development.
    2.Can we map the Return sales order type doc and delivery doc with IMPORD instead EXPORD/EXPDLV
    Please advise on the GTS  scenario suitable for Returns sales process  along with import declaration process.
    Thanks in advance.
    Regards,
    Pramod

    Hello Pramod,
    Which version do you have?  In the recent Support Pack levels for GTS 8.0, the SD Returns are already treated just the same as MM Inbound Deliveries.  Of course you need to populate the "Preliminary Document" type & number in the FT header data.  And, provided you clear the "safekeeping" using Transit processing or the BAdI, the GR then appears in the work-list for Declaration after Goods Receipt as expected.
    Regards,
    Dave

  • Error coming while creating sales order Thru' Assembly processing.u00A0

    Hi,
    I am working on assembly processing. when i am creating sales order if order qty when i am giving more then 999 means if i given 1000 kg it giving an error like the exection factor in the network is reduced to 1000 to 1 kg and confimed as 1 kg only and system is giving msg *Change not accepted (execution factor in network too large)* where i have tomodify this .
    In above context i would like to brief you that i can't extend quantity more then 999(Three alfabet).
    All suggestions will be apreciated with good points.
    Regards,
    Vishal Kr. Sharma

    Hi vishal
    Check in MMR the  following settings  :
    1) Base unit of measure
    2) sales unit
    3) Strategy group maintained  in MMR ->MRP 3 view
    4) Availability check(sales/general plant view in MMR ) and MRP type (MRP1 view in MMR)  has been maintained or not.
    5) Check the fields maintained in the MRP 3 view.
    Regards
    Srinath

  • Sales order thru email

    Hi Gurus,
    How to send sales Order thru email , wht r the settings ?
    Thanks & Regards,
    Vikas

    Hi,
    This is similar to any other output that is sent. Pls goto NACE transaction select Sales - then output types, then select your output type and give the transmission medium as Mail and then you need to have the right processing routines and forms. If you have any standard texts which need to come in the order the same can be set as well and called in the print programs.
    Hope it helps.

  • Creating Sales Order thru Billing Dcoument..

    Hello ABAP'ers
    I am new to ABAP development and i need your help in Creating a Sales Order thru Billing Docu. I know all the tran codes and tables to use for this but want to understand the process in detail how it all works.
    Creating Sales Order thru VA01
    Creating Delivery thru VA03 from Sales order display (Need to more in depth for this step)
    Post Goods issue delivery
    Create Billing Document.
    Any help in creating this process will be sincerely appreciated.
    ABAP Rookie
    Moderator message: what Brad said...
    Edited by: Thomas Zloch on Nov 4, 2010 5:32 PM

    Check with your business analyst, functional analyst, or development team lead.  These are (basic) process issues not related to ABAP development - or there's always the help files...

  • Sale order status showing being processed

    Dear Friends,
    I am working in SAP ECC 6.0
    My sale order Qty is 10 pcs eing processed
    and delivery qty is 10 pcs - Completed
    Good Issue - 10 Pcs - Completed
    Invoice - 10 Pcs - Completed
    In spite of carrying out full delivery sale order status is still showing being processed.
    is there any configuration missing or is there any program to update the status.
    Kindly advice.
    Satish

    Hi Ankur,
    2 Doubts i have:
    1)
    In our case for the Item Category we have not maintained anything in Completion Rule however we have maintained Update Document Flow in Order to Delivery Copy Control.
    Our Document status shows as Completed in this case as well. Hence i do not know the Significance of maintaining Completion rule in item category.
    2) I have a order type which has Order Relevant Billing. The Copy Control for Order to Billing does not have any Update Document Flow Check Box. We are using a Service Material in this Order Type.
    After creating the Billing we still have Order status as Being Processed.
    Can you help in finding a solution to the above?
    Madhukar

  • The status of sales order is being in processed

    Dear All,
    The delivery quantity is fully delivered and it is order related billing, this is a Sales Bom, the header is delivered and the line items are billed, the status of sales order is being in processed after the completion of the subsequent documents,
    In the document flow the system is showing that the order is being processed, we have checked the copy control and the relevant assignments. As we are facing the problem while creating sales order system giving an error message that there are open items for the customer. Please tell me if there is any customization is there or is there any other way to achieve.
    The other requirement is, if the customer credit limit get exceeds then the system should not save the sales order, if the credit lies within the limit and if the stock is not available in that particular plant, it is a dynamic credit limit.
    Thanking you in advance for your valuable time and efforts,
    Thanks & Regards,
    Mani

    HI ,
    1. For your first issue u201Cstatus of sales order is being in processedu201D
    Please check the below settings:
    Copy control From Sales order (OR) to Delivery (LF) u2013 T.code: VTLA.
    In Item level (TAN)  whether u201CUpdate document flowu201D is activated or not.
    You should also check in the Item category (VOV7):
    Completion Rule: Which one did you maintain?
    2. Error message: Open items:
    This is related with Credit management. Check whether you maintain any open item days or percentage, please check in OVA8. If you maintain you should get the payment from your customer . This is related with FI ( T.code : F-28 )
    Dynamic credit check :
    The setting is available in OVA8. Choose your credit control area, Risk category and Credit groups ( Should be Sales order group ). Then select the indicator u201C Dynamic u201C In Reaction you should give B ( Error ). Then the system will not allow to save the sales order if credit limit is exceeded .
    3. If the stock is not available in that particular plant, it is a dynamic credit limit.
    I think it is not possible . You may use the User exit in OVA8.
    Hope this can help you .
    Regards
    M. Lakshmi Narasimhan

  • Sales Order Status showing  Being Processed

    Hi All ,
    I my client created sales order with 100000.700 ton and with 42 Piratical delivery document with different dates and 42 billing document and clear accounting documents
    But the problem is Sales order status showing as Being Processed
    I check all delivery documents if was showing total quantity delivers and i check copy controls OR to ZLF Updated document flow is there
    and i Item category TAN don't not having completion rule
    My question is it is mandatory to maintain Completion rule in item category
    The Problem With Only One sales order it showing Being Processed, rest of sales document Showing completed
    Do we need to Updated Status manually ?
    Can any one guide me what could be a Problem
    Thanks
    Rajesh

    Hi,
            GO TO VA02 THEN SELECT THE ITEM  THEN GO TO SCHEDULE LINE -> STATUS TAB-> GIVE THE REASON FOR REJECTION
    Regards,
    T.Murugu

  • Why the Sales Order is still being processed?

    Hi,
    This process is done: Sales Order (RE - Return) --> Return Delivery (Goods receipt) --> Billing
    Sold-to party wrongly entered in the Sales Order, so they wanted to close the Sales Order. They did Cancellation for Billing (VF11) and reversed the Goods receipt (VL09).
    Also, Reason for Rejection is put in the line item (VA02). However, the status of the Sales Order is still Being Processed instead of Completed.
    From the Data Flow, it states that order-related billing status is still open*. But the Billing documents and Accounting documents are Completed and Cleared respectively as seen from the Data Flow.
    How to close this Sales Order?
    Thanks.

    Dear Friend,
    If you want to close any particular order then go to order reason and give the reason and save it.
    The system will automatically close the order and would show processed and in the due lists also it would not appear.
    award points if helpful,
    regards,
    Amlan

  • Amendment sales order

    Hi all,
    I am creating sales order with reference to customer sales order.
    later, customer corrects something in that purchase order and again send it to us.
    For that, we need to create amendment sales order and we have to mention amendment number.
    How will you map  this scenario in sap.
    Thanks in advance,
    babs

    Hi
    This is wild guess and you can explore the possibility...
    In the sales order there should be a field 'Amendment Number' (or Counter etc.,)with default value as 0 (zero).
    Whenever an order is saved the system should check the Tcode and if it is VA02 then it should add one to the value in the field Amendment Number. This will ensure that everytime the order ischanged through VA02, the value increases by one in that field. Consult your ABAPer and hope this is definitely possible.
    Thanks,
    Ravi

  • Sales order is currently being processed by user CRMREMOTE

    Hello everyone,
    I am working in R/3 and trying to make a delivery for sales order that moved from CRM to R/3. Error message appears 'The sales order is currently being processed by user CRMREMOTE'.
    Appreciate any help.
    Kirill.

    HI,
    Please take it as suggestion.
    As your ERP-System is being integrated with CRM-System. It seems that this common document is getting proceesed at CRM-System by some user.
    Please consult with CRM-System Admin for the same.
    Best regards,
    Amit.

  • After invoice completed the sales order is showing being processed

    Dear All,
    I have created one Sales Order.  Checked the incomplet procedure where it gives document is completed.
    I have created invoice with reference to this Sales Order.  Invoice is successfully created and Accounting document is also generated.
    Now if I check the document flow the Sales Order is showing as Being Process (not completed)
    Can anyone tell me the reason why this sales order is showing Being process in Document Flow though the invoice is completly processed.
    with regards
    Amjathpasha

    Hi,
    Please check the below link. All this is happening because of some inconsistency in the system, for which we do not have a clear reason, every time and every issue may be having a different reasons. It is advisable to go through the different solutions provided by others in the forum and analyze which is suitable for your scenario.
    Hope below link helps you...
    Re: Sales Order Status
    Venkat Cheedalla

  • Release a production order thru sales order

    Hi all,
    Hope everyone's doing well.
    Can anyone guide me as to how we can release a production order thru a sales order and henceforth confirm it?
    Thanks in advance,
    Thanks & Regards/Aryan

    yes it is [possible to convert sales order to production order directly.
    You can use strategy 82 for this.

Maybe you are looking for

  • Optimization advice requested - 10g Java / ncomp

    Hi. I am a Linux System Administrator who has been assigned the task of maximizing the performance of my company's Oracle datamining. I have little experience in SQL, little experience in Java coding, and most of my Oracle experience is from 1998. Bu

  • How do i import excel data base into pdf form drop down field

    Hi, I have a table of about 2500 rows and three columns that i would like to import into a drop down window on a PDF form to be self populated when item selected rather than entering the data. How can this be done? Thanks! Richard

  • How to change table of content font in captivate 6

    Hi There, Can somebody please suggest me how to change table of Content Text font English to Arabic in Captivate 6 and which font supports Arabic language. Please refer below image, highlighted text font should be changed. Looking forward for help. T

  • Preview in Illustrator EPS

    I cannot get a preview in Illustrator eps but I can get one in Illustrator.ai. How come? Thanks.

  • Resist specified user to browse some fields in query

    Hi Gurus, I really need your help... some of QUERY fields should be invisible for some user-id,  how can I achieve this? or another suggestion... Thanks for any help. Jamie