New Input fields for Sales Order Screen

Hi all
I have to modify the existing Sales Order Screen for transactions VA01, VA02 and VA03 using user exits. I have to add two input fields (of order quantity for tow different sales units CS and BT) in existing table control of Sales order and later I want to convert these UOMs to basic UOMs.
As its a screen exit part, I had done some R&D for the same. I had never faced such requirement in past.According to my knowledge "User exits are only to put additional information in existing SAP programs and not to modify main screens." 
BADI is new to me but I still tried to search BADI for the same but didn't able to find it.
Basically I am not able to find Screen Exit for this.
Can anybody help me in this regard?
If you are suggesting BADI then please try to explain in detial.
Thanks in advance
Amol

Hi Amol,
VA01, VA02 are fine. Since VA03 is display, you cannot edit the fields you add.
To add fields to this display you need to edit the following screens :
Program : SAPMV45A
Screen :  8309
It is the Additional Data B tab provided by SAP to add custom fields .
You may need an access key to edit this screen.
Putting your fields there and running VA01/02 will solve half your problem.
The second half is how to capture the data entered in those fields to the database.
In order to capture the data from these custom fields you can use
the user exit
MV45AFZZ
USEREXIT_SAVE_DOCUMENT_PREPARE
USEREXIT_SAVE_DOCUMENT depening on what you want to do.
Hope this helps.

Similar Messages

  • TABLE/FIELD FOR SALES ORDER'S SHIP TO LOCATION

    Hi everyone,
    Does anyone tell me what is the related tables/fields for Sales Order's Ship To Location? Since I want to display the Ship To Location information in the Oracle Report in Oracle Apps R11i.
    I tried to use the following SQL select statement to retrieve the Ship to address:-
    -- SHIP TO LOCATION
    select a.address_id, c.customer_name, C.CUSTOMER_ID, A.SITE_USE_ID from ra_Site_uses_all a, ra_addresses_all b, ra_customers c
    where a.site_use_code = 'SHIP_TO' and
    a.status = 'A' and
         b.address_id = a.address_id and
         c.CUSTOMER_ID = b.CUSTOMER_ID and
         b.status = 'A' and
         c.customer_id in (select customer_id from ra_customers) and
         c.status = 'A' and
         c.customer_name like 'CLARION (H.K.)%'
    But I found that the data is BILL TO address. Can anyone help me? Thanks.

    Hi all, I managed to solve my problem. Here's the query in case someone need it. Thanks
    SELECT party.party_name "Send to" (SELECT party.party_name
    FROM hz_cust_site_uses_all bill_su,
    hz_cust_acct_sites_all bill_cas,
    hz_party_sites bill_ps,
    hz_locations bill_loc,
    hz_parties party,
    oe_order_headers_all h
    WHERE h.invoice_to_org_id = bill_su.site_use_id
    AND bill_su.cust_acct_site_id = bill_cas.cust_acct_site_id
    AND bill_cas.party_site_id = bill_ps.party_site_id
    AND bill_loc.location_id = bill_ps.location_id
    AND bill_cas.party_site_id = bill_ps.party_site_id
    AND bill_ps.party_id = party.party_id
    AND h.order_number = 'your_order_number') "Invoice to"
    FROM oe_order_headers_all h,
    hz_cust_site_uses_all ship_su,
    hz_cust_acct_sites_all ship_cas,
    hz_party_sites ship_ps,
    hz_locations ship_loc,
    hz_parties party
    WHERE h.ship_to_org_id = ship_su.site_use_id
    AND ship_cas.party_site_id = ship_ps.party_site_id
    AND ship_su.cust_acct_site_id = ship_cas.cust_acct_site_id
    AND ship_cas.party_site_id = ship_ps.party_site_id
    AND ship_ps.party_id = party.party_id
    AND ship_loc.location_id = ship_ps.location_id
    AND h.order_number = 'your_order_number';

  • What is the field for sales order type?

    pls tell me what is the field for sales order type??
    and from which table........urgent

    Hi,
    Field for sales order type is AUART in table TVAK
    the Parent table for Sales order type is TVAK.
    Best regards,
    raam

  • New field in sales order screen at item level

    Hi Friends,
    I need to insert a new field at the item level in the sales order screen (additional data tab). Please let me know how to do the same.
    Regards,
    Vivek

    Hi,
    you can add fields of self-defined tables on the "Additional Data B" tab
    . Those fields should be added onto the respective screen and the flow
    Logic should be adjusted. Additional item data is on screen SAPMV45A 0459. This screen contains
    Include SAPMV45A 8459 as user exits.
    This should involve not only appending a structure containing customer-
    Specific fields within the table VBAP but also using the
    userexit coding:
    a)MV45AOZZ for PBO (i.e. module zzmodify_uas_pbo output);
    b)MV45AIZZ for PAI (i.e. module zzmodify_uas_pai input);
    c)MV45AFZZ (sub-routine USEREXIT_MOVE_FIELD_TO_VBAP) for defaulting the
    values from the customer master and further processing.
    Best regards,
    Joerg

  • Custom field for sales order - Urgent.

    Hi all,
    I am novice at SD, want to append a custom field to header level tables - VBAK, LIKP, VBRK. for sales order.
    - Will append structure work for this requirement ?
    - Will this field automatically apears in VA01, VA02, VA03 screen ?
    Thanks in Advance.
    Regards,
    Mohan.

    Hi,
    Implementation Guide.
    This is the place where we do the configuaration settings for sap.
    This is the place where the core users or super users do the configuration changes if they want after the project is implemented.
    Mohan
    Award points if it helps

  • Update KOMV-KBETR field for sales order and billing

    I would like to update the KOMV-KBETR (condition amount or percentage) under condition tab for both Sales order and billing.
    example:There are two condition types ZA00 and ZB00 and need to get the KBETR value from ZA00 and add it to KBETR value of ZB00 and update the sum in KBER value of ZB00.
    1. creation of sales order & billing.
    2. Change of sales order & billing.
    3. For single & multiple line items in both sales order & billing.
    4. during updation of price in the change mode of sales order & billing.
    5.When user click on Update button in the condition tab(i.e., when clicked on Carryout new pricing)
    I tried with the VOFM routine but as the routine is triggering multiple times the sum is calculated again and again.For that I set flags also.It is working for sales orders but for billing creation the field XKOMV-KBETR is cleared after this routine.
    So I would like to know are there any EXITS for this scenario or any one entountered the similiar issue which I am facing.

    Hi Brad,
       It is an Client requirement.So need to do the addition of that condition types.
    Can you please let me know the configuration point where we can do it and the condition type which we need to update the Rate/Amount value.ie., KOMV-KBETR is and Price list value and not the subtotal one.
    Thanks,
    Srilakshmi Lagisetty.

  • New/Change Indicator for Sales Order IDoc

    Hi Gurus,
    Does anyone knows if there's a field in the IDoc Segment for ORDERS that shows or indicate if it's a new or changed order.
    We are sending IDocs to our freight company for sales order, but we are trying to see if there's a way we can let them know if its a new or changed IDoc for sales order.
    Is there any field for this or any work around on this?
    Thanks for your help.

    Segment Field ACTION is not been changed. I've just tested it and made changes to the Sales Order, the ACTION field is still carrying "000".
    Like thomas said, can this be because I'm using message type ORDRSP instead of ORDCHG?
    Does this make any difference?
    Edited by: Basil Balogun on May 10, 2011 4:54 PM
    Edited by: Basil Balogun on May 10, 2011 9:43 PM

  • BADI for Sales order Screen

    Hi all,
    I want to trigger my program after pressing the save button in Sales order screen.Is there any User exist or BADI for that?
    Regards,
    Krishnamoorthy.

    I am not sure which version SAP has these released, but at least in 4.7 and above there is a BADI definition called BADI_SD_SALES with methods for the old SAVE_DOCUMENT_PREPARE and SAVE_DOCUMENT form routines in MV45AFZZ.  There are some other general methods as well.
    Chris H.

  • Screen variant for sales order screen

    Hi,
    I have a problem in using screen variant in sales order screen.
    I want to make gray the columns of material , material quantity in sales order screen but when I use screen variant and check the output only for these columns , it does not work ( I provided these in delivery document and it work)
    I want to know that is it possible to make gray for material and material quantity column with screen variant or I can use another way?
    Thanks.
    Lida

    Hi Lida
    If I am getting it correctly,
    When an end user enters any particular  sales order ,u dont want user be able to add additional line item into the already created document,Right?
    Now there are 2 possibilities here ,
    1.If order or line item has status completed then u want to block?
    2.Order is in incomplete state inspite that  u want to block.
    System does not stop addition of line item in already created even completely processed sales order.
    You can do this by enhancing code in PBO module.You need to take help of ABAP developer for this.
    We have used order and lne item status in vbuk table for this .
    Create a custom error message for validation.
    U can use exit MV45AFZZ for the same.
    Hope this helps
    Regards
    Mandar

  • New Message type for Sales orders

    Hi,
    We have the message type is ORDSRP(ORDERS05) and Function module IDOC_OUTPUT_ORDRSP for the sales orders.
    We have lot of custom fields to be added to the IDoc.
    Can any one suggst if it is better extending the current message of create a new one.
    Thanks.
    Rohita.

    Hi Rohita,
    Instead of changing the standard domain, You have to make the changes in the User Exit.
    Say Qualifier 001,002,003 were already there in the domain.
    001--Purchase Date
    002--Delivery Date
    003--Ordered Date
    In the user exit u have to just add the segment and the qualifier without making any changes to the Standard Domain.
    These Qualifiers are just like other variables and u can add whatever values to them that u want..
    You can add Qualifier 004 for Trnasportation Date or Goods issue date and have to communicate the MiddleWare informing that date with this Qualifier will be Transportation Date and they will do the mapping to the corresponding field in other syste.
    You can have as many message types as u want for the same IDoc type. There is no harm in having multiple message type. And u dont need to change the standard domain. It can be done without changing the domain.
    If u analyse the FM closely u will realise that they have done coding for those values in the domain.
    So instead of adding it to domain u just have to do the coding for this new qualifier.
    Revert back if u need any help on it.
    Thanks...
    Message was edited by:
            Utsah Garg

  • Item category field in sale order screen to be greyed out

    Dear Friends
                        While creating sale order I have a requirement to make item category field to be uneditable i.e greyed out .
    How can I do that ?
    Regards
    Mahesh.

    Hi,
    Once there is any subsequent document to sales order item catagory field is going to be grayed out, till that time u can change ur item category. OR if u do nlt maintain manual item categories in the item category determination  to ur sales document type it is not possible to change the item category other than the one u specified in the determination.
    Regs,
    Ravi Duggirala

  • SCREEN EXIT for sales order

    I want to add an field in additional data B screen of VA03 .
    Pls help with some screen exit.

    Hi Shivram,
    you can add your field in Sales Order Screen Additional Tab B (Program:SAPMV45A and Screen No:8309)
    and Following user-exits could be used for validating the field and modify field content:
         MV45AOZZ     User-modules PBO (Process Before Output)
         MV45AIZZ       User-modules PAI (Process After Input)
         MV45ATZZ      Data Definitions
         MV45AFZZ      Subroutines
    Thanks and Regards,
    pavankumar

  • Planned delivery time field in sale order

    Dear All,
    During creation of  STO at item level under delivery TAB "planned delivery time" field is showing with edit mode, I want to activate this field for sale order creation / change also. Plz advice how I can do this.
    regards,
    sps.

    Dear SP
    This field is laready there in the MRP-2 of the material master. This is used to calculate the no. of days to procure a material/service externally. Why do you want to activate this in sales order.
    Thanks
    Shuktiz

  • Extension of input fileds in Sales order for account assignment

    Dear Gurus,
    Can anyone tell me how to extend input fields like Statistical order(COBL-AUFNR)  and cost center(COBL-KOSTL) in sales order for accounting assignment and these fields have to be ready for manual entries. The order types are ZHGA and ZHV.
    Which program has to be modified and how it can be modified?
    Thanks a lot for help and advice.
    Cheers,
    Ricky
    Edited by: Ricky.Martin on Apr 23, 2010 10:45 AM

    Dear Rajendra,
    There is a manual change for tax classification for material master in va02 initially it was blank now it is changed to ' 0 ' is any way influencing....?
    Definitely material Tax classification will influence to determine the Tax code.
    -->So Make sure that customer and material master having proper tax classification indicator.
    -->Have you Update the price after changing the tax classification in the sales order.by going to item dat -->condition tab then click on Update push button bottom of the conditions screen.
    -->Once again the check the condition record maintanence also for your MWST access sequence.
    I hope this will help you,
    Regards,
    Murali.

  • Create a new field in sales order

    HI folks i want to create a new field in sales order item level how can i create

    Hi,
    Hope this will help you,
    User exits in the screens
    Additional header data is on screen SAPMV45A 0309, additional item data on screen SAPMV45A 0459. These screens contain the Include screens SAPMV45A 8309 or SAPMV45A 8459 as user exits.
    Fields which are also to be included in the sales document for a specific installation should be included on the Include screens for maintaining. If an application-specific check module is needed for the fields, this can be included in the Include MV45AIZZ. The module is called up in the processing logic of the Include screens.
    For field transports, you do not have to make changes or adjustments.
    Example
    A new field, VBAK-ZZKUN, should be included in table VBAK.
    If the check is defined via the Dictionary (fixed values or check table) the field must be included with the fullscreen editor in the Include screen SAPMV45A 8309. In this case, no change has to be made to the processing logic.

Maybe you are looking for

  • Failed to Connect "Group Policy Client Service" Windows 7 x64

    This error pops up everytime boot / start-up. I've tried everything, for the last month.  including http://support.microsoft.com/kb/2421599 In the "Resolution Section" did step by step, But did not work for me... Also http://blogs.technet.com/b/memps

  • Passing Parameters in XML Publisher

    Hi, I want to pass a parameter to a XML Publisher Report.(in Oracle Apps) Can anyone of you pose an example. Currently I have a report with main query as SELECT papf.* FROM   apps.per_all_people_f papf where papf.current_employee_flag = 'Y' and trunc

  • How to send a Pagemaker file to people who don't have this software???

    Since Pagemaker has been mentioned in regard to my last question about finding a new ink jet printer, I thought maybe someone could tell me how I can send a Pagemaker file to people to don't have a Mac and/or who don't have Pagemaker. I can't seem to

  • Rendering in Quicktime changes build timing.

    The build timing is perfect in the individual slides, but when I play the entire presentation, the build timing falls apart. Text no longer appears and disappears in proper sync, especially with the slides that contain video. When I run the presentat

  • Mac takes almost 10 minutes to start up since update two weeks ago

    Hello all! I've had my mac for almost three years now and it has been problem free until the beginning of this year. First in February the hard drive failed for no reason which of course I had to pay to replace. Since then things have been running sm