Enhancement in VA01 Additional data B tab

Hi All,
I have added 2 fields in tcode VA01 in header --> Additional Function --> Addtional data B (screen 8309) which are getting saved in VBAK table in custom fields which i have added in VBAK table using append structure.
Now my requirement is, for a particular order type one of the fields which I have added in Additional data B screen should be mandatory. For that i have wriiten a code in PBO (include MV45AOZZ)
                                  LOOP AT SCREEN.
                                       IF VBAK-AUART = 'Z2OR' AND SY-TCODE = 'VA01'.
                                            IF SCREEN-NAME = 'VBAK-ZZTRIPORDER'.
                                                   SCREEN-REQUIRED = 1.
                                                   MODIFY SCREEN.
                                            ENDIF.
                                        ENDIF.
                                   ENDLOOP.
Now this code is working fine if I visit that screen (Additional data B screen), but it is not working if i dont visit that screen. I want that the document will not get saved if that field blank for that particular order type.
Can anyone help me please?
Thanks in advance.
Regards,
SURYA

Hi
If you are in the screen, it works, if no, it doesn't work. The manner to do it is with a userexit. Try it with USEREXIT_SAVE_DOCUMENT_PREPARE in include MV45AFZZ for instance.
I hope this helps you
Regards
Eduardo
Edited by: E_Hinojosa on Jul 1, 2011 9:14 AM

Similar Messages

  • Is it possible to add 'Additional Data C' tab in VA01/VA02/VA03

    Hi All,
    Is there any way or in config that we can enhance the VA01/VA02/VA02 with one more tab other than 'Additional Data B' tab.
    i want to add 'Additional Data C' tab for a requirement.
    Please give your valuable comments.
    Thanks,
    Jaffer Ali.S

    Hi ,
    It can't done for the VA01/VA02/VA03.
    these are available for the .
    V45A0001  Determine alternative materials for product selection --->The Description of this enhancement tell us that it determines the alternative materials for product selection. (i.e., If  one material is not available what is the other material that has to be used as an alternative. So it is item specific).
    V45A0002  Predefine sold-to party in sales document--->By Description we understand that we can predefine sold-to party in the sales document. (i.e., it is used to populate the field sold-to party through user-exit while entering the data. ) But our requirement comes after entering the data in the screen and save button is pressed.
    V45A0003  Collector for customer function modulpool MV45A
    V45A0004  Copy packing proposal---->Copy packing proposal Into Out bound delivery. This description implies that  whenever we create a Delivery Order from Sales Order it copies the packing proposal  Based on the already created Sales order. So, there is no chance for us to save the data while we create or change a Sales order.    
    We can't done.
    Regards,
    Bharani

  • Custom field in VA01 at item level in Additional Data B Tab

    Hi ,
    I have a requirement to add a custom field at item level in Additional Data B tab of VA01/VA02. We have to store the data in that field in the VBAP table also have to validate the data entered in the field when user hit save.
    Can any body tell me step by step procedure to do that.
    Appreciate your response.
    Thanks,
    Rohit

    Add append structure  ZAVBAP  in table VBAP in Tcode: SE11.
    In this structure include the new fields to be added to the screen.
    Then in Tcode : SE80
    take program: SAPMV45A
    take screen 8459  and add the new field.
    Also add the validation in the flow logic.

  • Custom field at Header level in Additional Data B tab of VA01/VA02

    Kindly help me out , I have a requirement to add a custom field at Header level in Additional Data B tab of VA01/VA02.
    Program: SAPMV45A
    screen 8459
    This can be done only through access key or not. Can any body tell me procedure to do that.
    Appreciate your response.Thanks in advance

    Please help me out this

  • How to enhance IT 1001 additional data screen.

    Hi Folks,
    I want to enhance IT1001 additional data screen, (I want to add two fields on the screen), the table of it is HRPAD34 and it also contains CI include, But When i try to enhance it through PPCI T-code, I'm unable to do it, Can any buddy suggest how to enhance screen  of additional data of IT1001.
    Thanks
    Teja.

    try this link u will get enhancing infotype....
    <link to blocked site removed by moderator>
    Thanks,
    Amol
    Edited by: Thomas Zloch on Feb 6, 2012

  • Adding custom fields to VA01 additional data tab without access key

    I have to add custom fields at item level in transaction VA01/VA02.
    Is  access key required to add fields to additional data screen i.e 8459 ?
    Is there any way to do this without using access key ?

    Hi ,
    Try for any User Exit or BADI available for the tcodes.
    Here are exits for VA01 and VA02.
    Exit Name           Description
    SDTRM001            Reschedule schedule lines without a new ATP check
    V45A0001            Determine alternative materials for product selection
    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 plan
    Regards,
    Lakshman.

  • Update "Additional data b" tab.

    Hi all,
    I have a requirement to change SD Orders in background. Function module BAPI_SALESORDER_CHANGE is working fine, but I need to update u201Cnotification number fieldu201D at Sales Order header. In transaction VA02 notification number appears in the tab u201Cadditional data bu201D (field VBAK-QMNUM). However, I canu2019t find this field to be updated through BAPI_SALESORDER_CHANGE. Has anyone faced this issue before? Is there any technique to update vbak-qmnum in background?
    Thanks,
    Marcos Vilela.

    Hi Marcos,
    I can suggest 3 alternatives for what you want:
    (1) use fm SD_SALES_DOCU_MAINTAIN instead:
          It is more complicated to use, cause you have to populate all the
          relevant structures and internal tables with SO data. However it can handle
          VBAK-QMNUM in I_VBAKKOM
    (2) use the EXTENSIONIN parameter of the BAPI
          To do this, you should first create append structures for BAPE_VBAK and BAPE_VBAKX
          Introduce the QMNUM field in append str. for BAPE_VBAK with data element QMNUM (12chars),
          in append str. for BAPE_VBAKX with data element BAPIUPDATE (1 char)
          Then populate the EXTENSIONIN parameter with 2 lines:
          1. extensionin-structure = 'BAPE_VBAK'
              extensionin-valuepart1 = vbak-vbeln(10 chars) + vbak-qmnum(12 chars)
          2. extensionin-structure = 'BAPE_VBAKX'
              extensionin-valuepart1 = vbak-vbeln(10 chars) + 'X'(1 char)
    (3) simply update VBAK-QMNUM with SQL statement UPDATE.
    BR,
    Barna

  • IE01-IQ01 Additional data 1 tab

    Hello, I have a problem.
    I configure in the IMG the view additional data1, in order it will display eg the warranty (110) .
    Then in the transaction IE01, i did not see any view appearing.
    What could it be?

    HI
    after you asined new data (110) in Set View Profiles for Technical Objects H2,
    have you assined this H2 in Maintain Equiment Category -view profile
    -pl check
    -ashok

  • Additional Data B Tab; screen#8309 scroll bar problem

    Hi
    I created additional fields to capture Quotation related information.  There are about 43 custom fields added to VBAK using append structure.
    These have modified the Screen#8309 to include all those fields.  Looking at attributes of the screen#8309, it says Occupied 31 lines and 121 columns.
    When I execute transaction VA21 and my display is average screen size, I see about 21 lines and scroll bar to see the rest of the screen.  When I click on the scroll bar, the rest of previously hidden section of the screen shows blank.
    If I maximize my screen, all the fields show up correctly.  When the screen is in a reduced size and section that become visible when we use the scroll bar remain blank.
    I compared the attributes of screen#8309 and fields I have added with other SAP Screens which are long and run into multiple screens, I don't see anything specific parameter or flag that will initialize the hidden section of the screen.
    Question is how to get the hidden section of screen to populate automatically!?
    Any help is appreciated.
    Thanks,
    Vasava Krishnamoorthy

    Found the answer ...
    OSS Note# 302497,
    There is field "Scrollable" in the field attributes of the subscreen 8309 when you edit screen 4312; this field needs to be turned on ...

  • Addition of new field in VA02 and VA01 in additional data tab B

    Hi,
    I have added a new field called delivery date to additional data tab B in both tcodes va01 and va02. Now, while creating or changing a sales order, if the Sales group is I00 then this field should be filled up mandatorily. For va01 and va02 i have done all the required coding where all this is done on pressing the save button when we are in the additional data b tab.It would throw an error message if the date is wrong and a wrning if it is empty (provided sales group is I00). I did the coding in 4462 screen.
    My requirement now is that if somebody doesnt go to the 'additional data b' tab n try to save the Sales order then also it should throw a warning or error stating that delivery date field should be filled up. Where exactly should i place the coding now? if it is screen 4900 then can someone suggest me at what place should the coding be done.
    Regards,
    Puja

    Hi Puja,
    Seems you have added the fields at item level in sales order and for this you must have appended the additional fields
    in vbap table. So to validate these fields you can use USEREXIT_CHECK_VBAP available in MV45AFZB user exit include.
    The fields you appended will be available in vbap structure, add your validation here or even in USEREXIT_SAVE_DOCUMENT_PREPARE  available in MV45AFZZ which is called before saving the sales order.
    Regards,
    Pawan

  • Enhancement in VA01 (Custom field addition in Additional Tab at header)

    Hi Experts,
    I have to develop some custom fields in tcode VA01 at header level in addtional data B tab. I know that i can use access key and develop the screen 8309 of program SAPMV45A and for that i have to provide access key. But i dont want to use access key.
    Is there any screen exit or badi through which i can develop the screen in additional data B tab in VA01. Please provide me suggestion.
    Thanks in advance.
    Regards,
    SURYA BASU

    Hi
    I don't know other solution. Provide a key in my opinion is not a problem. You must do it when create your own VOFM subroutines in your customer range number. if your boss or your client has doubts, ask him/her to see the SAP Note 381348 - Using user exit, customer exit, VOFM in SD, when it says:
    At the beginning of the R/3 development the SAP Basis did not offer
    technologies for exits yet, nevertheless many customers wanted to implement
    their own functions, checks, and so on. Thus, in the SD area, includes were
    delivered like, for example, MV45AFZZ. This include contains some empty
    FORM routines (user exits) to which you can go from the respective
    processing programs.
    and
    Changes to user exits in SD are MODIFICATIONS,
    since the original of an object belongs to SAP (thus when you change a user
    exit an SSCR registration is also required).
    Why this exits belongs to SAP, see Note 16466 - Customer name range for SAP objects.
    I hope this helps you
    Regards
    Eduardo

  • Sales Order (VA01)- Addtional Data Tab B Request

    Hi All,,
    This is sales order(VA01) relevant and I have added the new "ZZFIELD" field in the "Additional data B" which i kept screen painter attributes check box chosen "Input Field" and Input "required".
    When i am creating sales order(VA01), the moment click on "addtional data B"  ZZfield become mandatory input field able to save sales order sucessfully after keying data. But user want's, after enter line item data which is material & qty , then cursor required to go additional data B which is mandatory field ZZFIELD. Right now, user enters line item material , qty and he is able to save it Sales order  and cursor is not going or waiting at ZZFIELD in addtional data B Tab(unless and unitl he press Additional data B Tab) .
    Is there any solution after user enter material and qty after clicking enter cursor should go "Additional data B" wait at "ZZFIELD"(as this mandatory field before sales order save) ? 
    If we dont go the Additional data B and save the document , it's not giving the message "Make an Entry required fields and it is directly saving the document.?
    Any help is highly approciate ....
    Below code written already:
    Program:SAPMV45A screen :8459 put PBO code as per below:
    Loop at Screen.
    If screen-name = 'VBAP-ZZFIELD'.
      if SY-TCODE = 'VA01' AND ORDERTYPE = 'ZSS'
        SCREEN-INPUT = 1.
       MODIFY SCREEN.
      ENDIF.
    ENDIF.
    Best Regards
    Kushal

    Hi   Abdul ,
    You dont have to do ny extra coding for the scroll bar once the no of fields increase with respect to the tsb screen area it will automatically have a scroll bar in it .
    Hope it helps
    Regards
    Swapnil

  • Screen for  'Additional Data B' of  VA01

    Hi folks,
    i want to add one field cusomer no  in 'Additional Data B' tab of VA01.
    can anyone tell me the screen number for 'Additional Data B' of VA01 & the complete process of creating the field & validating the VBAP table?
    Points will be awarded.
    Regards
    pabi

    Hi Pabitra,
    If you want to add fields in the item, create append structure for VBAP to add fields to standard table
    In the screen mentioned , using graphic painter -> "import data from dictionary" from VBAP ->use the table and bring to the element to the screen
    In PBO write logic for the field mainly to inactivate the screen for VA03 ...write the logic
    if sy-tcode is 'VA03'.
    Loop at screen.
    screen-input= 0.
    Modify screen.
    endloop.
    endif.
    In the PAI write validations for the field if required
    Pls check and revert
    Reward if useful
    Regards
    Byju

  • Adding Field in Additional Data B in VA02-Please help me out this

    Kindly help me out , I have a requirement to add a custom field at Header level in Additional Data B tab of VA01/VA02.
    Program: SAPMV45A
    screen 8459
    Can any body tell me procedure to do that.
    Appreciate your response.Thanks in advance

    Hi
    Check the link
    http://techbays.com/2008/04/17/implicit-enhancement-in-sap-ecc-60/
    There is a BADI BADI_SD_V46H0001 and Method EXIT_SAPLV46H_003.
    You should be able to it without access keys.Consult your SD Functional Guy also
    Regards
    Sanil Bhandari

  • Add buttons in Sales Order's Addtional Data B Tab

    Hi All,
    I want to add buttons in Sales Order's Additional Data B tab. I had try to draw a creen in painter and push a button in the screen, also assign a fcode to it.
    I had try to test the button, and I find that, it could work, but after it's action, a error msg give out and said there are no this request function.
    I think it may cause by the fcode passing between screen. However, I don't know how to fix it. Any sample coding could for me reference?
    Thanks!

    Hi,
    yes u can add the button  with Fcode on Additional data B screen.But u have write the code in the PAI of the screen,inorder to do something,for that u need to have accesskey also...i hope while adding fields to Additional data B screen u ahve used teh accessskey for adding..zfields
    Regards,
    Nagaraj

Maybe you are looking for

  • Explain Plan useability

    I like the explain plan functionality - it is good for doing spot checks on execution plans. Unfortunately, I cannot copy the plan once it is produced, so if I need to send someone a copy of the plan, I revert to producing the execution plan in TOAD.

  • Safari researches on bing when i click on a link

    When i use the searchbar at the top of safari, it searches what i type on google as normal, but then when i click on the link i want, it redirects to bing.

  • Batch Action - Does NOT Rename Files Properly

    have CS3 on XP I am doing a batch rename. The batch transfers the images from folder to folder like I want and performs a reduce size to 600pix action I created...but it DOES NOT rename the files to what I tell it. I want the files original name to h

  • How to Delete IDES Logo

    Hi Friends, If we execute f.17 customer balance confirmation transaction we are getting the standard logo IDES holding company and in letter Kind regards IDES holding company is coming. How to change the logo and from address. Vijay.

  • Banding in Gradients when printing

    Issue #1: (page 1 of the attached PDF) I gave a very large file that contains several gradients.  I have to save it as a PDF to send it to the printer.  When it prints (on an Epson large format printer) there is a spot in the gradient that becomes so