Enhancement on T-CODE VA01

Dear sir's
  Our sales docuement number is using the external  assigned by user  key in then user request to help them that sales docuement faster  entry  for  a sale document number field vaue copy  from purchase order number fields   by user exit  program .
   I have tried to write short code on the exit program MV45AFZB on th FORM userexit_check_vbak USING us_dialog.
   the ABAP/4 code is that MOVE:ZQMNUM+3(9) to vbak-vbeln.
  and I also  try to create the  sales docuement and save that , the system deosnt respond any error message .
  but use t-code va02 didnt found that sales  docuement and i check the table  vbak also not yet data exit.
Have any one could suggest me that how  to sovle this request?
Sue 20081113

Hi Sue,
As i understood so far,Sales order is an auto generated number pre-configured by the SD consultant to fall within that number range...
The following are only my suggestions .....
(1)to check if it is possible through  configurations for having a number range similar to the external number provided these 2 are directly linked and that there is always a Sales order linked to every external number..........
(2) we have a field called PO refernce number in the header.We can fill this field in the user exit of the include MV45AFZZ in userexit for move field to vbak and then in all the custom reports and programs link this field and standard VBELN number so that SAP flow is not affected.
(3) check for enhancement spots wherein the vbeln field is overwritten immediatly after number generation...Please note that overwriting the standard field is a tiring task.,especially a key field..because we need to clearly understand which all tables are being updated with this number..so if the field vbeln has a parameter name(press F1 on Vbeln field and you will get the detail list ,with one field called "parameter name" ) assigned to it overwrite it with the required number so that all standard tables are relected with this number....(use F1 helo set/Get parameters to learn more)..try filling this parameter using set parameter statement  OR check for badis and user exits
If I come across a possible exit ,will update you
Hope it helps
Regards
Byju

Similar Messages

  • How to make all fields mandatory in sales order T- code VA01 initial screen

    Dear all,
    how to make all fields mandatory in sales order T- code VA01 initial screen itself
    The fields are
    Sales Organization
    Distribution Channel
    Division
    Sales Office
    Sales Group
    Regards,
    Amar Reddy

    Hi,
    You can use Transaction Variant to achieve this functionality.Please go through the following link which helps you in creating the same.
    [Link|http://wiki.sdn.sap.com/wiki/display/Snippets/TransactionVariant-AStepbyStepGuidefor+Creation]
    Regards,
    Phani Prasad

  • Error on t-code va01, type : or

    I want to create an order, t-code : va01 and order type = OR
    but i got an error:
    Order type 'OR' has not been defined in Sales area <'GTSA','GT','GT'>
    where can i define this order type to sales area ?
    Thank you.

    Please try the IMG path: Sales and Distribution -> Sales -> Sales Documents -> Sales Document Header -> Assign sales area to sales document types.
    I hope this helps. This is my first post so please reward me

  • Addition of a Button in screen of  T.code VA01

    Hi there,
         I need to add an addtional button to the Application tool bar of the standard screen for T.code VA01 , can any one please tell me how to do that if it is possible to do so?
        Thanks in advance for your help.
    Best Regards.
    Didier Verloppe

    HI Didier,
    I don't think you can do that in a 'standard' way. The closed option would be to put the button on one of the sales header tabs that can be extended in a standard way ( = upgrade proof ). But I don't if that is a viable option ?
    ( e.g. subscreen 4313 via BADI  BADI_SD_TAB_CUST_H )
    OTherwise, you can only change the standard GUI status and add your button ( = modification ) . There are customer exits available to show/hide this button dependant upon e.g. document type
    rgds
    Dirk

  • How to request APEX product enhancements (such as code protection)

    Have reviewed and there are posts that go back to at least 2009 inquiring how to protect apex code from being exported in attempt to protect licensed applications.
    As everyone is aware, there exists the ability to export an application read-only, but this does not prevent the APEX administrator from the licensee from changing to run and build once the code has been installed by the licensor. While the procedures and functions may be wrapped, there still exist no way of protecting APEX application code which will be the core work of the licensor.
    Sure there is the license agreement between the licensor and licensee, but how difficult could it possibly be to add an export option, such as 'export read-only protected', which would prevent modification to run and build at a later time by the licensee?
    An otherwise wonderful product still suffers with this major, yet seemingly easily corrected flaw.

    johnny wrote:
    how to request APEX product enhancements (such as code protection)
    Re: Apex 4.2 wish list, but apparently failed to read my follow-up:
    Have reviewed and there are posts that go back to at least 2009 inquiring how to protect apex code from being exported in attempt to protect licensed applications.If that's the criteria then Pagination Sub-template and table-less layouts and XHTML Validation and Accessibility would have 3 years priority on it.
    As everyone is aware, there exists the ability to export an application read-only, but this does not prevent the APEX administrator from the licensee from changing to run and build once the code has been installed by the licensor. While the procedures and functions may be wrapped, there still exist no way of protecting APEX application code which will be the core work of the licensor.
    Sure there is the license agreement between the licensor and licensee, but how difficult could it possibly be to add an export option, such as 'export read-only protected', which would prevent modification to run and build at a later time by the licensee?
    An otherwise wonderful product still suffers with this major, yet seemingly easily corrected flaw.However, as usual, the needs of corporate lawyers appear to count more than those of developers, as the Statement of Direction says that APEX 4.2 will include features to protect our rights to our non-standard and non-semantic apps.

  • Error occoured while runnin t-code VA01

    Hello,
    When i'm going to run the t-code VA01 this unknown program error is going to occoured.
    I send that error attchment please help me for solving this error.

    hi siddarth..
    you got dump..not error...
    and you got this  because of VBAP table....i think there is a APPEND structure in VBAP table because of which the VBAP table is partly activated...
    so.go to VBAP table and click on APPEND structure...then u will be provided with all APPEND structures...delete corresponding structure which contains that field  'ZZDEA_LICENSE'..
    now activate the VBAP table....(optional--better go to SE14(Data base utility)--enter table VBAP...activate it)....
    VA01--will be opened...

  • Controling for T.code VA01

    I need to hide some tabs in the transaction VA01.
    1. Tabs to be hidden in the header level are ( Item detail, Ordering party, Procurement).
    2. Some column of Item level are also required to be hidden.
    3. I have to make the item overview tab in the header level as default as compared to Sales tab which is the current default when you provide the order type.
    Thanks
    Edited by: Basavaraj Aiholi on Sep 10, 2008 3:38 PM

    > I need to hide some tabs in the transaction VA01.
    >
    > 1. Tabs to be hidden in the header level are ( Item detail, Ordering party, Procurement).
    >
    > 2. Some column of Item level are also required to be hidden.
    >
    > 3. I have to make the item overview tab in the header level as default as compared to Sales tab which is the current default when you provide the order type.
    Hi,
    You can suppress or remove various fields by using the screen transaction variant. Transaction code: SHD0
    Provide the T.code "VA01" and create the standard variant or choose an existing one.
    Click on "Change With Processing" button or press F6.
    Continuing through the transaction, you can suppress any field.
    Activate the variant as the final step.
    Go through the following link for detailed step-by-step procedure with screen shots:
    [http://www.mortenhjorthnielsen.dk/Security/transactionvariants.htm]
    Hope this helps.
    Regards,
    Swapna

  • User exit about change item's goods issue day in transaction code VA01

    Hi everyone.
    Can someone give me some advice how to change item's
    goods issue by user exit?
    thank you in advanced.
    Regards.
    Eric xu.

    Can u be more clear.
    This are the exits used for the VA01
    SDTRM001            Reschedule schedule lines without a new ATP check
    V45A0002            Predefine sold-to party in sales document
    V45A0003            Collector for customer function modulpool MV45A
    V45A0004            Copy packing proposal
    V45E0001            Update the purchase order from the sales order
    V45E0002            Data transfer in procurement elements (PRreq., assembly)
    V45L0001            SD component supplier processing (customer enhancements)
    V45P0001            SD customer function for cross-company code sales
    V45S0001            Update sales document from configuration
    V45S0003            MRP-relevance for incomplete configuration
    V45S0004            Effectivity type in sales order
    V45W0001            SD Service Management: Forward Contract Data to Item
    V46H0001            SD Customer functions for resource-related billing
    V60F0001            SD Billing plan (customer enhancement) diff. to billing
    SDAPO001            Activating Sourcing Subitem Quantity Propagation
    V45A0001            Determine alternative materials for product selection
    Regards

  • Screen Enhancement on T-Code AS01 (Asset Master)

    Hi Experts,
    I want to add a filed of Customer Number( KUNNR) on the Asset Master Screen ( t-code AS01)
    I have done a lot of work....
    I have used the Enhancement AIST0002 ..... also make the Subscreen....
    In Short, now my field is Displaying on the Asset master Standard Screen. also displaying the F4 help against it...
    *Problem:*
    when i save the Data ... it does not save the data...
    I also check the table ANLU. there is no record exist... (boz i did not write any Code)
    Can i have to Write the Update Query for save the Record?
    Note: i am first time making the Screen Enhancement.
    Regards,
    Rizwan

    Dear George Serfiotis,
    i have find the solution completely ... now, not only my Screen is displaying but also working properly..
    http://binarycse.com/joomla/index.php/sap-abap/screen-exits
    <<CUT AND PASTE OF ABOVE LINK DELETED>>
    <<REQUEST FOR POINTS DELETED.  It was your question anyway...>>
    Rizwan
    Edited by: Matt on Nov 18, 2008 3:08 PM

  • Problem in finding table fields to enhance 0CRM_SRV_CONFIRM_H for 'Code'

    Hi,
    My source system for BW is CRM. This development is related 'Service Order and Confirmations'. The relevant data source in CRM system is 0CRM_SRV_CONFIRM_H. This data source does not have any information for 'Catalog/Code Group/ Classification Codes' for a Service ticket. So, I have to enhance the data source with it.
    'Catalog/Code Group/ Classification Codes'  is present in the table CRMD_SRV_SUBJECT but there is no common joining fields for the table with datasource or CRMD_ORDERADM_I or CRMD_ORDERADM_H table. CRMD_SRV_SUBJECT has a field called GUID, but transaction data stored in that is not matching with any GUID column of datasource or CRMD_ORDERADM_I or CRMD_ORDERADM_H table.
    Data source can be joined with CRMD_ORDERADM_H [ DS-GUID = CRMD_ORDERADM_H-GUID ] and with CRMD_ORDERADM_I [ DS-GUID = CRMD_ORDERADM_I -HEADER ].
    Thus, I think, the transaction data is stored in some other table which can be joined with the data source. Please help me giving the relevant table/field name to enhance the data source.
    Thanks in advance,
    Dibyendu

    Hi Dibyendu ,
    Please checkout Database view
    <b>CRMV_REPORT_SUBJ</b>
    ==============
    Join between below 4 tables
    CRMD_ORDERADM_H
    CRMD_LINK
    CRMD_SRV_OSSET
    CRMD_SRV_SUBJECT
    ==================
    CRMD_ORDERADM_H     CLIENT     =     CRMD_LINK     CLIENT
    CRMD_ORDERADM_H     GUID     =     CRMD_LINK     GUID_HI
    CRMD_LINK     CLIENT     =     CRMD_SRV_OSSET     CLIENT
    CRMD_LINK     GUID_SET     =     CRMD_SRV_OSSET     GUID_SET
    CRMD_SRV_OSSET     CLIENT     =     CRMD_SRV_SUBJECT     CLIENT
    CRMD_SRV_OSSET     GUID     =     CRMD_SRV_SUBJECT     GUID_REF
    Thanks,
    Aby Jacob

  • Enhancement in T-code MIR7

    Hi All,
    I have a requirement as under:
    In the T-code MIR7  I want 'Pmnt Block' field to be automatically set as 'A' in the Payment tab when the error message
    "Price too low (below tolerance limit of xxxxx INR)" is triggered. Currently 'Pmnt Block' field comes as blank.
    Somebody know how to do that(something from enhancement spot).
    Thanks,
    Chinmay

    Hi,
    check this thread:
    Userexit or BADI for MIRO
    Best regards.

  • Enhancing 0FI_GL_4  - ABAP code is NOT working -  URGENT PLEASE ???

    Hi all,
        I want to enhance 0FI_GL_4 extractor with CHECT, RWBTR & PRIDT from PAYR table if VBELN of 0FI_GL_4  is not BLANK, with the following conditions:
    1.Load all the records of PAYRQ table into PAYRQ internal table LT_PAYRQ
    with matching BELNR, AUGBL & BUKRS from I_DTFIGL_4 internal table.
    2.Load all the records of PAYR table into PAYR internal table LT_PAYR
    with matching AUGBL & BUKRS from LT_PAYRQ internal table.
    3.Read PAYR internal table LT_PAYR with matching BELNR (from I_DTFIGL_4
          internal table) and fill the new fields  CHECT, RWBTR & PRIDT.
    The following the is ABAP code, but it is NOT working:
    DATA:I_DTFIGL_4 LIKE DTFIGL_4 OCCURS 0 WITH HEADER LINE,
         L_TABIX LIKE SY-TABIX.
    DATA: BEGIN OF LS_PAYRQ,
                 ZBUKR LIKE PAYRQ-ZBUKR,
                 BELNR LIKE PAYRQ-BELNR,
                 AUGBL LIKE PAYRQ-AUGBL,
             END OF LS_PAYRQ.
    DATA: LT_PAYRQ LIKE LS_PAYRQ OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF LS_PAYR,
                 VBLNR LIKE PAYR-VBLNR,
                 CHECT LIKE PAYR-CHECT,
                 RWBTR LIKE PAYR-RWBTR,
                 PRIDT LIKE PAYR-PRIDT,
             END OF LS_PAYR.
    DATA: LT_PAYR LIKE LS_PAYR OCCURS 0 WITH HEADER LINE.
    WHEN '0FI_GL_4'.
        I_DTFIGL_4 = C_T_DATA.
        SELECT BELNR   AUGBL  ZBUKR
          FROM PAYRQ
          INTO CORRESPONDING FIELDS OF TABLE LT_PAYRQ
          FOR ALL ENTRIES IN I_DTFIGL_4
          WHERE BELNR = I_DTFIGL_4-BELNR
            AND AUGBL = I_DTFIGL_4-AUGBL
            AND BUKRS = I_DTFIGL_4-BUKRS.
        SORT LT_PAYRQ BY BELNR.
        SELECT VBLNR CHECT RWBTR PRIDT
           FROM PAYR
           INTO CORRESPONDING FIELDS OF TABLE LT_PAYR
           FOR ALL ENTRIES IN LT_PAYRQ WHERE VBLNR = LT_PAYRQ-AUGBL
           AND ZBUKR = LT_PAYRQ-ZBUKR.
        SORT LT_PAYR BY VBLNR.
        LOOP AT C_T_DATA INTO I_DTFIGL_4.
            L_TABIX = SY-TABIX.
         IF NOT I_DTFIGL_4-VBELN IS INITIAL.     " IF BILLING DOCUMENT EXISTS
            READ TABLE LT_PAYR WITH KEY VBLNR = I_DTFIGL_4-BELNR.
            IF SY-SUBRC = 0.
               MOVE LT_PAYR-CHECT   TO  I_DTFIGL_4-ZZCHECT.
               MOVE LT_PAYR-RWBTR  TO  I_DTFIGL_4-ZZRWBTR.
               MOVE LT_PAYR-PRIDT    TO  I_DTFIGL_4-ZZPRIDT.
               MODIFY C_T_DATA FROM I_DTFIGL_4 INDEX L_TABIX.
            ENDIF.
            CLEAR:I_DTFIGL_4-ZZCHECT,I_DTFIGL_4-ZZRWBTR,I_DTFIGL_4-ZZPRIDT,
                  LT_PAYR,  LT_PAYRQ.
          ENDIF.
        ENDLOOP.
    Could you please find the problem with above ABAP code and correct it.
    Since I want to enhance it,  if VBELN is not Blank and do I have to move the IF condition (I_DTFIGL_4-VBELN IS INITIAL) to another location for better performance.
    Thanks,
    Venkat..

    Dear Gajesh,
    Please accept my thanks for your Spontaneous reply.
    Selection Screen data is given below.
    1 --> Material Number
    2 --> Inspection Lot Number
    3 --> Date of Lot Creation
    4--> Inspection Type
    Normally the clint will give the Inspection Type ie 4th input and Date of Lot creation ie 3rd Input (Range of Date).
    Please do the needful.
    With Best Regards,
    Raghu Sharma

  • Enhancement for T-Code PHAP_CREATE_PA

    Hi,
    I am using T-Code PHAP_CREATE_PA to create an appraisal document. Is there any way to give message so that whenever i exit the t-code i can warn the user about the status of the appraisal document.

    It uses function module HRHAP_SHOW_DOCUMENT in which one option is you go for implicit enhancement if nothing available but i can see various badi's also avaialble but could not test them on my system.
    Also check if HRHAP00_DOC_PREPARE badi is of any help
    search with HRHAP00* in se18 you will see lot of BADI's use suitable one as per your requirement.
    Nabheet

  • Enhancement for t.code FBRA

    Hi,
    I tried using user-exit F050S006. i inserted a break-piont in the exit and executed transaction code FBRA but control doesnt go to this exit. please help me out in finding an enhancement while executing FBRA.
    Regards,
    Sonali.

    hi,
    check this
    Enhancement
    F050S003                                FIDCC2: Change IDoc/do not send
    F050S002                                FIDCC1: Change IDoc/do not send
    F050S001                                FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    SAPLF051                                Workflow for FI (pre-capture, release for payment)
    RFKORIEX                                Automatic correspondence
    RFEPOS00                                Line item display: Checking of selection conditions
    RFAVIS01                                Customer Exit for Changing Payment Advice Segment Text
    F050S004                                FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005                                FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006                                FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007                                FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001                                Balance Sheet Adjustment
    FARC0002                                Additional Checks for Archiving MM Vendor Master Data
    FEDI0001                                Function Exits for EDI in FI
    Business Add-in
    FI_FB08_SUBST_BUDAT                     FB08: Check Posting Date for Reversal of FI Doc. with FB08
    FI_GET_INV_PYMT_AMT                     BAdI for determining the payment amount for an invoice
    FI_HEADER_SUB_1300                      Screen Enhancement for Document Header SAPMF05A
    FI_PAYREF_BADI_010                      BAdI: Payment Reference Number
    FI_RES_ITEM_CURRENCY                    Document of Residual Item with Invoice Currency
    FI_TRANS_DATE_DERIVE                    Derive BKPF-WWERT from Other Document Header Data
    BADI_ENJ_ALT_ADR                        Go to alternative vendor/customer data
    BADI_F040_SCREEN_600                    Screen Enhancement on F040 0600 Document Header
    BADI_FDCB_SUBBAS01                      Screen Enhancement 1 on FDCB Basic Data Screen (010, 510)
    BADI_FDCB_SUBBAS02                      Screen Enhancement 2 on FDCB Basic Data Screen (010, 510)
    BADI_FDCB_SUBBAS03                      Screen Enhancement 3 on FDCB Basic Data Screen (010, 510)
    BADI_FDCB_SUBBAS04                      Screen Enhancement 4 on FDCB Basic Data Screen (010, 510)
    RFESR000_BADI_001                       BAdI for Own Processing of POR Item
    BADI_FDCB_SUBBAS05                      Screen Enhancement 5 on FDCB Basic Data Screen (010, 510)
    BADI_MIRO_SPLT_ADD                      Append additional fields of ACCVS to ACCIT
    BADI_PRKNG_NO_UPDATE                    BAdI for Deactivating Update of Parked Documents
    FVFZ                                    Replacement for Function Modules of Function Group FVFZ
    INVOIC_FI_INBOUND                       BADIs for Inbound IDoc INVOIC FI (Vendor Invoice)
    F050S008                                FIDCC1, FIDCC2 Inbound IDoc: Update Comparison Ledger
    AC_QUANTITY_GET                         Transfer of Quantities to Accounting - Customer Exit
    ADJUST_NET_DAYS                         Change to Net Due Date
    FBAS_CIN_LTAX1F02                       Tax interface
    FBAS_CIN_MF05AFA0                       EWT - Downpayment Clearing - Tax transfer for CIN
    FISPLIT                                 Online Split: Cash Discount, Exchange Rate Differences
    FI_AUTHORITY_ITEM                       Extended Authorization Check for Document Display (FB03)
    FI_DOC_DISP_LI                          Diversion to Document Items (FB03)
    Yogesh N

  • Enhancement Suggestion - Jdeveloper Code Editor

    Hello,
    I would like to make an enhancements suggestion for the JDeveloper code editor. I find the "history" tab of the source editor extremely useful when I'm trying new things and not sure if they would work. This tab helps me revert changes to a last known version. However, I see myself having to identify the previous correct version by date and time, which is kind of dicey. I do see there is also a description column, however, I'm not able to edit the description with a meaningful message that would help identify as last know good version quickly. Hence, my suggestion is that the history tab of the code editor allow the user to add tags / comments against each version for quick identification.
    Hope the Oracle development is listening, and you'll have to excuse me for posting if this forum is the wrong place to make suggestion ( i didn't quite find any feedback feature on the Jdeveloper product page).
    regards,
    Rehan Yusuf

    No problem Timo.
    I don't think it's worth opening an SR for this. It looks like sub-pixel anti-aliasing isn't supported in the JDeveloper Code Editor, which is a shame, because that's the place where it's most needed.
    Michael.

Maybe you are looking for