Changing PO date to Actual GI date in Delivery from SALES ORDER(VA01)

THe Actual Requirement is...Whenever I create a SALES Order with PO date this PO date should automatically trigger in Actual GI date field in Delivery.
I just want to share my solution before I get some help from you Guys.. I have actually used a userexit MV50AFZ1. This was working fine for me when they are creating the order manually.
But the client's requirement is that.. it should work for automatic process.. this is nothing a FILE Is being send to SAP through MIDDLEWARE and IDOC get triggers with that... So the CLients wants when this process is happening he wants the PO date of the Sales order to be the ACTUAL GI DATE in Delivery.
Can you please help me out with this Aumatic Process...

Shivakumar,
U would need to check the inbound FM associated with the particular IDOC...you would need to make similar changes as you did in MV50AF71 to fulfill your requirement.
Regards
Anurag

Similar Messages

  • BAPI to create Delivery from Sales Order posting EIKP data

    Hi All,
    I'm searching for BAPIs to create a Delivery from Sales Order which I can update/insert data into EIKP table because I am receiving data that it must be saved into ZOLLA and ZOLLB fields (Customs Office: Office of Exit/Entry and Destination for Foreign Trade).
    I tried with BAPI_OUTB_DELIVERY_SAVEREPLICA, BAPI_OUTB_DELIVERY_CREATE_SLS and BAPI_DELIVERYPROCESSING_EXEC but I didn't find structures with these fields.
    Please, I need some help to resolve this issue.
    Thanks in advance.

    Hello Manoj what you have to do to create PO from PR is that
    1) Use   BAPISDORDER_GETDETAILEDLIST (pass sales order number in sales_document table) and then get PR (Purchase requisition number from this BAPI.
    2) Use  BAPI_REQUISITION_GETDETAIL to get PR items
    3) Use BAPI_PO_CREATE1 to craete PO from PR then.
    to create goods movement you can use
    BAPI_GOODSMVT_CREATE
    REWARDS IF USEFUL.

  • How to display planned movement date and actual movement date together?

    Hi, Professionals,
    My purpose is to list delayed outbound deliveries.
    Anyone could tell me how to display planned movement date and actual movement date?
    Appreciate your help.

    Thanks Shiva.
    I tried another way to do it. It works only for a short period of time.
    By using VL06O, I list all outbound deliveries by limiting both planned goods movement dates and actual goods movements dates to the same week I would like to inspect. Say both from 7th/11 to 14th/11.
    then I list outbound delivery list with planned goods movement date to 7th/11 but left out actual goods movements dates this time.
    In excel, I compare those two lists and filter out those unique ones because those unique documents means delayed deliveries which cannot delivery according to planned date.
    However, the "delayed" list generated by this method has some noises. Not all of documents are really delayed although most of them do.
    I'm also looking for a way to list sales documents number of these delayed delivery documents so i can retrieve order details from it such as order value.
    Help still needed.

  • Actual Start Date vs Actual End Date - Activity

    In an Activity, I would like to seperately enter the Actual Start Date and Actual End Date.
    - If I try this using (partial) confirmation,  I receive a pop-up with an error that the two dates must be entered together or no dates can be entered.
    The activity in my project can take over a year to complete and the requirement is to confirm start (at start) and to confirm end (at end).
    Does anyone know of a solution for this issue?
    Thanks in advance!

    Hi Patrick,
    I think you need to research a bit more on confirmations in PS. Actual dates in partial confirmations are practically interpreted as provisional actual start dates and actual finish dates. The actual start for the activity remains the same however the actual finish date is overwritten once the final confirmation is entered.
    For example, take an activity with start date 05.09.2011 and finish date as 14.09.2011. Now when you provide confirmations on a daily basis, you can use the following strategy:
    Day 1, 05.09.2011: actual start 05.09.2011, actual finish 05.09.2011, % complete 10%
    Day 1, 06.09.2011: actual start 05.09.2011, actual finish 06.09.2011, % complete 20%
    Day 1, 07.09.2011: actual start 05.09.2011, actual finish 07.09.2011, % complete 25%
    Only when you provide the final confirmation the actual finish date is confirmed. The various confirmation line items may be viewed via CN48N.
    Regards,
    Ammar

  • Dynamic data flow from sales order to delivery and vice-versa

    Hi Experts,
    One of our teams working for a client (transportation industry) on ECC 6.0 is facing an issue in relation to copying of partner data. (Ship-to-party address field changes to be precise)
    Currently, whenever the partner address data changed in a Sale order, though delivery is already created prior to this change, the change done is dynamically getting reflected in delivery too. Further, if the partner data in the delivery is changed, this also is getting updated on the preceding document i.e. sales order.
    We have checked the copy controls under VTLA and didn’t find any specific modifications made in this regard. Our question is:
    Is there any configuration available in standard SAP through which the data updates (like header data viz. partner field data etc.) get dynamically updated forward and backwards in a sales flow(i.e. from sales order to delivery and vice-versa)
    Your help on this will be highly appreciated.
    Regards,
    Jagan

    if the partner data in the delivery is changed, this also is getting updated on the preceding document i.e. sales order.
    The standard functionality is if you change the address of a partner function, the same will get reflected in an existing sale order.  This being the case, can you reconfirm your statement that in delivery, if you change the partner function, the same will get updated in sale order also?
    G. Lakshmipathi

  • Update the pricing data from sales order

    Hello Friends,
    we use vk11 to create a combination for a particular condition type pricing so the same will be reflected when we create a sales order.
    my requirement.
    If the user makes any changes in the price for a paticular condition in the sales order thn the same should get updated in the masters so tht next time if i create sales order for the same combination it should reflect the updated price.
    in simple terms i want to update master data for a particular condition if the user makes changes in  sales order pricing.
    Regards,
    Sunny

    Dear Sunny,
    in simple terms i want to update master data for a particular condition if the user makes changes in sales order pricing.
    It is not possible to update condition record when you change the price in the sales order.
    I hope this will help you,
    Regards,
    Murali.

  • Copying Pricing date from Sales Order to Invoice

    Hello,
    I am trying to copy pricing date at line item level from sales document to invoice. Currently I have a pricing date of 04/02/2015 in sales order line item, but in invoice, the same line item pricing date is coming up to be 04/08/2015. The pricing date is defaulting to when the invoice was created.
    How can I change the pricing date of the invoice so that it matches sales order pricing date?
    Thanks,
    Brijesh

    Hello Shiva,
    The line item I am looking at has the item category of Z0N1 (used for Stock item), but when I go into copy control using tcode (VTFA) under item level, I don't see this item category as one of the options for selection. Is that normal?
    Thanks,
    Brijesh

  • Sales Order (VA01)- Addtional Data Tab B Request

    Hi All,,
    This is sales order(VA01) relevant and I have added the new "ZZFIELD" field in the "Additional data B" which i kept screen painter attributes check box chosen "Input Field" and Input "required".
    When i am creating sales order(VA01), the moment click on "addtional data B"  ZZfield become mandatory input field able to save sales order sucessfully after keying data. But user want's, after enter line item data which is material & qty , then cursor required to go additional data B which is mandatory field ZZFIELD. Right now, user enters line item material , qty and he is able to save it Sales order  and cursor is not going or waiting at ZZFIELD in addtional data B Tab(unless and unitl he press Additional data B Tab) .
    Is there any solution after user enter material and qty after clicking enter cursor should go "Additional data B" wait at "ZZFIELD"(as this mandatory field before sales order save) ? 
    If we dont go the Additional data B and save the document , it's not giving the message "Make an Entry required fields and it is directly saving the document.?
    Any help is highly approciate ....
    Below code written already:
    Program:SAPMV45A screen :8459 put PBO code as per below:
    Loop at Screen.
    If screen-name = 'VBAP-ZZFIELD'.
      if SY-TCODE = 'VA01' AND ORDERTYPE = 'ZSS'
        SCREEN-INPUT = 1.
       MODIFY SCREEN.
      ENDIF.
    ENDIF.
    Best Regards
    Kushal

    Hi   Abdul ,
    You dont have to do ny extra coding for the scroll bar once the no of fields increase with respect to the tsb screen area it will automatically have a scroll bar in it .
    Hope it helps
    Regards
    Swapnil

  • BAPI for Create PO from Sales Order Data and POST GR from PO created

    Dear,
             Can u help me how to create BAPI for Purchase Order creation from sales order Data
              what the bapi to Post GR from the PO created.
    Regards,
    Manoj

    Hello Manoj what you have to do to create PO from PR is that
    1) Use   BAPISDORDER_GETDETAILEDLIST (pass sales order number in sales_document table) and then get PR (Purchase requisition number from this BAPI.
    2) Use  BAPI_REQUISITION_GETDETAIL to get PR items
    3) Use BAPI_PO_CREATE1 to craete PO from PR then.
    to create goods movement you can use
    BAPI_GOODSMVT_CREATE
    REWARDS IF USEFUL.

  • Data Transfer from Sales Order to Purchase Requisition

    We are trying to transfer data from Sales Order to purchase requisition in an individual purchase scenario.
    We want to copy value in KUWEV-KUNNR in Sales Order and paste in CMMDA-KUNNR on purchase requisiton.
    So in user-exit "USEREXIT_MOVE_FIELD_TO_ME_REQ" on include "MV45AFZB" we added the following code:
    FORM USEREXIT_MOVE_FIELD_TO_ME_REQ.
    DATA:   BEGIN OF IT_VBEP OCCURS 0,
            VBELN LIKE VBEP-VBELN,
            BANFN LIKE VBEP-BANFN,
            KUNWE LIKE VEPVG-KUNWE,
            END OF IT_VBEP.
    DATA: BEGIN OF TI_VBAK OCCURS 0.
            INCLUDE STRUCTURE IT_VBEP.
    DATA: END OF TI_VBAK.
        SELECT A~VBELN   B~KUNWE
          INTO CORRESPONDING FIELDS OF TABLE IT_VBEP
        FROM  VBAK AS A INNER JOIN VEPVG AS B
                              ON B~VBELN = A~VBELN
        WHERE A~AUART EQ 'PDIR'.
       LOOP AT EBKN.
           LOOP AT IT_VBEP.
                IF IT_VBEP-VBELN = EBKN-VBELN.
                  IT_VBEP-BANFN = EBKN-BANFN.
                ENDIF.
                MODIFY IT_VBEP.
           ENDLOOP.
       ENDLOOP.
    *Break-point.
    SORT IT_VBEP BY vbeln.
    LOOP AT IT_VBEP.
      IF EBAN-BANFN = IT_VBEP-BANFN.
        EBAN-KUNNR = IT_VBEP-kunwe.
        MODIFY EBAN.
      ENDIF.
    ENDLOOP.
    * Example
    * EBAN-LIFNR = zzfield1.
    * EBKN-KOSTL = zzfield2.
    ENDFORM.
    *eject
    Right now it turns random values on the purchase requisition field.
    Edited by: Carlos Salazar on Sep 15, 2010 5:19 PM
    Moderator message: please use more descriptive subject lines from now on.
    Edited by: Thomas Zloch on Sep 15, 2010 5:26 PM
    Edited by: Carlos Salazar on Sep 15, 2010 5:30 PM

    Hi,
    Why are you using only the following line to read the VBEP table?
    WHERE A~AUART EQ 'PDIR'.
    Shouldn't you be using a sales document number or something more specific than document type?
    Regards,    Andy

  • To copy data from Sales order to subsequent purchase order

    Hi all,
    My requirement is to copy Ship-to party address and Incoterms from sales order to subsequent Purchase order.
    I am using exit EXIT_SAPFV45E_001 for this.
    My doubt is - in which tables, Ship-to party address and Incoterms for a purchase order are stored? So that I can copy them from Sales order and update Ship-to party address and Incoterms for corresponding purchase order.
    In exit I can access sales order number and corresponding purchase requisition.
    Thanks,
    Sachin

    what business scenario is this? third-party-order-processing? in that case SAP standard would submit the data from the sales order to the purchase order (via purchase requisition) automatically, see documentation: http://help.sap.com/saphelp_erp60_sp/helpdata/en/dd/560287545a11d1a7020000e829fd11/content.htm

  • User exit to copy the data from sales order to billing document

    hi everyone,
    Is there an user exit to copy the data from sales order to billing document?
    Regards
    Prabudh

    hi
    copy control would be the better option to choose.. but still u can a give a search in list below and opt for the right one..Refer to the link below..
    http://www.planetsap.com/Userexit_List.htm
    User exits for Sales order
    1•USEREXIT_DELETE_DOCUMENT
    2•USEREXIT_FIELD_MODIFICATION
    3.•USEREXIT_MOVE_FIELD_TO_VBAK
    4.•USEREXIT_NUMBER_RANGE
    5.•USEREXIT_SAVE_DOCUMENT
    User exits for billing
    1.•USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    2.•USEREXIT_ACCOUNT_PREP_KOMPCV
    3•USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
    4•USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB
    5.USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
    Reward if Useful
    Thanx & Regards..
    Naren..

  • Notification data copy to Service orders created from sales order.

    Hi,
    In our business scenario, we are creating sales order from service notification & service order from sales order. Document flow will be Service Notification  -> Sales Order -> Service Order.
    Here user wants that Notification data to be copied to service order. This is possible when we create service order directly from notification. Buit in our case we are not creating service order directly from Notification, we are creating service order from sales order. in this case notifiationdata is not getting copied to service order.
    Our ABAPer's are also tried to find the exit or enhancement points, but not able to find any thing for this requirement.
    Pl. suggest, how to do it.
    Thank you in advance.

    The only way I have seen to do this kind of billing is using Resource Related Billing (RRB) and customizing of the Dynamic Item Processer Profile (DIP Profile)
    It is not exactly like a simple flow of Notification > Sales Order > Service order (with all of the problems of how to copy notification data through to Service order) but might be a possible solution for you ?
    [http://help.sap.com/saphelp_erp60_sp/helpdata/en/3c/abae15413911d1893d0000e8323c4f/frameset.htm]
    This link will take you to the main CS help but then drill down into Call Management > Billing > Resource Related Billing > Billing Scenarios.
    regards,
    Tony

  • Can't change quantity when copy from Sale order for Delivery

    Hi all!
    Can i use authorization for can't change quantity when copy from Sale order for Delivery.

    Tien,
    Approval will not work when you have mutiple rows of data.  You would have to work with SP Transaction Notification
    There has been threads before on the forum on the same topics.
    Block the Quantity in Sales Delivery
    Approval Procedure for chaning quantity in Delivery Document
    Suda

  • How to trigger an Idoc from Sales order creation and change

    We are trying to trigger Idoc from sales order creation and change we have done following setting mentioned below:
    Follow the below steps:
    1. Go to NACE transaction
    2. Select V1 application and select OUTPUT TYPES
    3. Select the required output type and double click on Processing routines.
    4. Enter Medium as DISTRIBUTION ALE, Program as RSNASTED and Routine as ALE_PROCESSING.
    5. Save it.
    message type ORDERSP in the distribution model (BD64).
    Follow the below steps to configure the condition records:
    1. Go to NACE
    2. Select V1 application and select CONDITION RECORDS
    3. Select the requred output type and click on Condition records
    4. Selection screen will be displayed.
    5. Go for execution. In that screen enter the selection criteria. For eg Condition record is based on Sales document type. Then
    Sales doc type = OR
    Funt = SP
    Partner = blank. It means there is no restriction on partner numbers.
    Medium = A
    date/time = 4
    Lan = EN.
    Note: partner is left blank means, the sales order of type OR can be send to all partners.
    6. Save it.
    We also done ALE configuration.
    We are facing problem that from VA02 "No output has been selected for printing Message no. V1102"
    Kindly suggest the solution.
    Regards,
    Sharad Dixit

    Hi ,
    Please check the total error description and diagnosis as below :
    InVa02 enter SO  go to extras->output->Header->edit.You can find a table with all the triggered output types. Choose the output type BA00 with medium Distribution ALE and go for 'Processing log'. It will show you the error description.
    Please paste the diagnosis .
    Thanks and Regards,
    P.Bharadwaj

Maybe you are looking for