HI Regarding shipment exit

Hi In the Shipment (VT01n) exit ,
1.Enhanvement -V56NUMB---there is include ZXV56u12.
2.This is used to provide number range for the shipment.
3.While doing this i need deliveries information attached to the shipment (VT01n)
4.I am importing the deliveries from some other exit V56UCHCO--
->but if the delivery split happens , i want to know t from which delivery this split happens
->because the splitted delivery coming with the number $00001...like that
With this i have to query the vbrk,,which is not possible.
Regards
Ramakrishna L

Hi,
I dont think it will make any difference, I executed the function module with IGNORE_BUFFER = 'X' and IGNORE_BUFFER = ' '.  In both cases, NRIV-NRLEVEL got updated with the next number.
See the documentation of the parameters "IGNORE_BUFFER"
The parameter IGNORE_BUFFER causes numbers to be taken directly from the
database.  Number range object buffering is ignored. The application
programs must prevent that numbers for a number range object are
procured both from the buffer and from the database during a LUW because
this may cause a deadlock situation
Regards
Vinod

Similar Messages

  • Help required regarding user exit for STPSHH01 IDOC

    Need help regarding user exit.
    I append the structure of VTTP and add one field with the name of ZDELCST i.e Delivery cost so i want to update that table once the idoc will post.
    I have to write the user exit for this but i have no idea how to do this so kindly requesting someone to please write the code for me and i will be very grateful to him/her.
    The functional module is IDOC_INPUT_SHIPPL
    and there is a CALL CUSTOMER-FUNCTION '012'
    this will take us to function module EXIT_SAPLV56I_012
    This includes ZXV56U08
    Within this include in need to map the delivery cost from the idoc to the new append filed VTTP-ZDELCST

    Hi,
    use this FM to update ur shipment
    variables
    DATA: lo_tp_g_tra       TYPE v56e_shipment_activities, "Data to modify
          lo_tp_g_shp       TYPE v56e_shipment,
          lo_tp_g_log       TYPE v56e_logfile, " Errors function
    call the function to modify shipments
    CALL FUNCTION 'SD_SHIPMENT_PROCESS'
      IMPORTING
        e_logfile    = lo_tp_g_log
      CHANGING
        c_activities = lo_tp_g_tra
        c_shipment   = lo_tp_g_shp
      EXCEPTIONS
        error        = 1
        OTHERS       = 2.
    Thanks,
    Sendil.

  • Regarding User/exits

    Dear SAP guru's
    Our requirement is  VBFA-VBELN table need to bring the  invoice no  BKPF  accounting document no and  store in  Field -BKTXT
    Scenerio  Sales order ( order type OR) ( T#codeVa01)-Delivery note -LF type
    ( VL02 gets created automatically according to my company process) -invoicetype F2(VF01) Invoice than  with refernce to invoice type ( F2)  create Credit memo ( T,code VA01) and accounting document , in accounting Document Header ( BKPF-BKTXT) invoice number should come in BKPF-BKTXT
    please help me it urgent to me.....
    Thanks & Regards
    Nagaraju Chintam

    Dear Prashanth.
    Thanks for your reply. almost i understand whats userexit.
    I tried below and i found these are the userexits available in VT01N-shipment creation.
    Now i want to confirm which is most suitable userexits amoung them matching my requirement.
    do you have any idea on this.
    After shipment creation i want this sales data to be stored in addon table..which user exits can i use for writing this code.
    suggestion pls...
    transaction Code - VT01N                    Create Shipment
    Exit Name
    Description
    MV56AINI
    Initialization of transaction control for transportation
    V56AFCCH
    Shipment processing: Check function code allowed
    V56AGTAR
    User Exit for Filtering Shipping Unit Calculation
    V56ARCHV
    Customer-spec. checks for archiving shipments
    V56ATKTX
    Change the number of lines for text input in shipment
    V56BMOD
    Transportation processing: Field modification
    V56DISTZ
    Shipment Processing: Determine Distance
    V56FCOPY
    Shipment processing: Copy delivery data
    V56FSTAT
    Shipment processing: Activities when setting a status
    V56L0001
    Status of Shipments for a Delivery
    V56LDELI
    Read Delivery Data for Shipment Processing
    V56LOCID
    Shipment Processing: Determine Location Identification
    V56MVT04
    Extensions for Collective Processing of Shipments
    V56SLDET
    Shipment processing: Leg determination
    V56TDLIF
    Filter Delivery Items for Shipment
    V56UCHCH
    Shipment processing: Check whether changes were made
    V56UCHCO
    Check shipments are complete
    V56UDLUP
    Obsolete as of 4.6C: Delivery Update on Delivery Routines
    V56UNUMB
    Shipment number allocation
    V56USTAT
    User-individual definition of transportation planning status
    V56USVDO
    Update new objects for transport
    V56USVDP
    Preparation for updating new objects for transport?
    I will surely reward points. Thanks for your suggestion.
    ambichan

  • Regarding Shipment Document

    hello Guys,
    There is a different scenario i've encountered while working for a client.It is regarding shipment.
    Scenario: Sometimes Client has to send huge quantity in one order to outside state for example Chennai from Pune.
    Now sometime Client hires a forwarding agent which picks up the goods from plant and delivers it to other forwarding agent at a location from where that agent delivers the goods to customer.
    so there are two forwarding agents but only 1 delivery
    Now I unable to make 2 shipments documents for 1 delivery for 2 different agents.
    Please help me out in this..
    Thanks

    Refer following SDN thread, where a similar kind of requirement is discussed:
    - 1 Shipment Cost but multiple Vendor
    Do revert back in case of any further information or doubt.
    Regards
    JP

  • Regarding User Exites

    Hi Friends,
    I created a button on application tool bar which contain a tab (subscreen) with the help of Badi,for a standards T-code on the tab i am taking one field which is comman on the standard screen and tab which is created .
    [i<u>]when i am changing the field which is on the standard screen it must effects the data base table with out selecting the application toll bar button which i created tab
    and what ever logic i written for the screen it must trigger and update the data base table .</i></u>
    [i<u>]for that t-code there are no exits ,there is only one exits for save i tried by placing the field which i am using but it is not get the value in that exits ,after coming from the exits it is get the value</i></u>
    Can any one suggest solution for it, ASAP
    Rishi

    Hi Friends,
    Kindly Provide replay for my query which i posted bec it is urgent .
      <b>Regarding User Exites</b>
    Thanks
    Rishi

  • Regarding SHipment function exit

    Hi Experts,
                    I have to update some custom table in the function exit of  VT01n transaction code based on some condition.
    I have done it using update statement as it is custom table there is no problem.
    BUT in the code After that UPDATE statement ,based on some condition i have to through a message which will stop the transactionn.
    In that case if i exit from the transaction using exit button in the menu bar, the updated custom table has to roll back.
    Can i use ROLL BACK Statement. in the function exit in that case.
    If i use that ,does it effect any standard functionality.
    Orelse is there any alternative solution for that.
    Regards
    Ramakrishna L

    Hi Ramakrishna,
    If u r updating the custom table in the same exit where u r throwing the message , don't use the commit work after updating the table. use it at end of the exit.
    Regards,
    Srinivas.

  • Query regarding User Exit

    Hi exps
    Could you please tell me , which user exits get triggered when I save
    Invoice List (T code  : VF22) producing Idoc.
    Also tell me whether the exit EXIT_SAPLVEDF_002 get triggered during this
    process or not ?           
    Let  me know soon
    Regards
    Tulip

    J_3RSINV
    SDVFX001            User exit header line in delivery to accounting
    SDVFX002            User exit for A/R line in transfer to accounting
    SDVFX003            User exit cash clearing in transfer to accounting
    SDVFX004            User exit G/L line in transfer to accounting
    SDVFX005            User exit reserves in transfer to accounting
    SDVFX006            User exit tax line in transfer to accounting
    SDVFX007            User exit: Billing plan during transfer to Accounting
    SDVFX008            User exit: Processing of transfer structures SD-FI
    SDVFX009            Billing doc. processing KIDONO (payment reference number)
    SDVFX010            User exit item table for the customer lines
    SDVFX011            Userexit for the komkcv- and kompcv-structures
    V05I0001            User exits for billing index
    V05N0001            User Exits for Printing Billing Docs. using POR Procedure
    V60A0001            Customer functions in the billing document
    V60P0001            Data provision for additional fields for display in lists
    V61A0001            Customer enhancement: Pricing
    Check with these .

  • Query regarding screen exits

    Hi ppl,
    I am looking for a screen exit for tcode MSC3n.
    Using SMOD, I found the following enhancements:
    BATCHCHK
    MBCFC010
    SAPLCHVW
    SAPLMHD1
    SAPLV01D
    SAPLV01P
    SAPLV01Z
    SAPLV1ZE
    SAPLV1ZN
    But, all these have function exits. There was no screen exit specifically mentioned in any of these enhancements.
    Does it mean that there is no screen exit or will these function exits be useful?
    Please help.
    Regards,
    David.

    Hi,
    My requirement is to remove 2 fields from a subscreen of the tcode MSC3n and replace with 2 custom fields which I have appended in the standard database table. All the fields are from the same database table.
    Thanks,
    David.
    Edited by: David D on Aug 28, 2009 6:59 AM

  • Regarding screen exit

    Hi Friends,
    I created the sales order using VA01 and enter the payment terms and saved. But mu requirement is when i go through VA02, payment terms field must be in display mode. So, user not able to chage the payment terms value.
    Please give exact solution with Screen exit name and modifications.
    Thanks in advance
    Regards
    Govind.

    Hi,
        The SAPMV45A , 8309 screen is the Additional Data B tab providded by SAP to add your custom fields . In order to capture the data from this custon field you can use
    the user exit MV45AFZZ, USEREXIT_SAVE_DOCUMENT_PREPARE OR
    USEREXIT_SAVE_DOCUMENT depening on your functionality.
    If you include the field MGANR as a part of the VBRK /VBRP structure then these will be available.
    step by step method to implement screen exit:
    Screen exits add fields to screens in R/3 applications. SAP creates screen exits by placing special subscreen areas on a standard R/3 screen and calling a customer subscreen from the standard screen’s flow logic.
    the tcode is cmod...
    1.From the main screen of the Project management transaction, proceed as follows:
    Select Enhancement components and choose Change.
    2.Choose Edit component.
    3.Choose the screen exit and double click on it
    4.Create your subscreen using the Screen Painter.
    5.Design your screen to be added to the standard screen and activate the particular screen and return back to the flow logic .
    6.Choose the PAI and PBO to write down the logic.
    7.Generate your screen and choose Back (the green arrow) to return to the Project management transaction.
    8.Go to the transaction ME22 to view the customer defined screen exit.
    9.Enter the purchase order number and press Enter.
    10.Go to the menu header --> Details.
    11.Purchase number is visible on the standard screen
    Regards

  • Regarding Screen Exits

    Hi all,
    In tcode XD02 i want to add 3 fields (account no. , Branch and Bank Details)..In Standard Screen.
    What is Screen Exit For the XDO2?
    Can Any One Tell the Step by step process to create Screen Exits.
    How To work with  Tcodes CMOD And SMOD?

    Hi,
    Check the link below on screen exits:
    http://****************/Tutorials/ExitsBADIs/ExitsMain.htm
    regards
    Shiva

  • Regarding the Exit 'EXIT_SAPLRRS0_001'

    Hi,
    I am facing one problem, while using this exit, what is the problem is, i am entering period and year as input in the input field, and using this exit i tried to change that period, so i changed L_S_RANGE-HIGH and  L_S_RANGE-LOW. For example, i have given input as 006.2007 and using the exit i changed it like L_S_RANGE-LOW = '2007003' and L_S_RANGE-HIGH = '2007003' and gave L_S_RANGE-SIGN = 'I'. and L_S_RANGE-OPT = 'BT'. Its not giving an output. but data is there for period '2007003', pls help and don't worry about points if your answer helps me.
    Regards,
    Baiju Vivekanandan

    Hi anil,
    I will attach the code below,
    CONSTANTS: C_THREE(1) TYPE C VALUE '3',
               C_ZERO(2) TYPE C VALUE '0',
               C_MINUS_ONE(2) TYPE C VALUE '-1',
               C_MINUS_TWO(2) TYPE C VALUE '-2',
               C_TWELVE(2) TYPE C VALUE '12',
               C_ELEVEN(2) TYPE C VALUE '11',
               C_TEN(2) TYPE C VALUE '10',
               C_ONE(1) VALUE '1'.
    DATA: L_FISC_PERIOD(3) TYPE N,
          L_FISC_YEAR(4) TYPE N.
    DATA: L_S_RANGE TYPE RSR_S_RANGESID.
    DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
    CASE I_VNAM.
    WHEN 'LEADING_LEDGER_DATA'.
    data : my_LOC_VAR_RANGE LIKE RRRANGEEXIT.
        IF I_STEP = 2. "after the popup
          clear my_LOC_VAR_RANGE.
          LOOP AT I_T_VAR_RANGE INTO my_LOC_VAR_RANGE
           WHERE VNAM = 'ENTER_FISC_YEAR_PERIOD'.
            EXIT.
          ENDLOOP.
          IF SY-SUBRC EQ C_ZERO.
            CLEAR L_S_RANGE.
            L_S_RANGE-LOW = my_LOC_VAR_RANGE-LOW.
            L_FISC_PERIOD = L_S_RANGE-LOW+4(3).
            L_FISC_YEAR =  L_S_RANGE-LOW+0(4).
            CLEAR L_S_RANGE-LOW.
            L_FISC_PERIOD = L_FISC_PERIOD - C_THREE.
            IF L_FISC_PERIOD = C_ZERO.
              L_FISC_PERIOD = C_TWELVE.
              L_FISC_YEAR = L_FISC_YEAR - C_ONE.
            ELSEIF L_FISC_PERIOD = C_MINUS_ONE.
              L_FISC_PERIOD = C_ELEVEN.
              L_FISC_YEAR = L_FISC_YEAR - C_ONE.
            ELSEIF L_FISC_PERIOD = C_MINUS_TWO.
              L_FISC_PERIOD = C_TEN.
              L_FISC_YEAR = L_FISC_YEAR - C_ONE.
            ENDIF.
            CONCATENATE L_FISC_YEAR  L_FISC_PERIOD INTO L_S_RANGE-LOW.
            CONCATENATE L_FISC_YEAR  L_FISC_PERIOD INTO L_S_RANGE-HIGH.
            L_S_RANGE-SIGN = 'I'.
            L_S_RANGE-OPT = 'BT'.
            APPEND L_S_RANGE TO E_T_RANGE.
            CLEAR: L_FISC_PERIOD, L_FISC_YEAR, L_S_RANGE.
          ENDIF.
        ENDIF.
    ENDCASE.
    Regards,
    baiju

  • Regarding User Exits in VARIABLES

    can any one let me know,
    1>  wen can we go for user exits in variables ?
    2>  any suitable examples for that ?
    3>  and can u people provide CODE for better Xplaination.?
    Thanks and Regards,
    Hawkin.

    Read this article, it will clear your concepts.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d

  • Regarding user exits in enhancements

    HOW TO GENERATE USER DEFINED  SERIAL NUMBERS WITH MB1C(PLANT MAINTANANCE) TCODE USING USER EXIT.

    Hello Basi reddy,
      Try this..
      Include program - MM07MSE0_SERIALNUMBER_USER_EXI or
      Function module - EXIT_SAPLIE01_007
    Best Regards,
    Naresh

  • Regarding function exit

    hi all,
          I am doing Function Exit for Transaction CO12.
    When the Wage Group is initial it should display message like "Enter Shift A/B/C in field Wage Group".
    i am getting this one. after display this message screen should go to previous screen ( What we  entered data) .  I am getting this one but data is clearing and fresh CO12 transaction is opening.
    I want that data also.
    Please sugget.
    Regards
    Rami

    Hi Shaik,
    for Functional exit we are adding our own funtionality into sap standard coding.
    to find the function exit for a specific transaction
    go to system-> status-> double click on transaction.
    you will get the package.
    now use transaction SMOD.
    then Utilities->find->give the package name which you get earlier. Then execute.
    You will get all the possible exit existing in that package.
    You need to chose the right one.
    Then double click on that enhancement & you will get the exit and within that exit you will get one include program.
    In that include you need to write down your code.
    At last you need to add that exit into a project by using transaction CMOD.
    Hope you understand well.
    Regards,
    Tutun

  • Regarding Menu exit

    Hi All,
    i need to find Menu Exit in  VA01 transaction.
    that i need to add additional functionality in menu bar
    Goto->Item->MSDS Sheet.
    i need to add MSDS Sheet functionality in menu Bar,
    please can any body suggest me which menu exit will be available
    Thanks in advance
    thanks & Regards,
    sudheer.

    Check this...it will help u to create menu exit...
    Creating Customer-Specific Menus
    Menu exits allow you to add your own functions to the pulldown menus in standard R/3 transactions. To take advantage of a menu exit, you first need to create a project as described in the section Creating an add-on project. Then, you must include the SAP enhancement package that contains the menu exit you want to use in your project. From the main screen of the Project management transaction, proceed as follows:
    Select Enhancement components and choose Change.
    The system lists all customer exits contained in the enhancements included in your project.
    Place the cursor on the menu exit you want to add your own function to.
    Choose Edit component.
    The system displays technical information about the menu entry. It also displays two input fields where you can specify a language and the text you want your menu item to have.
    Enter the name of your menu function (such as Special order method) in the field New text.
    Choose Save text.
    Your special menu function will not appear in the pulldown menu of the corresponding standard transaction until you activate your enhancement project.
    Specifying a menu text and activating your project are not the only steps you need to take to make your own menu item work. After you carry out these steps, your menu item will appear, but it will not call a corresponding function. To attach your menu entry to its corresponding function, you need to create a function module for the function module exit associated with your menu text. This function module exit is part of the same SAP enhancement that contains the menu exit you used. Creating Customer-Specific Function Modules tells you more about how to use function module exits.

Maybe you are looking for