To Add Two ZFields to sales order Item (Column) of VA01

Hi friends,
My requirement is to Add Two Zfields at column level of Sales order Item of VA01.
i found 8459 Screen Exit , but it will display in Additional Tab B .
And aslo I need to get the zfield values for every line item .
Example:
ITEM  | MATERIAL    | SERVICIABLE MATERIAL | Service type(zfield)|
10      |10000            | 10001                               | Cleaning
15      |20000            |200001                              | Repair
i hope u understand my query . so for each line item it will vary , i have to do the validation for all the line item fields.
Please help me Very urgent.
Thanks,
Veera...

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
Rewards if useful.
Minal

Similar Messages

  • Add a partner at sales order item level?

    According to SAP note 380507 there is no partner determination on sales order item level.
    I've the following requirement: When an item with a certain item category is created a partner role/function should be added at the sales order item level.
    I've identified this userexit MV45AFZB / USEREXIT_CHECK_VBAP where I can add a line to iternal tabel XVBPA. Is use the fields:
    MANDT
    VBELN
    POSNR
    PARVW
    UPDKZ = 'I' (Insert)
    NRART = 'PE'
    FEHGR = '09'
    This works fine, the entry is correct displayed and stored in VBPA table in the sales order document.
    My challenge is that the incomplete log doesn't show that the partner role/function is still incomplete.
    When I enter the partner role/function manually (personal number = BLANK) then the incomplete log shows correctly.
    But not when I add it in the userexit.
    The behaviour should be that I add the partner role/function and the incomplete log should warn the user that he/she still has to enter a personal number for this partner.
    What to do?
    Thanks for your input, kind regards.
    Georg.

    Found the solution myself.
    Internal table XVBUV can be filled to generate incomplete log entries.
    Thx.

  • How to add a partner in sales order item by enhancement?

    Hi expert,
    Sales order item's bill-to and payer will be same with header if you do not change it manually. now I want to modify some item's bill-to and payer which different from the header automatically. Is there any enhancement for this function?
    Thanks and best regards
    Lance

    Hi Lance,
    You can populate the XVBPA structure with function module "VIEW_XVBPA_FILL".
    You have to pass the following values to the FM:
    COMWA-KUNNR <- the changed partner code
    COMWA-PARVW <- parter role
    COMWA-VBELN, COMWA-POSNR <- Salesorder and item: just fill it with VBAK-VBELN,VBAP-POSNR
    You'll get the result in parameter XVBPA, which can be used for append the internal
    table XVBPA in the userexit.
    BR,
    Barna

  • How to add three fields in Sales order item level and supress/hide many

    Hi Gurus,
    My client requirement is :
    1. Three fields to be added at Sales order Item level and they should flow till billing.
    2. Supress/hide most of the fields in Sales order, so that end user will be happy( thru SHDO how to do)
    Please share your experiences and help me.
    BEST REGARDS
    Srikanth

    Hi Subba Rao
    in VA01 screen - Material /qty/ after entering this client wants to enter three more details say X/Y/Z
    and after that he dont want to see maximum fields displayed in VA01 Screen.
    I think it makes sense.
    Regards
    Srikanth

  • FBL5N: Sales Order & Item columns

    Hi,
    The FBL5N report contains Sales Order and Item fields from the hidden columns.  However, there is no data when they are selected to be displayed.
    How are these fields populated? How can the SO and items be displayed in these columns?
    Thanks!

    Hi,
    I am able to see the Sales Order & Item in FBL5N when it was entered in the downpayment.
    How are these fields populated in FBL5N?
    Thanks!

  • Add overhead cost in sales order item having service material

    Hello Experts,
    I have created a billing request through RRB from service order.
    This billing request has service materials in it.
    I want to add overhead to these individual items.
    I can see costing sheet / overhead key field in these items.
    But I dont know how to handle this in sales.
    Can you tell me the process to handle this.
    Regards,
    Vijay

    Sorry,I use this user exit program 'MV45AFZZ'.
    source code like below,
    FORM USEREXIT_MOVE_FIELD_TO_VBAP.
    VBAP-zzfield = xxxx-zzfield2.
    *{   INSERT         KHDK900234                                        1
          If SVBAP-TABIX = 0.
         SELECT SINGLE LGORT FROM MARD INTO VBAP-LGORT
                              WHERE MATNR = VBAP-MATNR .
          endif.
    *}   INSERT
    ENDFORM.

  • Sale Order Item : Custom Field : Table Control

    I have added two fields to sale order item table control in program SAPMV45A screen no . 4900. Now the field which i have added are working fine while creating sale order but while changing those fields are not changing.
    condition is like this: the custom field are automatically filled by some logic and if the user want to change those field he will able to do. Now 1st condition is fine and when i change those field they will show the previous saved value inspite of changed value. 
    I have also added those field in additional data b tab in screen 8459 , there they are working fine but here the problem remains the same.

    Hi,
    u can use BAPI_SALESORDER_CHANGE to update the values of those fields. for that u need to extend few tables and coding that u can get from the BAPI documentation. If not getting reply back. i can help u..
    regards,
    pavan.

  • Surcharge rate for sales order item condition

    Hi,
    I have a two condition for sales order item.
    First  condition is ZP00-Price. It is using for automatically price with customer and material. It linked with account key in pricing procedure.
    Second condition is ZI00-Index rate. Calculation type is A-Percentage. This condition value is monthly. It will be used for surcharge with percantage . I have a formule this condition.
    It is not linked with account key in pricing procedure.
    Formula for ZI00 - Index rate:
    (Index Rate to delivery date - 1 / Index Rate to contract start date) x 100
    For example;
    Index rate conditions is entrying monthly;
    Index date          Index%
    01.08.2008         1,05
    01.09.2008         1,15
    01.10.2008         1,17
    Contract start date = 03.08.2008
    Delivery date = 02.10.2008
    ZP00 = 500
    ZI00 = Index rate for sales order item = ((1,17-1)/1,05 ) * 100 = 16,19
    Last condition value = 500 + (500 * 16,19)/100 = 500 + 80,95 = 580,95
    What can I do for this pricing?
    Best Regards
    Gulay Celik

    Hi
    I think that perhaps it is too late. The application supports cancellation and re-billing as separate transactions. Maybe this is not a 'development' problem.
    Cheers
    Dom

  • How to add line item to sales order item table?

    Kindly help me the with the below requirement .
    Add line item to sales order(va01) dynamically on click of button. The button is also custom created push button.
    In the above requirement I have added the pushbutton to va01 tcode. But when I click on that button I need to add line item to sales order item table.
    I tried a lot but I am not successful. If possible can u please help on this.
    Regards,
    Rachel

    Hi!
    It's quite easy even in the standard SAP to add a line item for a customer order, I don't think it worth to develop a new button for this.
    However if you wanted to add a line automatically, the you can do the following in the program MV45AFZZ, FORM USEREXIT_SAVE_DOCUMENT.
    You can use similar code, but with some modifications.
    DATA: lv_posnr.
    LOOP AT xvbap.
    MOVE xvbap-posnr TO lv_posnr.   "get the last posnr
    ENDLOOP.
    ADD 10 TO lv_posnr.
    MOVE 'XYZ' TO xvbap-matnr.   "enter your material number here
    MOVE lv_posnr TO xvbap-posnr.
    * fill additinal field data in XVBAP if necessary
    MOVE 'I' TO xvbap-updkz.                  "Insert line
    APPEND xvbap.
    Regards
    Tamá

  • I need to add push button to last extended price unit in sale order item B

    i need to add push button to field  last extended price unit in sale order item additional data B

    i need to add push button to field  last extended price unit in sale order item additional data B

  • Want to copy an entire sales order item and add it as a new item to same SO

    Hi,
      I want to copy an entire sales order item and add it to the same sales order with a different quantity. When I use the regular BDC and add it gets me only the default values for fields like Forwarding Agent etc. But doesnt actually copy any changes. Is there some standard SAP function module or some other mechanism I can use to exactly copy the original item along with all the changes values e.g pricing conditions, forwarding agent etc.
    Thank you for reading.

    How will this help me for copying an item? This function module is only useful for the following
    1. Delete the whole order
    2. Delete order items
    3. Change the order
    4. Change the configuration
    In order to change the order items I first need to know the items.
    Is there any function module which can read all the values in a sales order item, then I can pass them to BAPI_SALESORDER_CHANGE probably

  • Compare sales order items (specific fields)

    Hi guys,
    I need to compare some fields from vbap and vbkd and to add values from sales order items, before I print then on screen.
    I need to compare if vbkd-ihrez_e and vbkd-bstkd and vbap-matnr are the same for two records from sales order (10 and 20), If they are the same then add vbkd-ihrez values (for items 10 and 20), also add vbap-kwmeng, and write that sum on screen.
    Compare item with previous one. if doing for 20 compare with 10, for item 30 compare with 20 etc.
    I start like this.
    select aubel posnr into (wa_tab-vbeln, wa_tab-posnr)
             from vbrp
             where vbeln = p_vbeln.
        append wa_tab to it_tab.
      endselect.
    loop at it_tab into wa_tab.                   << I need somewhere to compare fields if they are the same before I print them.
          select single fbuda bstkd_e ihrez_e ihrez bstkd
                          into
                          (wa_tab-fbuda,
                          wa_tab-bstkd_e,
                          wa_tab-ihrez_e,
                          wa_tab-ihrez,
                          wa_tab-bstkd)
                          from vbkd
                          where vbeln = wa_tab-vbeln and
                                posnr = wa_tab-posnr.
    select single kbmeng waerk netwr arktx kwmeng
                          into
                          (wa_tab-kbmeng,
                          wa_tab-waerk,
                          wa_tab-netwr,
                          wa_tab-arktx,
                          wa_tab-kwmeng)
                          from vbap
                          where vbeln = wa_tab-vbeln and
                                posnr = wa_tab-posnr.
    modify it_tab from wa_tab.
    endloop.
    How can I modify code to get this process? Thanks,
    Edited by: nihad omerbegovic on Nov 2, 2009 9:45 AM

    Hi Nihad
    select aubel posnr into CORRESPONDING FIELDS OF TABLE it_tab
    from vbrp
    where vbeln EQ p_vbeln.
    select a~vbeln a~posnr a~fbuda a~bstkd_e a~ihrez_e a~ihrez a~bstkd
    b~kbmeng b~waerk b~netwr b~arktx b~kwmeng
    into CORRESPONDING FIELDS OF TABLE it_vb
    from vbkd as a INNER JOIN vbap as b ON a~vbeln EQ b~vbeln AND a~posnr EQ b~posnr
    FOR ALL ENTRIES IN it_tab
    where vbeln EQ it_tan-vbeln and
    posnr EQ it_tab-posnr.
    SORT it_tab BY vbeln posnr.
    LOOP AT it_tab INTO wa_tab.
    IF lv_vbeln EQ wa_tab-vbeln. "means it's the same order but a different item
    IF ( lv_ihrez_e = wa_tab-ihrez_e ) AND ( lv_bstkd = wa_tab-bstkd ) AND ( lv_matnr = wa_tab-matnr ).
    ADD wa_tab-kwmeng TO lv_kwmeng.
    WRITE lv_kwmeng.
    ENDIF.
    CLEAR lv_kwmeng.
    lv_ihrez_e = wa_tab-ihrez_e.
    lv_bstkd = wa_tab-bstkd.
    lv_matnr = wa_tab-matnr.
    lv_vbeln = wa_tab-vbeln.
    lv_kwmeng = wa_tab-kwmeng.
    endloop.
    Thanks
    Pushpraj

  • Sale Order Item Level Text Field which table and field

    Hi,
    Thanks for your prompt reply and best solution.
    Can you please tell me one more thing, in sale order at item level the TEXT Field maintaining by user at transaction level now they want that field in one of the report, so can you please tell what is the table and field where i will get this sale order item level text details.

    Hello,
    is this going to work for item level text as well.
    can you tell how to proceed with this functional module
    or is there any other thing required.Please elaborate to
    understand better way.
    You can check out two table in respect to Sales TEXT i.e. STXH (STXD SAPscript text file header) and STXL(SAPscript text file lines).
    The best approach of tracing out the Text in respect to Sales Order would be to use the Function module READ_TEXT and put this FM in SE37 and execute with the following parameter.
    Client
    Text ID of text to be read
    Language of text to be read
    Name of text to be read
    Object of text to be read
    Archive handle
    Text catalog local
    When you are essentially looking to read item level Text with respect to Sales Order then your Text OBject would be VBBP.
    Regards,
    Sarthak

  • Sales order item data & sales order schedule data

    Hello,
    I have a Sales Orders cube which is pulling data from two DSOs (one for sales order item data and the other for sales order schedule data). The common fields between these two DSOs is the Sales Order number but in my cube I have dual entries for each Sales Order document (item and schedule info).
    Example of how the data looks now:
    Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . . Act GI Date
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10
    1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 . . . . . . . . 01/01/2000
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15
    2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 . . . . . . . . 01/02/2000
    How do I merge the data on the Sales Order number in the cube so it looks like below?
    Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . . Act GI Date
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10 . . . . . . . . . .1 . . . . . . . . 01/01/2000
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15 . . . . . . . . . .2 . . . . . . . . 01/02/2000
    Many thanks,
    Matt

    > Hello,
    >
    > I have a Sales Orders cube which is pulling data from
    > two DSOs (one for sales order item data and the other
    > for sales order schedule data). The common fields
    > between these two DSOs is the Sales Order number but
    > in my cube I have dual entries for each Sales Order
    > document (item and schedule info).
    >
    Two previous remarks:
    1) If you need to report on very detailed data consider doing an info-set joining both datastores. 2 reasons why:
    - not a good idea to report on very detailed information (sales order, GI dates) on cube level, if you have a scenario with lots of data. You end up with big dimension tables a poor report times;
    - there are better alternatives, like drill-through from cube query to DS query with report to report interface or Datastore-based reporting...so...
    With this solution you do not need to change the data model, I think, but test to be sure. See if the reporting times are acceptable. If not...
    2) First confirm your requirements, because what you show in your example as "to-be" have details that do not make sense, probably..
    - if you have more that one schedule line for each item then you would have many times the item information like material/price;
    - if not or if you could cope with that, then you can consider:
    2.1) create a new DS that agregattes from the previous on, with the same key of sales order item; do you have schedule line kf's? if so you these KF's should be additive in DS update; But if you may have more one scheduled line for 1 item then you have to decide what to do with the GI data (keep the last one posted, use code..) and other characteristics.
    2.2) update the shedule line datasource to the sales order item DS; same comments apply.
    2.3) maintain the missing data in the cube update rules from sheduled lines DS. Using code, refer to the respective item in the order item ODS. You would have to make sure that DS's data are correctly activated before updating the infocube.
    What solutions to choose?
    2.1 is better in terms of flexibility and architecture...because you could re-arrange the new DS to answer future needs, without loosing the 1st line DS's data;
    2.2 choose if data volumes and disk space are a concern...
    or
    2.3 it's OK, but i do not like it because of what explained in point 1...
    Message was edited by:
            Miguel Costa

  • Sales Order Item Data & Sales Order Schedule Lines

    Hello,
    I have a Sales Orders cube which is pulling data from two DSOs (one for sales order item data and the other for sales order schedule data). The common fields between these two DSOs is the Sales Order number but in my cube I have dual entries for each Sales Order document (item and schedule info).
    Example of how the data looks now:
    <b>Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . .  Act GI Date</b>
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10  
    1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 . . . . . . . . 01/01/2000
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15  
    2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 . . . . . . . . 01/02/2000
    How do I merge the data on the Sales Order number in the cube so it looks like below?
    <b>Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . .  Act GI Date</b>
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10 . . . . . . . . . .1 . . . . . . . . 01/01/2000 
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15 . . . . . . . . . .2 . . . . . . . . 01/02/2000  
    Many thanks,
    Matt

    Hi Matt,
        Its no possible If you are maintaining data at Order Level.
    Try to introduce one more ODS/DSO in between ODS's and CUBE by keeping Sales Order only key field. Load data from both DSO's in required fields only. Then PUSH delta to CUBE. In this why you can maintain 1 record. Try to compress cube(with delete Zero Record Rows) to delete unnessasary records.
    Hope it Helps
    Srini

Maybe you are looking for

  • The address bar is not displaying the URL of the page

    When I open a tab, I cannot see the URL of the opened page in it. If I enter a new address and press enter, I go to the page. The URL displays the entered URL, but doesn't change for the new pages that load. Also, the back/forward buttons do not work

  • Material Description from Purchase Order Intercompany to Outbound Delivery

    Dear. For a purchase order intercompany I change the material description of an item. I create the delivery from po using VL10D , I check the delivery but the item position is taken from material master and not from the purchase order changed materia

  • Integration of Lotus Notes in EP

    Hi Portal gurus, I am new to world of EP. We are using EP 7.0 and need to integrate Lotus mails with EP so that user can send the mail within EP itself. Any pointers ? Help will be highly appreciated !!! Thnx, JR

  • After update to 10.5.4 internal microphone wont work

    it dosnt work in ichat or in anything else ?

  • Access on Tomcat

    Hi there I am new into this world of connections and so. So please help me in a way. My problem is that I would like to get a connection to a Access database from my JSP's. But I do not get any connection. The error I get is as followes: Description: