User-Exit after saving VA01 to get the number of Sales Order.

Hi everyone,
I hope you all fine!
I really need your help to get a user-exit or BADI for the VA01 transaction,  because after pushing the save button I need to get the number of sales order, so I can create a header text, but to use a Function Module to do that, I need the sales order first.
I hope You can help me with this.
Thanks for your time.
Regards,

Hi,
      Goto se38 ,
    1. Enter prog. name  "MV45AFZZ"
    2. Choose "Enhance"  from application tool bar,
    3. Edit>Enhanc.Operations>Show implicit Enhance...
    4.Right click>Enhancement Impliment> Create....,Before that,you have to choose which subroutine is suitable for your scenario...then you can code it .
   Also,try this user exit -->"V45E0001"
I hope ,it will help you...
<<=< Sharing Knowlede is a way to Innovative >>=>
By,
  Yoga

Similar Messages

  • User Exit after saving

    Dear Gurus
    Is there any user exit after saving billing document to save the data into Ztable for the purpose of control  in our business process
    prasad.J

    User Exits For Billing
    o USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)
    The internal number range used in the standard system is specified
    in the billing type table and can be changed in this user exit. This
    user exit is only called when the billing documents is created.
    o USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program
    RV60AFZZ)
    In this user exit additional fields for account determination that
    are not provided in the standard system are copied into
    communication structure KOMKCV (header fields).
    o USEREXIT_ACCOUNT_PREP_KOMPCV (Module pool SAPLV60A)
    In this user exit additional fields for account determination that
    are not provided in the standard system are copied into
    communication structure KOMPCV (item fields).
    o USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program
    RV60AFZC)
    Depending on the number range, table TVFKD is used to set the
    billing date (country-specific requirments in Italy).
    USEREXIT_NUMBER_RANGE is automatically deactivated when this user
    exit is being applied.
    o USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
    This user exit is only called when the billing document is created.
    It is used to provide the header and the item of the new billing
    document with deviating or additional data.

  • User exit after saving a sales order

    Dear SAP-community,
    I am looking for an user-exit that runs after the creation of a sales order. I need the created VBELN of the sales order and want start some additional functionality which should be triggered directly afetr saving?
    Does anyone know such a exit?
    Thanks
    Kind regards
    Markus

    Plz SEARCH in SCN before posting.
    User exit after saving sales order
    user exit for saving a sales order

  • To Get the list of sales orders for a Business partner in CRM.

    Hi all
    Is there any Function module or BAPI to get the Sales orders for a Business partner in CRM. I know there is a BAPI to get the list of sales orders for a customer in ECC, but I donu2019t know how to get the list of sales orders for a Business Partner in CRM.
    Can anybody tell me if there is an inbuilt function module or BAPI available?
    If not how can I pick the sales orders of a business partner in CRM? Between which tables should I apply a join and write SELECT statement to get list of sales orders for a business partner in CRM.

    Hi Jessica,
    Try CRM function module CRM_BUPA_READ_ORDER_OBJECTS.
    You'll get a table with the documents associated to that partner, where you can work on.
    Kind regards.

  • How to restrict the Number of sales orders in theTCode:VL10A whil creation

    I'm creating the Delivery by using the batch job with program: RVV50R10C Here I need to restrict the number of sales orders numbers while creating deliveries for sales orders
    Like system should pick the sales orders (sales documents) from 1 to 100 OR 100 to 200
    Please advise me how to do it and what changes I need to do it

    Hi,
    Aslo, you can see Note 198137 - VL10: Customer-specific enhancements / user exits. As is for SO, check subroutine LV50R_VIEWG03. If cf_subrc = 1 thin this SO isn't seen in list.
    ***INCLUDE LV50R_VIEWG03 .
    *&      Form  POSTAB_VEPVG_FILL_USER
    FORM POSTAB_VEPVG_FILL_USER
         USING    IX_LIST_PROFIL    TYPE      SHP_VL10_LIST_PROFIL
                  IX_PARAMETERS     TYPE      SHP_VL10_PARAMETERS
                  IX_SELECT_OPTIONS TYPE      SHP_VL10_SELECT_OPTIONS
                  IT_ENQUEUE        TYPE      SHP_VL10_PACKAGE_T
                  IX_SD_ORDER       TYPE      SHP_VL10_SD_ORDER
                  IS_VEPVG          TYPE      VEPVG
         CHANGING CS_POSTAB         TYPE      SHP_VL10_ITEM
                  CF_SUBRC          TYPE      SYSUBRC.
    CF_SUBRC = 0.
    *  cs_postab-zzfield = ......              "add new field to List
    *  if xxxxxxx = yyyyyyy.
    *    cf_subrc = 1.                         "Exclude this index from List
    *  endif.
    ENDFORM.                    " POSTAB_VEPVG_FILL_USER
    I hope this helps you
    Regards
    Eduardo

  • From which table can we get the status of sales order

    hi
    from which table can we get the status of sales order

    Hi
    Check the Table <b>VBUK for HEADER level status</b> of Sales order
    and <b>VBUP for Item level statuses</b>
    enter VBELN  = Sales order and VBTYP = C for sales orders
    as VBUK and VBUP stores all Sales documents like deliveries, Invoices, quotations, contracts etc
    <b>Reward points for useful Answers</b>
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • What is the BAPI name to get the details of sales order

    hi
    what is the BAPI name to get the details of sales order

    hI
    BAPISDORDER_GETDETAILEDLIST Sales Order: List of All Order Data
    BAPI_ORDER_CHANGE_STATUS_GET Change status for order
    BAPI_SALESDOCU_CREATEFROMDATA Creating a Sales Document
    BAPI_SALESORDER_CHANGE Sales Order: Change Sales Order
    BAPI_SALESORDER_CREATEFROMDAT1 Sales Order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDAT2 Sales Order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDATA Create sales order, no more maintenance
    BAPI_SALESORDER_GETLIST Sales order: List of all orders for customer
    BAPI_SALESORDER_GETSTATUS Sales order: Display status
    BAPI_SALESORDER_SIMULATE Sales Order: Simulate Sales Order
    reward points to all helpful answers
    kiran.M

  • BAPI to get delivery number and Sales order

    Dear all,
    Is there a standard BAPI that would help me get the delivery number and sales order number when Shipment number is given as an input?
    Regards,
    Neha.

    BAPI_SALESDOCU_CREATEFROMDATA  Creating a Sales and Distribution Document
    BAPI_SALESORDER_GETSTATUS      Sales Order: Display Status  
    BAPI_SALESORDER_SIMULATE       Sales Order: Simulate Sales Order
    Reward Points if useful.

  • Is there any user exit after saving the material doc

    Hi,
      Is there any user exit in the T-code:mb01/migo after saving the material doc,?I want to record some data when the doc is saved.
      thanks,
    lance

    Hi
    Please check <i>The enhancement MB_CF001, includes a function module that is called up immediately before the COMMIT WORK when a goods movement is posted.</i>
    Regards
    Ramakrishna

  • User Exit After Saving in CO11N (After Get Confirmation counter AFRU-RMZHL)

    Hi All.
    I need a user exit for PP confirmation (T-code co11n)
    what I need is action after saving which gives me confirmation counter for table AFRU colum RMZHL.
    I need all data that will be inserted in table AFRU since I want to duplicate Afru wth Z-Table when user does confirmation
    in short explanation is When co11n writes data to AFRU, it need to write data to ZTable too (exactly same data, but less field in ztable)
    I've tried these exits but none of these success
    CONFPI02
    CONFPI04
    CONFPM05
    CONFPP02
    CONFPP04
    CONFPP05
    CONFPP06
    Thanks
    Vicky S

    Hi Nabheet Madan
    If I'm not mistaken, you mean
    I should prepare background job that collect data from AFRU into Z-table
    is it right?
    Thanks

  • User Exit after saving of MIGO Transaction

    hi all,
        I need User Exit for this requirement.
          I will do MIGO Transaction for Goods Receipt. at this goods receipt no will be generated and i will update that GR no to RESB Table.       For this i need user exit in MIGO Transaction only.
    Please suggest is there any user exit for this after saving of migo transaction.
    Thanx & Regads
    Rami Reddy

    Hi
    Check the enhancements
    MBCF0010
    MBCF0007
    Regards,
    Raghu.

  • BADI / User Exit after Saving of Business Partner

    Hi Experts,
    Is there a BADI / user exit that is triggered after saving / updating of Business Partner using transaction code "BP"?
    We want to send a XML file thru ALE after creation/modification of BP. We are using CRM WinClient 4.0.
    Thanks.

    Hi Mikhail Khorpyakov,
    Thank you very much for your reply. It was a helpful answer.
    BUPA_GENERAL_EXPORT is triggered before database update of table BUT000 and other related tables.
    Is there a BADI that is called after saving which contains general data of business partner?
    Thanks in advance..

  • User Exit for Updating Delivery Plant at Item Level in Sales Order

    Hello Experts
    There is a requirement to determine the delivery plant for each item level and than update the items with newly determined plant.  There is a user exit MV45AFZZ routine FORM USEREXIT_MOVE_FIELD_TO_VBAP. to update the item level entries in Sales Order in VA01 or VA02. Is this the right place to do this?, if yes , do i need to perform any other standard logic (like re determine Shipping points , schedule lines ) for newly determined plant? If not , can you please suggest any other place , BADI or user exit to change the delivery plant of sales order.
    Thanks a lot....
    -Harkamal

    Best place is MV45AFZZ-USEREXIT_SAVE_DOCUMENT_PREPARE. Populates the values just before saving the document. You can have your own deriving logic. Make sure that peice of code is trigger only for Sales Order create or change (VA01/VA02).
    Are you kidding???  You do realize that this is AFTER all validations against configuration, ATP, pricing, etc. have been performed??!!!  Never, ever change a critical value like plant in the SAVE user exits...

  • User-exit to copy collective number from sales order to purchase order

    Hi,
    Can any one help me  which user-exit/BADI  is used to copy collective number from sales order to purchase order?  please help me.
    Thanks,
    Alka

    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..

  • User-Exit - MIGO How to get the Number of Material Document

    Hi everyone!!
    I'm looking for an user-exit after saving in MIGO transaction. I need the Number of Material Document (MKPF-MBLNR) to generate an IDOC.
    Does anybody knows an user-exit to get this number?
    Regards,
    Rubens Kumori
    Edited by: Rubens  Kumori on Oct 20, 2008 3:26 PM

    In BADI definition [MB_DOCUMENT_BADI|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=mb_document_badi&adv=false&sortby=cm_rnd_rankvalue], you may use interfaces [MB_DOCUMENT_BEFORE_UPDATE|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=mb_document_badiMB_DOCUMENT_BEFORE_UPDATE&adv=false&sortby=cm_rnd_rankvalue] (before update task) and [MB_DOCUMENT_UPDATE|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=mb_document_badiMB_DOCUMENT_UPDATE&adv=false&sortby=cm_rnd_rankvalue] (in update task)
    Regards

Maybe you are looking for

  • The remote server returned an error: (401) Unauthorized

    We are attempting to upload a file to SharePoint on Office 365 and get the following error: The remote server returned an error: (401) Unauthorized. We also tried using NetworkCredentials and that got the following error: The remote server returned a

  • How Do you set up the IPod Touch to your pc home computer - when it asks for a password - what password is needed?

    I just received an IPod Touch for a gift. Have a home computer through Charter. Have wi fi with pc at home.  I am unable to get the Ipod to work with the pc and wifi.  Wi fi is on - At choose a Network - Have the option of t.dillow and other. When i

  • I want to have two home pages when I open Firefox, where is the setting for this?

    In my computer class at school the instructor told us that you can set your browser to have two tabs open when you start the browser... I would like to be able to have my Facebook and my favorite blog to come up every time I open FireFox, but I cant

  • IPod Shuffle suddenly won't work

    Hi all, To all of you having troubles with your Shuffle. I posted a few weeks ago about my Shuffle that stopped showing up on the Mac, in iTunes or anywhere else, then stopped charging. I also said that I saw hundreds of posts on different forums abo

  • Value Based Credit memo

    Hi Experts,         i want to increase the invoice value after some days, which is already partially paid, and also decrease the amount because my vendor intially deliver the material for apporximate amount for our urgent requirement then he will sen