Change In Transaction Vl02n

Hello experts,
I write code  in USER EXIT "form_save_document" , how can i know if it was change in delivery in transaction vl02n ?
Thanks for the help.
Avi.

Hi,
I am assuming that you are using the exit MV50AFZ1. The field you are looking for is T180-TRTYP.
Below is the documentation in the form of comments given by SAP.
*       FORM USEREXIT_SAVE_DOCUMENT                                   *
*       This userexit can be used to save data in additional tables   *
*       when a document is saved.                                     *
*       If field T180-TRTYP contents 'H', the document will be        *  "Have a Look at this line
*       created, else it will be changed.                             *
*       This form is called at from form BELEG_SICHERN, before COMMIT *
You can debug by creating and changing a delivery and cross verify this.
Thanks,
Vinod.

Similar Messages

  • LIKP-KODAT from  transaction VL02N in header data in processing tab non edi

    Hi gurus i want to make the field LIKP-KODAT from  transaction VL02N in header data in processing tab.
    is any way to make this by the spro transaction?
    Thanks.

    Hi,,
    what do you want to do with the meitoned field?? you did not mention that..
    SB

  • How can I determine batches while picking in transaction VL02N?

    Hi all, good day.
    I would appreciate your suggestions.
    I'm developing some RF Transactions and at this point I have to solve the following:
    The program process data which the user enters using a handheld; values are send
    to the transaction VL02N, using a call transaction technique, for batch split creation
    and picking items of a Delivery.
    The first point is that when batch is readed from a label it must be validated in the code,
    How can I get the batches from the system? I need a function for batch determination.
    Besides the second point is if is a good idea to use the call transaction technique,
    With which standard funtion could I do the same?
    I appreciate so much your support.
    Thanks in advance.
    Idulio

    hi ,
    why do u check with BAPIs, find out relavent BAPI to create deliveries , So post /put data into BAPI and SAP will take care of every thing ( like batch deternminations , based on the Config ) .
    if u want more just drop a mail , i will revert back if possible
    regards
    Prabhu
    [email protected]

  • Type of transport vehicle in transaction VL02N

    Good night. I need to configure in the system the type of vehicle transport, a field that is present in the transaction VL02N but can not find where I set the SPRO that. To configure the type of vehicle transport, you need to activate something? If so where and what I have to activate? How can I resolve this issue. Can anyone help.
    Best Regards,
    António Pinho

    Hi
    Here is the  step  to  setup type of  Vehicle for  transport
    \Config  data- SPRO
    Create  - Packing material type , Packaging material grp  & Define allowed packing material
    1>Shipping->packing->Create  Packing material type
    2>Shipping->packing->Material grp  for packing material.
    3>Define allowed packing material u2013( Assign Packing material type  & package material grp) :
    By assigning packaging material types to the material groups for packaging materials, you define which packaging materials are allowed for packing
    Master data
    1>     Create   transport Vehicle u2013 ( say Truck, 26 tons) Material as   VERP  material type.
    2>     Assign  relevant  Packaging material grp  in  Basic data -1 view
    Hope  this  will fix your issue.
    Thanks
    Dilip

  • Automatic transaciton posting for transaction VL02N

    Hi Experts
            Can i know whats is the user exit for the transaction VL02N we want to use for the purpose of posting a transaction MIGO while save the outbound delivery document.
            My requirement is when save the delivery document in one plant, in other plant the goods receipt needs to be done against the purchase order mentioned in the sales order of the previous one.
         Pls advise me, Thanks in advance.
    Regards
    Rajaram

    Hi,
    Check user-exits for VL02N...
    V50PSTAT               Delivery: Item Status Calculation     
    V50Q0001               Delivery Monitor: User Exits for Filling Display Fields     
    V50R0001               Collective processing for delivery creation     
    V50R0002               Collective processing for delivery creation     
    V50R0004               Calculation of Stock for POs for Shipping Due Date List     
    V50S0001               User Exits for Delivery Processing     
    V53C0001               Rough workload calculation in time per item     
    V53C0002               W&S: RWE enhancement - shipping material type/time slot     
    V53W0001               User exits for creating picking waves     
    VMDE0001               Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002               Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003               Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004               Shipping Interface: Message SDPACK (Packing, Inbound)
    V02V0001               Sales area determination for stock transport order
    V02V0002               User exit for storage location determination
    V02V0003               User exit for gate + artl staging area determination (headr)
    V02V0004               User Exit for Staging Area Determination (Item)
    Reward points if useful....
    Regards
    AK

  • BAPI for Price Change using Transaction VK12

    Hi All..
    Can any one help in locating a BAPI for making price changes using transaction VK12.
    Rgds

    try RV_CONDITION_MAINTENANCE

  • Extended IDOC for transaction VL02N : Error 51

    Dear,
    I am Working on Extended IDOC for transaction VL02N (Outbound Delivery) and stuck in Inbound with Error 51: Specifications for units and quantities contain errors VBPOK-MEINS TO LIPS-MEINS MT.
    Message no. VL282
    How to resolve it?
    At Outbound Programmed at EXIT_SAPLV56K_002 and at Receiver did WE57, BD51, WE42, WE20 and using listed below programs.
    Function Module - IDOC_INPUT_DELVRY      - SAP Standard
    Function Type - F (Function Module)
    Basic Type - DELVRY03      - SAP Standard
    IDOC (Enhancement) - ZDELV - Custom
    Message Type - ZDELVRY - Custom
    Process Code      - DELV      - SAP Standard
    Thanks-
    Varun

    Hi varun,
    in SAP you have a few keys that not only have a description depending on language but also the key itself varies from language to language. You can see that if you double-click on a unit field like i.e. MARA-MEINS: On domain level it will show a conversion exit. If you try the conversion exit function modules, you will find out that i.e. PC english pieces will be mapped to internal ST wich comes from the german Stück which is the translation of pieces.
    Be aware that this special logic may apply for document types, partner types and a few more (?).
    So, in IDoc processing this may cause harm. I did not analyze DELVRY03 structure and processing, I don't know any of your data, I haven't seen any line of your code, I don't know what you actually implemented.
    So now it is your turn to check what you pass in the unit fields and how this is handled.
    Regards
    Clemens

  • How to change the transaction isolation level of a CMP?

    How to change the transaction isolation level of a CMP from SUN's Deployment Tool? So far I can't find any entry for this setting.

    Anuradha W wrote:
    That means, currently the only way tospecify the transaction level is through
    weblogic-ejb-jar.xml deployment descriptor?
    for WLS-generated code, yes.Somewhat related to this question, we have written a standalone testcase to reproduce this issue we have been having. Basically, the issue is that even though we configure the isolation level to a non-default one in the deployment descriptor, the connections returned by the datasource seem to be having the default (which is Read Committed). The DBMS is DB2.
    weblogic-ejb-jar.xml has the following set:
    <isolation-level>TransactionRepeatableRead</isolation-level>
    And we printed the isolation level of the connection returned from a method in the EJB, but the isolation level is still the default. I can share the code to reproduce the problem if you want to take a look at it. Please let me know how I can get that across to you.
    Thanks,
    AnuradhaIf you are using our JDBC driver for DB2, or can switch to it,
    just for a test, there is some debug I'd like from you.
    Joe

  • BAPI needed  for  change material(Transaction : MM02)

    Hi all,
    We have a requirement where in we need to post the documents throuh BAPI for change material (Transaction: MM02).
    Any inputs on this..is highly appreciable...
    thanks in advance...
    regards..
    prathima.

    CHECK THIS CODE
    *& Report  ZBAPI_MATERIAL_SAVEDATA
    REPORT  ZBAPI_MATERIAL_SAVEDATA NO STANDARD PAGE HEADING MESSAGE-ID (ZHNC).
    TYPES:BEGIN OF TY_MAT,
           MATERIAL(4),
           IND_SECTOR(1),
           MATL_TYPE(4),
           MATL_GROUP(9),
           BASE_UOM(3),
           BASE_UOM_ISO(3),
           PLANT(4),
           DEL_FLAG(1),
           PUR_GROUP(3),
           BASE_QTY(13),
           STGE_LOC(4),
           MRP_IND(1),
           SALES_ORG(4),
           DISTR_CHAN(2),
           DEL_FLAG1(1),
           MIN_ORDER(13),
           LANGU(2),
          MATL_DESC(40),
       END OF TY_MAT.
    DATA: IT_DATA TYPE TABLE OF TY_MAT,
          WA_DATA LIKE LINE  OF IT_DATA.
    *decalraing flag
    data: v_flag value ''.
    *DECLARING WORK AREAs  TO BE PASSED TO THE FUNCTION MODULE.
    DATA: BAPI_HEAD LIKE BAPIMATHEAD,
          BAPI_CLIENTDATA LIKE BAPI_MARA,
          BAPI_CLIENTDATAX LIKE BAPI_MARAX,
          BAPI_PLANTDATA LIKE BAPI_MARC,
          BAPI_PLANTDATAX LIKE  BAPI_MARCX,
          BAPI_STORAGELOCATIONDATA LIKE BAPI_MARD,
          BAPI_STORAGELOCATIONDATAX LIKE BAPI_MARDX,
          BAPI_SALESDATA LIKE BAPI_MVKE,
          BAPI_SALESDATAX LIKE BAPI_MVKEX,
          BAPI_MAKT LIKE BAPI_MAKT,
          BAPI_RETURN LIKE BAPIRET2.
    *INTERNAL TABLE TO HOLD THE MATERIAL DESCRIPTION
    DATA: BEGIN OF IT_MAKT OCCURS 0.
    INCLUDE STRUCTURE BAPI_MAKT.
    DATA END OF IT_MAKT.
    DATA:BEGIN OF IT_RET OCCURS 0.
    INCLUDE STRUCTURE BAPIRET2.
    DATA END OF IT_RET.
    *INTERNAL TABLE TO HOLD HEADER DATA
    DATA: IT_EXCEL TYPE ALSMEX_TABLINE OCCURS 0 WITH HEADER LINE.
    *SELECTION-SCREEN ELEMENTS
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETER: FNAME TYPE RLGRAP-FILENAME OBLIGATORY DEFAULT 'C:\Documents and Settings\Administrator\Desktop\MATMAS.XLS' .
    PARAMETERS: P_BEGCOL TYPE I DEFAULT 1 NO-DISPLAY,
                P_BEGROW TYPE I DEFAULT 1 NO-DISPLAY,
                P_ENDCOL TYPE I DEFAULT 100 NO-DISPLAY,
                P_ENDROW TYPE I DEFAULT 32000 NO-DISPLAY.
    SELECTION-SCREEN END OF BLOCK B1.
    *DECLARATION OF EXCELAL TABLE
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR FNAME.
    PERFORM F_GET_FILE USING FNAME.
    START-OF-SELECTION.
    PERFORM F_XLS_ITAB USING FNAME
                       CHANGING IT_EXCEL.
    PERFORM F_MOVE_DATA.
    perform F_GET_DATA.
    *&      Form  F_GET_FILE
          text
         -->P_FNAME  text
         <--P_SY_SUBRC  text
    FORM F_GET_FILE  USING    P_FNAME LIKE FNAME.
    CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
    EXPORTING
       PROGRAM_NAME        = SYST-REPID
       DYNPRO_NUMBER       = SYST-DYNNR
      FIELD_NAME          = ' '
      STATIC              = ' '
      MASK                = ' '
      CHANGING
        FILE_NAME           = P_FNAME
    EXCEPTIONS
      MASK_TOO_LONG       = 1
      OTHERS              = 2
    IF SY-SUBRC <> 0.
    MESSAGE E006(ZHNC).
    ENDIF.
    ENDFORM.                    " F_GET_FILE
    *&      Form  F_XLS_ITAB
          text
         -->P_FNAME  text
         <--P_IT_EXCEL  text
    FORM F_XLS_ITAB  USING    P_FNAME
                     CHANGING P_IT_EXCEL.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
      EXPORTING
        FILENAME                      = FNAME
        I_BEGIN_COL                   = P_BEGCOL
        I_BEGIN_ROW                   = P_BEGROW
        I_END_COL                     = P_ENDCOL
        I_END_ROW                     = P_ENDROW
      TABLES
        INTERN                        = IT_EXCEL
    EXCEPTIONS
       INCONSISTENT_PARAMETERS       = 1
       UPLOAD_OLE                    = 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.
    ENDFORM.                    " F_XLS_ITAB
    *&      Form  F_MOVE_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM F_MOVE_DATA .
    DATA : LV_INDEX TYPE I.
    FIELD-SYMBOLS <FS>.
    *--- Sorting the internal table
    SORT IT_EXCEL BY ROW COL.
    CLEAR IT_EXCEL.
    LOOP AT IT_EXCEL.
    MOVE IT_EXCEL-COL TO LV_INDEX.
    *--- Assigning the each record to an internal table row
    ASSIGN COMPONENT LV_INDEX OF STRUCTURE WA_DATA TO <FS>.
    *--- Asigning the field value to a field symbol
    MOVE IT_EXCEL-VALUE TO <FS>.
    AT END OF ROW.
    APPEND WA_DATA TO IT_DATA.
    CLEAR WA_DATA.
    ENDAT.
    ENDLOOP.
    ENDFORM.                    " F_MOVE_DATA
    *&      Form  F_GET_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM F_GET_DATA .
    LOOP AT IT_DATA INTO WA_DATA.
    MOVE-CORRESPONDING WA_DATA  TO  BAPI_HEAD.
    BAPI_HEAD-BASIC_VIEW ='X'.
    BAPI_HEAD-SALES_VIEW ='X'.
    BAPI_HEAD-PURCHASE_VIEW ='X'.
    BAPI_HEAD-STORAGE_VIEW ='X'.
    MOVE-CORRESPONDING WA_DATA TO BAPI_CLIENTDATA.
    BAPI_CLIENTDATAX-MATL_GROUP = 'X'.
    BAPI_CLIENTDATAX-BASE_UOM = 'X'.
    BAPI_CLIENTDATAX-BASE_UOM_ISO = 'X'.
    MOVE-CORRESPONDING WA_DATA TO BAPI_PLANTDATA.
    BAPI_PLANTDATAX-PLANT = BAPI_PLANTDATA-PLANT.
    BAPI_PLANTDATAX-DEL_FLAG = 'X'.
    BAPI_PLANTDATAX-PUR_GROUP = 'X'.
    BAPI_PLANTDATAX-BASE_QTY = 'X'.
    MOVE-CORRESPONDING WA_DATA TO BAPI_STORAGELOCATIONDATA.
    BAPI_STORAGELOCATIONDATA-PLANT = BAPI_PLANTDATA-PLANT.
    BAPI_STORAGELOCATIONDATAX-PLANT = BAPI_STORAGELOCATIONDATA-PLANT.
    BAPI_STORAGELOCATIONDATAX-STGE_LOC = BAPI_STORAGELOCATIONDATA-STGE_LOC.
    BAPI_STORAGELOCATIONDATAX-MRP_IND = 'X'.
    MOVE-CORRESPONDING WA_DATA TO BAPI_SALESDATA.
    BAPI_SALESDATAX-SALES_ORG = BAPI_SALESDATA-SALES_ORG.
    BAPI_SALESDATAX-DISTR_CHAN = BAPI_SALESDATA-DISTR_CHAN.
    BAPI_SALESDATAX-DEL_FLAG = BAPI_SALESDATA-DEL_FLAG.
    BAPI_SALESDATAX-MIN_ORDER = 'X'.
    REFRESH IT_MAKT.
    IT_MAKT-LANGU = WA_DATA-LANGU.
    IT_MAKT-MATL_DESC = WA_DATA-MATL_DESC.
    APPEND IT_MAKT.
    CLEAR IT_RET.
    REFRESH IT_RET.
    PERFORM F_CALL_BAPI.
    READ TABLE IT_RET WITH KEY TYPE = 'S'.
    IF SY-SUBRC EQ 0.
    PERFORM F_BAPI_COMMIT.
    WRITE:/ 'MATERIAL CREATED OR UPDATED SUCESSFULLY WITH MATERIAL NO',WA_DATA-MATERIAL.
    ELSE.
    MESSAGE E000(ZHNC) WITH 'ERROR IN CREATING THE MATERIAL'.
    *WRITE: / 'ERROR IN CREATIN MATERIAL',IT_RET-MESSAGE.
    *PERFORM F_DOWNLOAD.
    ENDIF.
    *ENDIF.
    ENDLOOP.
    ENDFORM.                    " F_GET_DATA
    *&      Form  F_CALL_BAPI
          text
    -->  p1        text
    <--  p2        text
    FORM F_CALL_BAPI .
    CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
      EXPORTING
        HEADDATA                   = BAPI_HEAD
       CLIENTDATA                 =  BAPI_CLIENTDATA
       CLIENTDATAX                =  BAPI_CLIENTDATAX
       PLANTDATA                  =  BAPI_PLANTDATA
       PLANTDATAX                 =  BAPI_PLANTDATAX
       STORAGELOCATIONDATA        =  BAPI_STORAGELOCATIONDATA
       STORAGELOCATIONDATAX       =  BAPI_STORAGELOCATIONDATAX
       SALESDATA                  =  BAPI_SALESDATA
       SALESDATAX                 =  BAPI_SALESDATAX
    IMPORTING
       RETURN                     =  IT_RET
    TABLES
       MATERIALDESCRIPTION        = IT_MAKT
      UNITSOFMEASURE             =
      UNITSOFMEASUREX            =
      INTERNATIONALARTNOS        =
      MATERIALLONGTEXT           =
      TAXCLASSIFICATIONS         =
      RETURNMESSAGES             =
      PRTDATA                    =
      PRTDATAX                   =
      EXTENSIONIN                =
      EXTENSIONINX               =
    APPEND IT_RET.
    ENDFORM.                    " F_CALL_BAPI
    *&      Form  F_BAPI_COMMIT
          text
    -->  p1        text
    <--  p2        text
    FORM F_BAPI_COMMIT .
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
      WAIT         =
    IMPORTING
      RETURN        =
    ENDFORM.                    " F_BAPI_COMMIT

  • Need help with an SHDB BDC program  for Change outbound delivery(VL02N).

    I have created recording to change outbound delivery(VL02N). Steps are as below-
    For VL02N recording 1st I have click on the header(F8) then dates tab.
    Then insert line (+ button) then it shows 8 transport types.
    I have chosen 7th transport type. In SHDB it shows BDC_CURSOR = '08/07'.
    Then I have created BDC program for this recording, but it's not working,
    because It is changing BDC_CURSOR value every time when we do SHDB or VL02N and in my code I have hard coded BDC_CURSOR = '08/07' . 
    Can anyone tell me how to get this BDC_CURSOR changed value. So that instead of hard coding this value I can select this value every time.
    (FYI      For this Screen name = SAPMSSY0 Screen No = 0120.)
    Thanks.

    I have created recording to change outbound delivery(VL02N). Steps are as below-
    For VL02N recording 1st I have click on the header(F8) then dates tab.
    Then insert line (+ button) then it shows 8 transport types.
    I have chosen 7th transport type. In SHDB it shows BDC_CURSOR = '08/07'.
    Then I have created BDC program for this recording, but it's not working,
    because It is changing BDC_CURSOR value every time when we do SHDB or VL02N and in my code I have hard coded BDC_CURSOR = '08/07' . 
    Can anyone tell me how to get this BDC_CURSOR changed value. So that instead of hard coding this value I can select this value every time.
    (FYI      For this Screen name = SAPMSSY0 Screen No = 0120.)
    Thanks.

  • Why can't I change the transaction isolation level?

    I was trying to change the transaction isolation level from an EJB. My source codes are shown as the follows:
    ======================================================
    /*********************** Database Routines *************************/
    private void makeConnection() {
    try {
    InitialContext ic = new InitialContext();
    DataSource ds = ( DataSource )ic.lookup( dbName );
    con = ds.getConnection();
    DatabaseMetaData dmd = con.getMetaData();
    show_supported_trans_levels( dmd );
    int status = con.getTransactionIsolation();
    System.out.print( "1. " );
    disp_tx_status( status );
    System.out.println( "con.isReadOnly() = " + con.isReadOnly() );
    con.setTransactionIsolation( Connection.TRANSACTION_SERIALIZABLE );
    System.out.print( "2. " );
    disp_tx_status( status );
    } catch( SQLException ex ) {
    System.err.println( "SQLException: " + ex.toString() );
    throw new EJBException("Unable to connect to database. " +
    ex.getMessage());
    } catch( NamingException ex ) {
    System.err.println( "NamingException: " + ex.toString() );
    throw new EJBException("Unable to connect to database. " +
    ex.getMessage());
    private void disp_tx_status( int status )
    System.out.print( "Transaction Status: " );
    switch( status )
    case( Connection.TRANSACTION_READ_UNCOMMITTED ):
    System.out.println( "TRANSACTION_READ_UNCOMMITTED" );
    break;
    case( Connection.TRANSACTION_READ_COMMITTED ):
    System.out.println( "TRANSACTION_READ_COMMITTED" );
    break;
    case( Connection.TRANSACTION_REPEATABLE_READ ):
    System.out.println( "TRANSACTION_REPEATABLE_READ" );
    break;
    case( Connection.TRANSACTION_SERIALIZABLE ):
    System.out.println( "TRANSACTION_SERIALIZABLE" );
    break;
    case( Connection.TRANSACTION_NONE ):
    System.out.println( "TRANSACTION_NONE" );
    break;
    default:
    System.out.println( "UNKNOWN" );
    break;
    private void show_supported_trans_levels( DatabaseMetaData dmd ) throws SQLException
    System.out.println( "List of Supported Transaction Isolation Levels: " );
    if( dmd.supportsTransactionIsolationLevel( Connection.TRANSACTION_READ_UNCOMMITTED ) )
    System.out.println( "TRANSACTION_READ_UNCOMMITTED is supported!" );
    else
    System.out.println( "TRANSACTION_READ_UNCOMMITTED is unsupported!" );
    if( dmd.supportsTransactionIsolationLevel( Connection.TRANSACTION_READ_COMMITTED ) )
    System.out.println( "TRANSACTION_READ_COMMITTED is supported!" );
    else
    System.out.println( "TRANSACTION_READ_COMMITTED is unsupported!" );
    if( dmd.supportsTransactionIsolationLevel( Connection.TRANSACTION_REPEATABLE_READ ) )
    System.out.println( "TRANSACTION_REPEATABLE_READ is supported!" );
    else
    System.out.println( "TRANSACTION_REPEATABLE_READ is unsupported!" );
    if( dmd.supportsTransactionIsolationLevel( Connection.TRANSACTION_SERIALIZABLE ) )
    System.out.println( "TRANSACTION_SERIALIZABLE is supported!" );
    else
    System.out.println( "TRANSACTION_SERIALIZABLE is unsupported!" );
    =========================================================
    However, I encountered the following exception when running at the highlighted statement:
    ======================================================
    SQLException: java.sql.SQLException: Transaction manager errors. statement not allowed in XA Session.
    ======================================================
    To my surprise, the isolation level TRANSACTION_SERIALIZABLE is supported from the database vendor. So why can't I change the transaction isolation level?

    You can change the setting, you may need to click the lock at the bottom of the preference pane. Be careful what you download and install, Gatekeeper is there to help you. OS X: About Gatekeeper - Apple Support

  • Bulk Changes to Transactions

    Hi All,
    We have a requirement of enabling Bulk Changes to transactions. For example if select 5 opportunities and change the status for one of the opportunity, the status for the other selected opportunities also gets changed.
    Any pointers on how to achieve this would be highly appreciated
    Regards,
    Varun

    Hi Varun,
    When you mentioned select 5 opportunities, from which screen/transaction
    you select these documents from?
    You can create Action Defintion to call Function CRM_ORDER_CHANGE_STATUS to each of those 5 documents.
    Hope this helps.
    cheers,
    Gun.

  • Avoid the printing of Pallet lebel address in transaction VL02N.

    Hi Friends,
    We  confirms a T/O via transaction LT12. Once the T/O is confirmed , then i opens up Transaction VL02n and u201CSAVESu201D the screen. Once I hits save, the system will generate the u201CINTERNAL PACK LISTu201D and the u201CPALLET ADDRESS LABELSu201D automatically. The Internal Pack list is fine the way it isu2026.
    Once I saves his transaction in VL02n, I would like a box to come up that asks  to print pallet labels and if so, how many. Then i would save the screen and, if selected , the pallet labels would print.
    Can anyone tell me how to do it? weather to use userexit , customer exit or badi?
    Plz help me..
    Thanks and Regards,
    Rakesh.

    I would probably pick an unused delivery header field to store the number of pallet labels the user wants. This will be updated by a popup window during a user exit or BAdI implementation. BAdI LE_SHP_DELIVERY_PROC / method SAVE_DOCUMENT_PREPARE or the good ole' USEREXIT_SAVE_DOCUMENT_PREPARE in SAPMV50A could be utilized for this.
    Then a proper VOFM requirement routine assigned to the print conditions could check the header field value. If it is not 0, the condition is fulfilled and the pallet label print request is created.
    We'd want the field ANZAL in NAST to be set to the number of labels entered by the user... I don't know off the top of my head where can this be done while the output request is generated during the document save process, so this needs a bit of investigation but it's doable if I remember correctly.
    Alternatively if setting NAST-ANZAL doesn't work out, the print progam could handle the number of the labels that are printed when the print request is processed.
    There is no need to create a custom transaction to achieve this...

  • Change the transaction type and BP from contract in use - TRM

    Hello good morning
    We are a Brazilian company and we have some contracts on the SAP TRM.
    These contracts are in partnership with a Bank called UNIBANCO. The
    transaction type used for these operations is classified as "linked".
    However, the bank Unibanco was recently acquired by Itau bank. The new
    bank does not want to keep those contracts with us. Then we have to
    change the transaction type to "NOT linked" to companies and keep the
    contracts normally. It would be necessary because it will change the
    accounting postings of operation and the business partner.
    We could settle the current operation and insert it again on the SAP
    using the new business partner and a new transaction type. However
    there is some taxation that could not be applied again and we will lost
    the past historic of operations.
    Could you suggest some solution for that?
    Best regards

    Of course, my friend.
    TRM - Treasury and Risk Management.
    It is related ERP - Financial Supply Chain Management.
    Best regards

  • Running BDC program in background for the transaction VL02N

    Hi All,
    I have coded a BDC program (call transaction method) for the transaction code VL02N. I can able to run the program manually & successfully. But if I execute the program in background(SM36), it is going to dump giving CNTL_ERROR.
    Note: I am not using any of the GUI_UPLOAD, GUI_DOWNLOAD funciton modules in the program. But I am using the FTP command funtion modules like( FTP_COMMAND, FTP_CONNECT, FTP_DISCONNECT and FTP_SERVER_TO_R/3).
    <removed_by_moderator>
    Thanks in advance.
    Ramesh.
    Edited by: Julius Bussche on Jul 8, 2008 5:55 PM

    VL02N is an enjoy transaction. You cant run it in background. Please try VL02.
    Thanks
    Romit

Maybe you are looking for

  • Error in Flex at the time of Value Help

    Dear All, While I am creating Value Help then this error shows if deployed. "Error in compiling swf for Flex 2 application. Consult log file for details." What should I do? Regards, Santanu

  • Warning while doing a DB Check on my PRD server

    Dear Experts, I have been going through a series of warnings on my DB13 since a week now whenever i perform a Check DB activity. I have been scheduling my tasks as follows Start Time - Period - Action 01:00:00               1                 Check an

  • Fund center & commiitment items not getting copied to down payment requests

    Hi When we create a down payment request against a purchase order , the Committment item and fund center are not getting copied from the Purchase order. kindly provide suitable solutions. Regards Suresh A

  • Can I copy one Custom Quality Notification TYPE to another TYPE (i.e. ZH to ZC)?

    We need to make nearly identical Quality Notification Types to one we have already created. I've seen how to create one from one of the Standard SAP notification types but its pull-down copy-from only lists SAP ones and there seems to be no provision

  • Source Configuration Management / Version Control

    I was wondering what the Forte raving masses out there are doing about Source Configuration Management and Version Control type of issues? Have you been able to implement or "skunk work" a packaged product with your Forte development environment? Our