Adding fileds to va01 transaction

Can any one tell me how to add fields to standard transaction VA01,
steps are
1) after entering order no in va01,goto---heaaderpurch order data> here i have
  to add 2 fields in the space below.
2) far right side another tabstrip is there-----> Additional B -
here i have to add
    fields,
points will be awarded,
Reddy

Hi,
   Here is the step by step process of implementing 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

Similar Messages

  • Added code for VA01 transaction ----in the include MV45AFZZ

    Hi All,
    I have added the code for pop-up
    if the quantity is greter than 20000 then we need to give the confirm pop-up.
    for that i have added code like this.
    When we clik on YES it will save the order.
    suppose if i clik on NO then i need to change the quantiy value.
    Whats needs to be doing for this.
    Please help me on this.
    IF ( vbak-vkorg = 'CA01' OR vbak-vkorg = 'CA02' OR
           vbak-vkorg = 'CA03' ).
        IF vbak-netwr > '50000.00'.  "Comparing quatity value
          w_txt = 'Order Quantity exceeded 50000 CAD. Please confirm'.
          w_txt1 = 'Order Quantity Check'.
           MESSAGE w901(zmsg1) WITH '50,000.00 CAD'.
          CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
               EXPORTING
                   defaultoption  = 'Y'
                    textline1      = w_txt
                    TEXTLINE2      = ' '
                    titel          = w_txt1
                    START_COLUMN   = 25
                    START_ROW      = 6
                   cancel_display = ' '
              IMPORTING
                   answer         = w_ans.
          CASE w_ans.
            WHEN 'J'.  "<b>This is for COnfirm means Yes</b>
               CONTINUE.
            WHEN 'N'.  "<b>This is for NO</b>
                SET SCREEN 4008.
               CALL SCREEN  4008.
                LEAVE TO SCREEN 4008.
    Thanks
    Sriman.

    Hi,
    I assume that you are writing this code in "<b>USEREXIT_SAVE_DOCUMENT_PREPARE</b>". If not that first thing you do is move your code here.
    The next thing is modify your code like this
    IF ( vbak-vkorg = 'CA01' OR vbak-vkorg = 'CA02' OR
         vbak-vkorg = 'CA03' ).
      DATA: lv_screenno TYPE syst-dynnr.
      IF vbak-netwr > '50000.00'.
        w_txt  = 'Order Quantity exceeded 50000 CAD. Please confirm'.
        w_txt1 = 'Order Quantity Check'.
        CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
             EXPORTING
                  defaultoption  = 'Y'
                  textline1      = w_txt
                  titel          = w_txt1
                  cancel_display = ' '
             IMPORTING
                  answer         = w_ans.
        CASE w_ans.
          WHEN 'J'. "This is for COnfirm means Yes
          WHEN 'N'. "This is for NO
    *        SET SCREEN 4008.        "Remove this line
    *        LEAVE TO SCREEN 4008.   "Remove this line
    *" No need to define variable FCODE again,
    *" it is alreay define in MV45ACOM
            fcode = 'ENT1'.   "sy-ucomm.  Add this line
            lv_screenno = sy-dynnr.       "Add this line
            LEAVE TO SCREEN lv_screenno.  "Add this line
        ENDCASE.
      ENDIF.
    ENDIF.
    Let me know if you have any question.
    Regards,
    RS

  • Credit Memo Request creation in VA01 transaction Code

    Hi All,
    Thank You very much in advance for reading this Query.
    My Requirement is we have to create Credit memo Request in VA01 Transaction Code.But I tried to use the standard FM BAPI_SALESORDER_CREATEFROMDAT2 and It is throwing the Error "Unpermitted combination of Business Object BUS2032 and Sales doc.category K".
    So can any one advise me the correct FM to satisfy this requirement.
    Thanks and Regards,
    K.Krishna Chaitanya.

    Hi
    Try this....
    Pass the below data to the fm: SD_SALESDOCUMENT_CREATE.
    SALES_HEADER_IN:
    DOC_TYPE
    SALES_ORG
    DISTR_CHAN
    DIVISION
    STATUS_BUFFER_REFRESH = 'X'
    SALES_ITEMS_IN:
    ITM_NUMBER
    MATERIAL
    TARGET_QTY
    TARGET_QU
    PURCH_NO_C
    SALES_PARTNERS:
    PARTN_ROLE
    PARTN_NUMB
    SALES_CONDITIONS:
    ITM_NUMBER
    COND_TYPE
    COND_VALUE
    CURRENCY
    COND_UNIT
    Hope this helps....

  • Problem in BDC for VA01 transaction TEXTS tab(Upgrading from 4.5b to ECC6)

    Hi All,
    I am working in upgrade project from 4.5b version to ECC6 version.
    I am facing problem in TEXTS tab of VA01 transaction. In earlier version it is a table control containing of Language, Description & First line but, in ECC6 the screen is modified with texteditor, a list box for language key and a Text type at the left.
    Now my problem is how to record this in BDC and how to read the text in the texteditor?
    Thanks in Advance,
    Ravi Kiran.

    Hi Seshagiri,
    In this case i would suggest the use of BAPI if there's no compulsion to use BDC.
    BAPI_SALESORDER_CHANGE                     Sales order: Change Sales Order
    BAPI_SALESORDER_CONFIRMDELVRY
    BAPI_SALESORDER_CREATEFROMDAT1    Sales order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDAT2    Sales order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDATA    Create Sales Order, No More
    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
    try using these for creation or change of orders instead of bdcs.
    hope this helps and revert for more clarifications if any.
    <b>Always reward points to useful suggestions.</b>
    regards,
    Vikas

  • Pricing date and billing date in va01 transaction

    Dear all,
    step 1:   we have sales order of order type IEL1 in our sap system
    step 2: then we do have order type IELB which is called billing request . this is created in va01 transaction against IEL1 sales order type. now here billing document is created.
    at the time creation of billing request (order type IELB) we get data flown in from sales order of type (IEL1).
    now my requirement is that pricing date and billing date needs to be today's date and not the past date which was in sales order.
    please help me in getting current date at the time billing request.
    what is exit or modification i have to do.
    if not clear please let me know.
    thanks
    krishna

    hi,
    in va01 i create a sales order of type IEL1 and as well order type IELB.
    now in our process we create sales order of type IEL1.
    then we create billing request of type IELB with reference to order of type IEL1.
    finally we create invoice in transaction code vf01 against order type IELB.
    THIS is the process we are following.
    thanks
    krishna

  • Condition type check in va01 transaction

    Hi friends,
    I have a requirment.
    in va01 transaction , at the line item level iam entering a  material number and order quantity and  when i press enter i get the corresponding values for that particular line item.
    now iam double clicking on that particluar line item(matnr) and clicking on the conditions tab.
    there in the condtion type i will get what all the condition types are maintianed for that particular line item.
    now my requirment is i need to add another concdtion type manully
    say 'ZABC' and hit enter. the pricing for that particlular contion type 'ZABC' will be Determined.
    Now  can any one tell me in which internal table will i get all the condition type,
    coz i need to do some additional check for the  the manual entry'ZABC'  (condition type ) which i have given .
    which user exit should i use it.
    remember i need user exit for condition type check but not for pricing bsaed on the contion type
    Regards
    Priyanka.

    Hi priyanka
    If you want to Check  then check in the  KOMK and KOMP tables
    As you want to go for user exit use any one of the user exits as per your requirement  USEREXIT_PRICING_PREPARE_TKOMK  or USEREXIT_PRICING_PREPARE_TKOMP
    But can you tell what exactly you want to change and why you want to go for user exits
    Regards
    Srinath

  • Condition records in va01 transaction

    Hi friends,
    I have a requirment.
    in va01 transaction , at the line item level iam entering a  material number and order quantity and  when i press enter i get the corresponding values for that particular line item.
    now iam double clicking on that particluar line item(matnr) and clicking on the conditions tab.
    there in the condtion type i will get what all the condition types are maintianed for that particular line item.
    now my requirment is i need to add another concdtion type manully
    say 'ZABC' and hit enter. the pricing for that particlular contion type 'ZABC' will be Determined.
    Now  can any one tell me in which internal table will i get all the condition type,
    coz i need to do some additional check for the  the manual entry'ZABC'  (condition type ) which i have given .
    which user exit should i use it.
    remember i need user exit for condition type check but not for pricing bsaed on the contion type
    Regards
    Priyanka.

    EDI1                                   EDI2                              EDI3
    CONTROL
    DATA    1
        cond class            B                                  B                                   A
        calculat type          C                                  C                                  B
        condition category  J                                  W                                  W
    i have tick the follwoing check boxes in CHANGES WHICH CAN BE MADE 
                             amount/percent                   amount/percent           amount/percent                           
                             item condtion                      item condtion              item condtion
                             delete                                 delete                        delete
                                                                                    calculate type

  • Can we Subscreen 8460 instead of 8459 in the VA01 transaction 'Add. Data B'

    Hi All,
    Can we use Subscreen 8460 instead of 8459 in the VA01 transaction 'Additional Data B' tab.
    Because....
    Some developments are already done in 8459 Subscreen, and we do not want to disturb those developments in subscreen 8459.
    Instead Can I use 8460 Subscreen, for new requirement.
    Please advice.
    Thanks,
    Jaffer Ali.S

    its all depends on your business requirement. ask your functional.

  • Exit in VA01 transaction

    Hi All,
    I need to validate VA01 transaction with the following things.
    In the second screen of VA01after entering the feilds sold-to-party, Sold-to par and Purch.order no then press enter then the feild Incoterms will fill automatically. But what i required is if sold-to-party = 'aaa' , Sold-to par = 'bbb' and Purch.order no = '1234' then i need hardcode the incoterms = 'INC'. How it is posible? i found exit MV45AFZZ. so please advise what to do in this....if u have any code please update me.. and tell me how to debug that..

    Hi,
    refer
    want to find the screen exits in VA01 and VA02
    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)
    45P0001 SD customer function for cross-company code sales
    45S0001 Update sales document from configuration
    45S0003 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
    Hope this solves your purpose.
    Award points if it helps.
    -Gaurang

  • Error in va01 transaction

    Hi
      When i try to save the sales order it is throwing an error ENTER ECC NUMBER in VA01 Transaction. How to clear that error
    regards,
    PradeepM.

    Dear
    I think you have CIN implemented  in your business process .So it is asking ECC number through J1D.Otherwsise , with out CIN , you have Customer Engineering Change Status NO in item over view  : Customer number for the production series from which they release and receive materials. The customer sends this number in with a material number to request an engineering change to take effect as of a certain delivery date or cumulative quantity.
    Regards
    JH

  • Popup in Va01 transaction

    Hi Experts,
    I want to call a pop-up message when i am saving a sale order in VA01 transaction.
    Urgent..........
    Rajneesh Gupta

    Hello Rajneesh,
    As mentioned, go to SE38 in the include MV45AFZZ, inside this go to the form USEREXIT_SAVE_DOCUMENT_PREPARE.
    Using access key doesn't mean, you are changing standard code--the above itself is the user exit. Get the access key from ur BASIS consultant. This is normal, to code in any user exit one requires an access key.
    I hope this helps.
    Rgds,
    Raghu.

  • Introduction of pop up screen in va01 transaction

    hello all,
        my requirement when sales order is created with respect to quotation then if the delivery date is past then one popup message should be raised saying that delivery date is in past.
       but my problem was there may be some background program which may trigger va01 transaction so at that time the popup message what i am going to introduce in the transaction should not come.
       one more problem some batch input program may trigger va01 transaction then at that time also popup message should not trigger and some program will run in foreground also which will trigger va01 transaction at that time also popup message should not trigger.
       can anybody tell me what condition we have to keep so that the popup message will not triiger for above 2 conditions
    one condition is if any background program trigger va01 then we can check for sy-batch = 'X'.
      Thanks in advance
       srinivas

    Hi...
    To check if the program is running in Background
       IF <b>sy-batch</b> = 'X'.
    To check if the program is running in Batch input
       IF <b>sy-binpt</b> = 'X'.
    Hope this helps u.
    <b>Reward if so.</b>

  • To make the "req.delivery date" field non-mandatory in VA01 Transaction

    Hi All,
    I want to make "req. delivery date"(RV45A-KETDAT) field non mandatory in VA01 transaction.
    I have already checked on screen 4440 .This field is not mentioned as required field.
    Please help me to find where can i make this field non-mandatory.
    Thanks and Regards,
    Dipali.

    Hi,
    this is a required field, as far as the standard SAP code goes: everytime this field is touched the following function is executed in programme FV45EF0V_VBEP-EDATU_EINGEBEN:
        call function 'PERIOD_AND_DATE_CONVERT_INPUT'
          exporting
            external_date     = rv45a-etdat
            external_period   = rv45a-prgbz
          importing
            internal_date     = vbep-edatu
            internal_period   = vbep-prgrs
            ev_date_in_past   = lv_date_in_past
            ev_period_in_past = lv_period_in_past
          exceptions
            no_data           = 1
            period_invalid    = 2
            date_invalid      = 3.
        case sy-subrc.
          when 1.
            set cursor field 'RV45A-PRGBZ' line sy-stepl.
    * Bitte Datum eingeben
            message e394.
    The only way to avoid this is create an implicit enhancement at the beginning of this form, copy the exisitng code in there, delete the message after WHEN 1. and put RETURN at the end of the enhancement. But this would be HIGHLY UNRECOMMENDED, because I am positive you cause a lot of misery later on in the process: this field is mandatory for a reason!
    Roy

  • Attach Search Help to INCO2 field in VA01 transaction

    Hi Gurus,
    in Va01 transaction , I need to attach a F4 help to INCO2 field .
    Please let me know how and where should I call the search help.
    Regards
    Avi

    hi
    can you say how did you add search help for that field ?
    thanks

  • Enhancement for 6201 screen in SAPLV69A for VA01 transaction

    hi experts,
    i need to enhance the 6201 screen in SAPLV69A program for VA01 application,
    is there any user exit for this particular screen.

    Hi,
    Check all for VA01
    Transaction Code - VA01                     Create Sales Order                                                                               
    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                                                                               
    No of Exits:         15      
    Rewards if useful.............
    Minal

Maybe you are looking for

  • Where did the User Library folder go?

    I installed OSX 10.7 yesterday and was quite excited to do so, and by day two I am regretting it.  whether it is the uslessness of launchpad, to all of the old things i find missing.  One thing i just noticed was that i cant find is the User Library

  • How to give a relative path from a button in the master page header?

    so I have this code in the header of my Master page in RoboHelp: <input type="image" value="View graphics legend" onclick="window.location.href='Graphics_legend.htm'" src="Images\graphic legend.png" name="image1" title="View graphics legend" style="w

  • Thunderbolt to Usb C

    Is there a thunderbolt to usbC cord yet ? My external is thunderbolt n I'm looking to buy this computer when it comes out. Thought I can't figure out how I'm going to transfer my data to the computer

  • No sound in playback

    Hello, I have just bought a firebox and recorded succesfully with it. The only problems that I have is that I can't play it back nor can I hear any sound when I have record enabled but not recording. I do know that it records because I bounced it and

  • Rolling back lock after RowInconsistentException (in ADF 11g)

    The JDeveloper 11g documentation explains under "Advanced Entity Object Techniques" how to override the select and lock functions so that you can do the locking with a stored procedure. I think I've done this as documented, but when I detect that ano