Material substitution program for sales order

Hi,
I need to do a program with these requirements:
<<The substitution program (single process) must run for all sales orders as soon as Delivery block is set to VA and also when delivery block is removed.
Advice : Trigger program using an output type determined in the sales order>>
I need to know how to trigger this single process using "output".
Has any of u done this before? I've no idea where to start! Can anyone help me?
Tarick.

Hi ajit
In VA05 itself you can see Ordered  qty, Open order qty and confirmed quantity , Delivered qty , Delivered  date  .Even  Laxmipathi also said same thing and  i also agree with his words.
Regards
Srinath

Similar Messages

  • Error reading material cost estimate for sales order (KE292)

    Dear All,
    I have an issue with billing. we are posting july month transactions, the material cost is maintained through MR21. When releasing billing document for accounting we are getting error message like"Error reading the material cost estimate for sales order "11"
    Message no. KE292
    Diagnosis
    In Profitability Analysis (CO-PA), the system tried to valuate item 000010 of sales order 11 by reading the corresponding product cost estimate.
    However, no product cost estimate could be found for this sales order item.
    The system accessed product costing for product AMLFP011011XX00P using costing key YB3 as defined in the
    CO-PA Customizing settings.
    System Response
    The system cannot process the document any further.
    Procedure
    Check your Customizing settings."
    We cross checked with other client as a current date and we ran cost estimate through CK40N with same material. and we posted entries. Here it is working fine. but in above process it is not working. Can you pls guide me where i missed.
    Regards,
    Nagaraju,

    Hi,
    When the Costing Key is assigned to the material types in the COPA customizing, then system expects Cost estimation when billing is released to Accounts.
    If you dont run cost estimation but update the material master through MR21, system will not accept as in the Costing key configuration you must have selected the Current Standard price field for the valuation.
    Hence, try to run cost estimation and then do releasing.
    Thanks & Regards
    Ravi Kumar

  • Driver program for Sale Order

    Hi all,
    Can any body tell me Standard Driver program for Sale Order Smart form?
    Useful answer will be rewarded
    Thanks in advance,
    Sachin.

    Hi Sachin,
    you can do this by,
    <b> NACE</b> (tocde) -->  select  <b>Sales</b> --> click <b>output types</b> -->
    select any standard output type --> double click on processing routines.
    You can see the program name
    For this it is -
    <b>RVADOR01</b>
    Reply me if there is any queries

  • Deletion Utility Program for Sales Order.

    Hi Experts,
    We decided to have a deletion utility program for Sales orders. 
    The program should take sales order numbers from a source file, and delete one by one, also the program should generate process log details at the end.
    For creating the above program i need to create a new program or there is any BAPI for deleting the Sales Orders.
    Thanks & Regards,
    Ramana

    Hi,
    Possible UPDATEFLAGS:
    BAPISDH1X-UPDATEFLAG = 'D'.
    U = change
    D = delete
    I = add
    If you go to SE37 give BAPI_SALESORDER_CHANGE --> Display ---> In application tool bar Last Buttion Function Module Documentaion --> Here you get some usefull information.
    Dont Change the BAPI Just pass the Header X = 'D'.
    Try this Sample Program.
    PARAMETERS: p_vbeln  TYPE vbap-vbeln OBLIGATORY.
    DATA:  i_hdrx TYPE bapisdh1x.
    i_hdrx-updateflag = 'D'.
      CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          salesdocument     = p_vbeln
          order_header_inx  = i_hdrx
        TABLES
          return            = i_ret.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      LOOP AT i_ret.
        WRITE / i_ret-message.
      ENDLOOP.
    Thanks,
    Durai.V
    Edited by: Durai V on Aug 19, 2008 8:22 AM

  • Standard Driver Program for Sales Order Confirmation

    Hi,
    My requirement is to develop smartforms and driver program for Sales Order Confirmation.
    For doing this, I found there is a standard smartforms R2RBL_SDORC_L for Sales Order Confirmation. So I thought I can take a Z copy of this smartform and modify it to my requirement. So that we can use the Import parameters (Form Interface parameters) of the form R2RBL_SDORC_L. This will also reduce the work of writing the code in Driver program.
    Now, I need to know what is the standard driver program for this form R2RBL_SDORC_L. If I can find the program name, I can take a Z copy of that and enhance it to my requirement.
    Ultimately I believe I can reduce the work of writing code to fetch all Sales order details.
    Can anyone let me know the standard driver program name for the form R2RBL_SDORC_L?

    Can anyone share how you approached in developing smartforms and driver program for Sales order confirmation?
    Note: This program and smartforms will be assigned in the NACE transaction.

  • Standard(Smartform) Program for Sales order Confirmation

    Hi Experts,
    I have a new Requirement on Smartforms,
    It is Sales order confirmation, Can Any one say what is Revelant program for this Requirement...
    (RVORDER01) is for SAP SCript But i Required Smartform Program..???
    Thanks,,
    ksreddy.

    I Required a program for sales order confirmation ..
    Resolved..!!
    Thanks,

  • Driver program for sales order in smartforms?

    whatst he driver prog for sales order in smartforms?
    how to attach my smart form to driver prog
    thanks  & regards
    lakshmi

    Hi,
      Driver Program is the program which is used to link the form and the ABAP program.
    U have to use the FM 'SSF_FUNCTION_MODULE_NAME' to give the form name.
    Here 'Z_TRNG_SMART_MUL_PURCH_T012' is the form name.
    sf_formname = 'Z_TRNG_SMART_MUL_PURCH_T012'.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = sf_formname
        IMPORTING
          fm_name            = sf_fm_name
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CALL FUNCTION sf_fm_name
        EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS         =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
          v_ekpo                     = v_ekpo
         v_adrnr              =  v_adrnr
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
        TABLES
          it_ekko                    = it_ekko
          it_ekpo                    =  it_ekpo
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 4
      OTHERS                     = 5
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Thanks & Regards,
    Roja Velagapudi.

  • Program for Sales Order cretaion using BAPI BAPI_SALESORDER_CREATEFROMDAT2

    Hi All,
    Can any one please give me one modal program which uses the BAPI 'BAPI_SALESORDER_CREATEFROMDAT2' to create Sales Orders...
    Thank You very much in advance.....................

    Hi Krishna ,
    Please check the below links .
    [http://www.sap-basis-abap.com/abap/bapi-sample-to-upload-data-from-flat-file-to-va01.htm]
    [http://abapreports.blogspot.com/2008/06/bapi-sample-code-for.html] -- > Select and Copy from this one.

  • Standard driver program for sale order

    i am working with sale order confirmation,(smartforms)
    is there any pre defined driver program for this.Not RVador01/
    and i need to display the output in the form of a print out or PDF for sending the mail.
    So please give me the logic for this.

    Hi,
    have a look at table <b>TNAPR</b> to check the print program assigned to your smartform/sapscript.
    Best regards.

  • BDC Program for Sales order and Enquiry

    Hi All,
    Pls can you help me.
    To create sales order and enquiry I have bapis .
    BAPI_SALESORDER_CREATEFROMDAT2
    BAPI_INQUIRY_CREATEFROMDATA2
    but i want BDC Programs for that bapis
    pls can you help me
    thanks
    mars

    Hi Krishna ,
    Please check the below links .
    [http://www.sap-basis-abap.com/abap/bapi-sample-to-upload-data-from-flat-file-to-va01.htm]
    [http://abapreports.blogspot.com/2008/06/bapi-sample-code-for.html] -- > Select and Copy from this one.

  • Update Material Availability Date for Sales Order having a Delivery

    Dear Gurus,
    We have a bit out of the way scenario. There is a o/b delivery already added to a shipment. And then we receive a IDOC from external MES System (i.e. Production) with new material availability date. This new material availability date is updated on Sales Order. In short the order is delayed.
    Current Solution:
    In this case the user has to remove the delivery from the shipment manually. then the IDOC deletes the  delivery and the updates the sales order with new date followed by creation of new delivery.
    The business expects to updated the Sales Order material availability date without changing Shipment / delivery. Any solution?
    Current solution has to be changed as for Shipment purpose changes are made to delivery which are lost when the delivery is deleted.
    Edited by: abhishek singh on Feb 3, 2012 10:21 AM

    hi
    in this case you have to adopt the business process change.
    you have to update the EDI first and then you create delivery.

  • What is the Program for Sales Order Line Item Rescheduling

    Hi,
    There is a background scheduled job which does sales order line items rescheduling but I could get the name of the Program/Function Module by looking at the Jobs log. Can any one please help me?
    When does the rescheduling happen? Does it happen while creating delivery for the order? I need to understand the rescheduling the process to solve a bug in the User Exit / Screen Exit.
    Appreciate your help in Advance.
    Thanks,
    Kannan.

    If you know the job name, than you can find out the associated program name.
    Go to SM37.
    Select your job from the list
    Select "Step" ... here it will show you the program name
    Put cursor on the program name and Go to > Variant to know what was the input to run this job.
    Regards,
    Naimesh Patel

  • Smart form and its driver program for sales order

    Hi Experts,
    Please give me the standard Smart Form name along with its Standard driver program.
    I already have RVADOR01 program which is a driver program for SAP Script RVORDER01.
    But I need standard smart form with its standard driver program for VA02, VA03 (Sales order) transaction.
    <REMOVED BY MODERATOR>
    Thanks In Advance
    Ram
    Edited by: Alvaro Tejada Galindo on Apr 8, 2008 12:10 PM

    Hi Ramachandra Babu,
                  Welcome To SDN!!
    Check output types in NACE tcode...
    Sample example,
    Goto Transaction NACE --> Select Application V1(Sales) --> Click on Output Types --> Select the output type as BA00 (as generally BA00 is the output type associated with Sales Order ) --> Double click on the Processing Routines folder on the left and it will display the Form name and the corresponding driver programs name.
    Regards
    Kiran

  • Need adobe print program for sales order confirmation

    Hello folks, anybody an idea about a sap standard print program and form for adobe forms concerning the sales order confirmation. can't believe that the old sap script RVADOR01 or ...01 ist still the standard. thanx for help
    YES i searched the forums before posting a thread, and i didn't find relevant articles

    The Adobe PDF-based forms for sales are available since Enhancement Package 2 for release ECC 6.0.
    Order confirmation (SD_SDOC_FORM01)
    Print programs - check package VD_PDF or package interface VDPDF_REL.

  • Material Availability Report for Sales Order

    Hi,
    Is there any report which gives me for a sale order line item which is either pending or not yet picked in delivery, but for which stock is not available. If such report is not available then what to we do for getting the same?
    Regards,
    Ajit

    Hi ajit
    In VA05 itself you can see Ordered  qty, Open order qty and confirmed quantity , Delivered qty , Delivered  date  .Even  Laxmipathi also said same thing and  i also agree with his words.
    Regards
    Srinath

Maybe you are looking for

  • New ti mac////have old sony cam corder modle ccd-tr940 no fire wire connect

    can i use the camcorder or is there an adapter i can use. how can i convert analog to digital? mini mac   Mac OS X (10.3.8)  

  • Removing preceding zeros

    Hi Friends, It is a outbound PO interface. The vendor number is coming from IDOC and it is being padded with zeros in the PO file. It shouldn’t have any zeros preceding the vendor number. For instance if the Vendor is "800012", the field is being cre

  • Refresh pl/sql anonymous block via dynamic action?

    Greetings again to the community! Something I must be misunderstanding. I want to dynamically (ajax) update a select list depending on a page item. Now when you research for operations like this, you get some examples - but which mostly are older and

  • Migration from SQL2000 to SQL2005

    Hi, We have P6 running under SQL2000. We are considering migrating P6 to SQL2005, and then running SQL2005 in 2000 compatibility mode. Has any one got a list of the steps we should follow or pitfalls that we may come across? Is it a straight forward

  • Soundblaster Audigy 2 ZS Noteb

    I have been trying to record some old casette tapes to my hard dri've. I cannot get and sound from the line in port. I have all the current software and am using XP. I have tried several audio cables from the card to the player. ?Any ideas?