Va01-netwr control

I want to control "amount "  field of  item of va01.
if amount >10000 ,  I'll give a error message according  to item of va01.
I used mv45afzz and  userexit_pricing_prepare_tkomp
But vbap-netwr doesn't   change.it has same value.
how can I control this field.

if you're looking for an item/amount that changed, in much of MV45AFZZ, the changed item will be in XVBAP, the old version of the item YVBAP.  At least that's how SD was done when I was writing code for SD exits.  XVBAP-UPDKZ will indicate Insert, Update or Delete for each XVBAP row. In a subroutine that pertains to VBAP, you could do something like:
loop at XVBAP where UPDKZ eq 'I' or updkz eq 'U'.
  read table YVBAP with key posnr = xvbap-posnr.
   if sy-subrc ne 0.  " this is an insert...new item
      if Xvbap-netwr > 1000.
* error message.
   endif.
elseif XVBAP-NETWR > YVBAP-netwr and
          XVBAP-NETWR > 1000.  "this is an update with a price increase...
*error message.
endif.
endloop.
Edited by: DaveL on Aug 11, 2011 9:20 PM

Similar Messages

  • Sales Order VA01 - "No control data for checking group 04 and checking rule

    Dear Gurus,
    When saving a sales order in VA01, I get the following message: "No control data for checking group 04 and checking rule A"
    Can anyone explain to me what that means?
    How can I correct this error?
    Regards
    Chris

    Check this thread
    [Re: Process Order Material availability check error|Re: Process Order Material availability check error;
    thanks
    G. Lakshmipathi

  • Sales Order Materials from Notification

    Hi All,
    Request your help.
    From Notification creation, after we create Tasks in All tasks tab, when we try to create the Sales Order, we have a requirement to pull the details from the Task long text using Read_text( here in the long text, we give the material and quantity)
    and fill in the Sales Order Item list,
    for ex, in the Task long text we hv a material
    12345678 and qty 2 pce
    then, when we navigate to sales order screen, the materials in the item list to be filled in with these materials,
    like
    for item 10, material 12345678 and qty 2.
    I tried using the User exit USEREXIT_MOVE_FIELD_TO_VBAP, but it is of no use.
    Could some one help me out at the earliest.
    Thanks in advance.
    Best regards,
    Githa

    Hi Ramesh,
    Thank you.
    But, the problem is when I fill the structure XVBAP with the materials and the corresponding quantities, the data is not getting shown on the table control. The data is still there, but not getting reflected in VA01 table control for the items.
    I tried filling VBAP and that too was not helpful.
    I am now worried, is it really feasible to do so?
    Kindly suggest some way out.
    Best regards,
    Githa

  • Same material with Different qualities

    Dear Experts,
    Please give me the solution for mentioned issue ....
    I have to maintain the same material which has different qualities (grades) and according to these qualities, the material rate is different. i have near about 50 different qualities for the same material and 50 different rates.
    My every vendor is supplying this material for 50 different qualities and rates. So in this case to maintain the individual material prices is big challenge.
    If i will maintain Info records, i have to maintain 200000 info record. and also there is possibility of price change for every three months.
    So please give me any other alternative solution for the problem.

    Hi Vijay,
    Variant Configuration may work in your case. I collected some links, please go thru the links:
    http://help.sap.com/saphelp_47x200/helpdata/en/92/58d455417011d189ec0000e81ddfac/plain.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOVC/LOVC.pdf
    http://sap-img.com/sap-sd/steps-for-sd-variant-configuration.htm
    http://www.slideshare.net/arun_bala1/variant-configuration-overview
    http://www.sap-topjobs.com/VARCONFG%5B1%5D.pdf
    Purchasing:-
    1. MATERIAL MASTER
    Create Material with material type as HALB – Transaction code MM01
    Enter Material code as ZMAL.
    Select the following views – Basic data1, Basic data2, Purchasing, MRP1, Storage1, Storage2, Accounting1, Accounting2, Costing1, Costing2.
    Basic Data1 – Select General Item Category Group as “0002”
    Basic Data2 – Activate the field Material Configurable
    Remaining fields data is as applicable.
    2. VENDOR MASTER
    Create Vendor Master – Transaction code XK01
    Enter Vendor code as ZVEN
    3. Classification Characteristics
    Create Characteristics – Transaction code CT04
    Characteristics created as
    i) ZMALCOLOURRED after entering the description click on the tab Addnl data & then fill up the data in Table name = MMCOM & Field name = VKOND then save the characteristic.
    ii) ZMALCOLOURBLUE enter the description & save the data, do not enter any data on Addnl data tab strip.
    Save the data
    4. Classification
    Create Class as ZMALCLASS – Transaction code CL01
    Class as ZMALCLASS, Class Type as 300
    Assign the above two characteristics ZMALCOLOURRED & ZMALCOLOURBLUE to class ZMALCLASS.
    Save the data
    5. Configuration Profile
    Create Configuration Profile – Transaction code CU41
    Enter the material code as ZMAL,
    on the next screen enter Priority – 10, Profile Name – ZMALPROFILE, Class – 300. Select the line & click on the push button Class Assignment, assign the class ZMALCLASS come back to main screen
    Select the profile line item & click on the “Profile Detail”
    then click on the push button “dependency assignment”
    on the screen input dependency as “ZMALDEPENDANCY” &
    then click on the push button “Dependency editor”
    input the syntax as
    $self.ZMALCOLOURRED = 'RED' IF ZMALCOLOURBLUE = 'BLUE'
    save data
    6. Pricing Procedure ( SPRO )
    Pricing condition types like VA00 - Variants/Quantity & VA01 – Variants % is included in the pricing procedure with following settings
    Sr. No. DATA VA00 CONDITION VA01 CONDITION
    Control Data 1
    Condition Class A A
    Calculate Type C A
    Condition Category O O
    Changes can be made
    Manual Entries C C
    Item Condition Active Active
    Delete Active Active
    Amount / Percent Active Active
    Scales
    Scale Basis C C
    Control Data 2
    Variant Condition Active Active
    Access Sequence Variants Variants
    These conditions will appear in the pricing when variant configuration is made active in vendor Info Record.
    7. Vendor Info Record
    Create Vendor Info record – Transaction code – XK01.
    Input Fields like Vendor, Material, Purchasing Organisation and Plant.
    Click on the push button “ Variant Configuration “ In the pop-up window input the variant condition.
    Select the line & click on push button “ choose “ the pop-up window will display the two condition “VA00 “ & “VA01”, select the relevant condition, click on “choose” then save the data.
    Input all other relevant data for creation of vendor info record
    8. Purchase Order
    Create Purchase Order – Transaction Code – ME21N.
    Input all relevant like Vendor, Material, PO quantity, price etc.
    Select the Material Data tab strip in Item & click on the push button “configuration” the characteristic of variant configuration will appear input the required value,
    Go to the condition tab you will find variant configuration condition has appeared in pricing condition.
    Save the purchase order.
    Reg,
    Ashok

  • Invoice zero amount

    Hi,
    If during sales order creation net amount is "0",then I need system does not allows for invoice creation.How do make validation in Invoice level so that invoice can not be created "0" amount.
    Plese give me the solution for that.
    Thanks,
    Miku.

    Hi,
    This is generally handled by using the incompletion log procedure.
    In the incompletion procedure assigned to the sales order item category, make sure that Net value is part of incompletion field.  Generally, standard SAP provides item incompletion procedure 20 where VBAP-NETWR is assigned the status group 04. Status group controls the follow up function whcih is possible / not possible when an item is incomplete for any field. In the standard scenario, procedure 20 which has incompletion log on VBAP-NETWR, makes the item incomplete if price is missing or 0. Status group 04 assigned to VBAP-NETWR controls that no follow up action i.e. delivery should be generated for an item with missing price.
    Generally, a missing price should stop the delivery and not the invoice otherwise, you will deliver the article but will not / delay to bill the customer .
    REgards,
    Naveen Aggarwal

  • How to hide or supress availability control screen in VA01

    Hi,
    I want to hide Availability Control Screen in VA01. Can you please help me how can i supress that screen.
    Regards
    Malik

    Hi Nabheet ,
    disabling the Button wont solve the problem , System automatically do availability check based on the stock and scheduled delivery date , if no sufficient stock then system will  propose new schedule line dates....
    so disabling the Button wont stop doing all these checks........it needs to be done thru config/E Spot which will skip all these validations...
    regards
    Prabhu

  • Problem in the BDC Table Control for the T.Code VA01

    Hi,
      I faced probelm in the BDC of the VA01. In the Table Control
    the records are entered upto 12 line items. after 13th line item overwrites the first record. How to solve the Problem.
    Please help me.

    or use this
    Internal table definition *
    data : begin of bdcdata occurs 0.
            include structure bdcdata.
    data : end of bdcdata.
    data: begin of messtab occurs 0.
            include structure bdcmsgcoll.
    data: end of messtab.
    data: v_chr_opengrp type c,
          r_matnr like mara-matnr,                       "variable for material conversion
          r_werks like marc-werks,                       "variable for plant
          v_str_fname   type string.
    data: begin of count2,
          inrec(9) type n,                               " input I_MATERIAL count
          create(9) type n,                              " create count
          error(9) type n,                               " error count
          bdc(9) type n,                                 " count of BDC creates
          end of count2.
    types: begin of ty_source,
    partn_numb(10) type n ,"Customer Number 1
    ref(035),
    sales_org(4) , "Sales Organization
    distr_chan(2) , "Distribution Channel
    division(002), "DIVISION
    doc_type(4) , "Sales Document Type
    purch_no(020), "Purchase order
    material like vbap-matnr,
    reqqty(018),
    reqdate(010),
    end of ty_source,
    begin of ty_header ,
    partn_numb(10) ,"Customer Number 1
    ref(035),
    sales_org(4) , "Sales Organization
    distr_chan(2) , "Distribution Channel
    division(002), "DIVISION
    doc_type(4) , "Sales Document Type
    purch_no(020), "Purchase order
    end of ty_header,
    begin of ty_item,
    partn_numb(10) ,"Customer Number 1
    ref(035),
    material like vbap-matnr,
    reqqty(018),
    reqdate(010),
    end of ty_item.
    data : msg(240) type c, " Return Message
    e_rec(8) type c, " Error Records Counter
    rec_no(8) type c, " Records Number Indicator
    s_rec(8) type c, " Successful Records Counter
    t_rec(8) type c, " Total Records Counter
    v_matnr like mara-matnr.
    data: val(2) type n value 01.
    data : begin of bdc_itab occurs 0.
            include structure bdcdata.
    data : end of bdc_itab.
    data : t_source type standard table of ty_source   with header line,
    t_header type standard table of ty_header initial size 1,
    t_item type standard table of ty_item initial size 1,
    t_target type standard table of bdcdata initial size 1.
    data : w_source type ty_source,
    w_source1 type ty_source,
    w_header type ty_header,
    w_item type ty_item,
    w_target type bdcdata,
    count type i,
    count1 type n.
    Variable Declaration
    data: w_fname type string,
    fnam(20),
    date1(10),
    i(2) type n,
    v_count type i,
    v_group type apqi-groupid.
    *& selection screen
    selection-screen :begin of block bl1 with frame title  text-001.
    parameters : p_fname type rlgrap-filename,                         "Input file
                 p_update(1) default 'N',                              "Input for update mode
                 p_bdcgrp(12) default 'SD_ORDERS'.                     "Input for session name
    selection-screen end of block bl1.
    **&SELECTION SCREEN VALIDATIONS
    at selection-screen on value-request for p_fname.
      call function 'KD_GET_FILENAME_ON_F4'
        exporting
          program_name  = 'ZMATERIAL'
          dynpro_number = '1000'
          field_name    = 'P_FNAME'
        changing
          file_name     = p_fname.
    *& Start of selection
    start-of-selection.
      if  p_fname is initial.
        message i016(rp) with 'Please enter a file name'.
        leave list-processing.
      else.
        move p_fname to  v_str_fname.
      endif.
      call function 'GUI_UPLOAD'
        exporting
          filetype                = 'ASC'
          filename                = v_str_fname
          has_field_separator     = 'X'
        tables
          data_tab                = t_source
        exceptions
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          others                  = 17.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
            with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      sort t_source by ref partn_numb.
      loop at t_source into w_source.
        add 1 to count2-inrec.
        w_source1 = w_source.
       AT NEW PARTN_NUMB.  "10/31 KVB
        at new ref.
          w_header-doc_type = w_source1-doc_type..
          w_header-sales_org = w_source1-sales_org .            "'0001'
          w_header-distr_chan = w_source1-distr_chan.           "'01'
          w_header-division = w_source1-division.               " '01'
          w_header-purch_no = w_source1-purch_no.
          w_header-partn_numb = w_source1-partn_numb.
          w_header-ref = w_source1-ref.
          append w_header to t_header.
        endat.
        w_item-partn_numb = w_source1-partn_numb.
        w_item-material = w_source1-material.
        w_item-reqqty = w_source1-reqqty.
        w_item-ref = w_source1-ref.
        w_item-reqdate = w_source1-reqdate.
        append w_item to t_item.
        clear :w_item,w_header.
      endloop.
      loop at t_header into w_header.
        perform bdc_dynpro      using         'SAPMV45A'                  '0101'       .
        perform bdc_field       using         'BDC_CURSOR'                'VBAK-SPART'.
        perform bdc_field       using         'BDC_OKCODE'                '/00'.
        perform bdc_field       using         'VBAK-AUART'                w_header-doc_type.
        perform bdc_field       using         'VBAK-VKORG'                w_header-sales_org.
        perform bdc_field       using         'VBAK-VTWEG'                w_header-distr_chan.
        perform bdc_field       using         'VBAK-SPART'                w_header-division.
        perform bdc_dynpro      using         'SAPMV45A'                  '4001'     .
        perform bdc_field       using         'BDC_OKCODE'                '/00'.
        perform bdc_field       using         'BDC_CURSOR'               'VBKD-BSTKD'.
        perform bdc_field       using         'VBKD-BSTKD'                w_header-purch_no.
        perform bdc_field       using         'KUWEV-KUNNR'               w_header-partn_numb.
        i = 1.
        loop at t_item into w_item where partn_numb = w_header-partn_numb
                                         and ref = w_header-ref.
          at new partn_numb.
            clear count1.
            count = 0.
          endat.
          count = count + 1.
          if count gt 5.
            clear i.
            i = 2.
            perform bdc_dynpro      using 'SAPMV45A' '4001'      .
            perform bdc_field       using 'BDC_OKCODE' '=POAN'.
          endif.
          count1 = count1 + 1.
          concatenate 'VBAP-POSNR(' i ')' into fnam.
          perform bdc_field       using  fnam
                                        count1.
          concatenate 'RV45A-MABNR(' i ')' into fnam.
          perform bdc_field    using fnam                            w_item-material.
          concatenate 'RV45A-KWMENG(' i ')' into fnam.
          perform bdc_field       using  fnam                        w_item-reqqty..
          concatenate 'RV45A-ETDAT(' i ')' into fnam.
          perform bdc_field       using  fnam                         w_item-reqdate.
          concatenate 'VBKD-BSTKD_E(' i ')' into fnam.
          perform bdc_field       using  fnam                         w_item-ref.
          i = i + 1.
          clear:  w_item.
        endloop.
        clear w_header.
        perform bdc_dynpro      using 'SAPMV45A' '4001'.
        perform bdc_field       using 'BDC_OKCODE'
                                      '=SICH'.
        perform post_transaction.
        refresh bdc_itab.
        clear   bdc_itab.
      endloop.
    *endloop.
    end-of-selection.
      perform finalization.
           Start new screen                                              *
    form bdc_dynpro using program dynpro.
      clear bdc_itab.
      bdc_itab-program  = program.
      bdc_itab-dynpro   = dynpro.
      bdc_itab-dynbegin = 'X'.
      append bdc_itab.
    endform.                    "bdc_dynpro
           Insert field                                                  *
    form bdc_field using fnam fval.
      if fval <> ''.
        clear bdc_itab.
        bdc_itab-fnam = fnam.
        bdc_itab-fval = fval.
        append bdc_itab.
      endif.
    endform.                    "bdc_field
    **&      Form  get_filename
          text
    -->  p1        text
    <--  p2        text
    *form get_filename .
    *call function 'WS_FILENAME_GET'
       exporting
         def_filename     = space
         def_path         = file
         mask             = ',.,..'
         mode             = 'N'
         title            = text-015
       importing
         filename         = file
       exceptions
         inv_winsys       = 1
         no_batch         = 2
         selection_cancel = 3
         selection_error  = 4
         others           = 5.
    *endform.                    " get_filename
    *&      Form  post_transaction
          text
    -->  p1        text
    <--  p2        text
    form post_transaction .
      refresh messtab.
      clear   messtab.
      call transaction  'VA01' using bdc_itab
                  mode   p_update
                update  'S'
              messages into messtab.
      read table messtab with key msgtyp = 'E'.
      if sy-subrc eq 0.
        perform process_error_messages.
        add 1 to count2-bdc.
        if v_chr_opengrp is initial.
          perform bdc_open_group.
        endif.
        call function 'BDC_INSERT'
          exporting
            tcode          = 'VA01'
          tables
            dynprotab      = bdc_itab
          exceptions
            internal_error = 1
            not_open       = 2
            queue_error    = 3
            tcode_invalid  = 4
            others         = 5.
        if sy-subrc <> 0.
          case sy-subrc.
            when 1.
              write: / 'Internal error'.
            when 2.
              write: / 'Not open error'.
            when 3.
              write: / 'queue error'.
            when 4.
              write: / 'tcode invalid error'.
            when others.
              write: / 'other error'.
          endcase.
        endif.
      else.
        add +1 to count2-create.
        format intensified off.
        format color col_normal.
        format color col_normal off.
      endif.
      clear   bdc_itab.
      refresh bdc_itab.
    endform.                    " post_transaction
    *&      Form  finalization
          text
    -->  p1        text
    <--  p2        text
    form finalization .
      if v_chr_opengrp = 'X'.
        call function 'BDC_CLOSE_GROUP'
          exceptions
            not_open    = 1
            queue_error = 2
            others      = 3.
      endif.
      get time.
      skip 2.
      write: / 'Time', sy-uzeit.
      skip.
      format color col_total on.
      write: / 'Total Records: ',           40 count2-inrec.
      write: / 'PERNR not of Emp Group 6 ', 40 count2-error.
      write: / 'Records Created: ',         40 count2-create.
      write: / 'BDC Create in group: ',     40 count2-bdc.
      if v_chr_opengrp = 'X'.
        skip 1.
        format intensified on.
        format color col_negative on.
        write: / 'PLEASE USE TRANSACTION "SM35" ',
                 'TO PROCESS THE GENERATED BDC SESSION ... ',
                 p_bdcgrp.
      endif.
    endform.                    " finalization
    *&      Form  bdc_open_group
          text
    -->  p1        text
    <--  p2        text
    form bdc_open_group .
      call function 'BDC_OPEN_GROUP'
        exporting
          client              = sy-mandt
          group               = p_bdcgrp
          holddate            = sy-datum
          keep                = 'X'
          user                = sy-uname
        exceptions
          client_invalid      = 1
          destination_invalid = 2
          group_invalid       = 3
          group_is_locked     = 4
          holddate_invalid    = 5
          internal_error      = 6
          queue_error         = 7
          running             = 8
          system_lock_error   = 9
          user_invalid        = 10
          others              = 11.
      if sy-subrc eq 0.
        v_chr_opengrp = 'X'.
      endif.
    endform.                    " bdc_open_group
    *&      Form  process_error_messages
          text
    -->  p1        text
    <--  p2        text
    form process_error_messages .
      data: begin of loc_aux_message.
              include structure message.
      data: end of loc_aux_message.
      data : msgno type sy-msgno.
      loop at messtab.
        move messtab-msgnr to msgno.
        call function 'WRITE_MESSAGE'
          exporting
            msgid  = messtab-msgid
            msgno  = msgno
            msgty  = messtab-msgtyp
            msgv1  = messtab-msgv1
            msgv2  = messtab-msgv2
            msgv3  = messtab-msgv3
            msgv4  = messtab-msgv4
          importing
            messg  = loc_aux_message
          exceptions
            others = 1.
        if sy-subrc eq 0.
          format color col_negative on.
          write: /10 loc_aux_message.
          format color col_negative off.
        else.
          format color col_negative on.
          write: /10 t_source-partn_numb.
          write: / 'Error creating message'.
          format color col_negative off.
          exit.
        endif.
      endloop.
    endform.                    " process_error_messages

  • Changes in Netprice(KOMP-NETWR) While Creation Sales Order(VA01)

    Hi expert ,
    My issues while creating sales order(Va01) is :
    i have added two conditions types namely YVAT and YNBT in Condition , while calculating netprice (NETWR) its picking both values for YVAT and YNBT , i want only netprice excluding YVAT and YNBT , for example
    NETPRICE is  3000.00
    YVAT      is      50.00
    YNBT      is       30.00
    NET         is       3080.00
    but i want to display only 3000.00 in NET(KOMP-NETWR)
    please suggest  is there any user exit to do this calculations.

    Hi,
    I'm not sure if you need to update ADRC table - the address number is usually the the customer's address and is picked automatically.
    Also the transport zone is picked automatically based on the customers address or on the shipping conditions in the Sales Order.
    Transportation Zone (LZONE) also exists in the partner function (VBPA) and the shipping partner (VTPA) - in case you need to suggest a different route for shipping other than the one determined automatically.
    To change this - change both the internal tables table xvbpa and xvtpa (after reading with sales order and item from structures vbak and xvbap) in USER_SAVE_DOCUMENT_PREPARE in the include MV45AFZZ.
    But, I'm not sure if the Address Number (determining the shipping point) would be independent of the Transp Zone, though it's changed in the exit.
    Regards,
    Anil.

  • BAPI_SALESORDER_CREATEFROMDAT2 to replace VA01, KBETR and NETWR

    Please help me..
    I am using BAPI_SALESORDER_CREATEFROMDAT2 for creating sales order for replace VA01,
    can you please tell me in which field the amount KBETR (of items) is to be populated.
    i thing that i will populate COND_VALUE in ORDER_CONDITIONS_IN with field kbetr but I don't know what will I populate field COND_TYPE ? the same problem I have with net value (NETWR).
    Would you explain me what I will populate fields in differents fields of this BAPI ?
    or give me an example of this

    Hi,
    You have to populate the quantity in the ORDER_SCHEDULES_IN and ORDER_SCHEDULES_INX. The price should and will get determined based on the pricing procedure conditions.
    DATA : order_schedule TYPE TABLE OF bapischdl,
                wa_order_schedule TYPE bapischdl,
                order_schedulex TYPE TABLE OF bapischdlx,
                wa_order_schedulex TYPE bapischdlx.
    wa_order_schedule-itm_number = '0010'. ( Same item number from ORDER_ITEMS_IN )
    wa_order_schedule-sched_line = '0001'. ( Corresponds to VBEP-ETENR  )
    wa_order_schedule-req_qty = quantity ( Quantity you have to pass )
    APPEND wa_order_schedule TO order_schedule.
    wa_order_schedulex-itm_number = '0010'. ( Same item number from ORDER_ITEMS_IN )
    wa_order_schedulex-sched_line = '0001'. ( Corresponds to wa_order_schedule-sched_line )
    wa_order_schedulex-updateflag = 'I'.
    wa_order_schedulex-req_qty = 'X'.
    APPEND wa_order_schedulex TO order_schedulex.
    Hope it helps
    Sujay

  • Add a new column in item table control of va01 screen

    Hi All,
    i have requirement to add new column in item table control of va01 screen 4900 for the custome field of vbap table
    the required coloum is add with the help of access key
    however whem i am trying to save data, that custom field is not populate
    please let me know if any one had work on this

    I think i solved the problem . The single way to to that is to modify the SAP standard Screen.

  • Copy control for passing Credit card information from VA01 to VA41

    Hi,
    Is there any SAP Standard copy control available for passing the credit card information from Sales order Creation(VA01) to Contract Creation(VA41).
    Thanks,
    fractal

    Hi,
      Check in transactin VTAA, this might be helpful,
    Rgds,

  • Adding one additional row to table control of VA01

    HI all,
    I am working on free goods N:N senario which is not supported by sap standard.
    so we have decided to club all the material on the basis of material group and PSTYV = 'tann' in the table control of va01 and at the end of tann we have to display the free goods .The user exit is USEREXIT_MOVE_FIELD_TO_KOMP.
    Please help in in adding the additional row in table control of va01 (TCTRL_U_ERF_AUFTRAG).
    Even i have gone through all the thread in sdn and tried all the solution but none of the solution is working .
    plz quote solutions....
    thanks..
    Kundal.

    The user exit is USEREXIT_MOVE_FIELD_TO_KOMP
    Are you adding condition records, or adding free materials to VBAP?  If free materials to VBAP, you're in the wrong exit, I think....look for routines that allow you to add to internal table XVBAP in includes named like MV45AFZ*, and remember to set you UPDKZ to 'I'-insert if you're adding new rows.
    Not sure what you mean by not supported by SAP standard;  SAP does support free goods, via config!
    Edited by: BreakPoint on Mar 14, 2011 4:11 PM

  • Code for va01 bdc table control

    hi
    i want to CODE FOR  bdc table control  VA01 (TCODE)
    ASAP

    Awadhesh,
    just refer:
    Problem in the BDC Table Control for the T.Code VA01
    BDC Uploading from flat file to VA01.
    BDC For Line Items In Sales Order
    dont forget reward.
    Amit.

  • Show Domestic Order-OTC: Availability Control screen in VA01

    Hi All,
    How do we trigger the back order hint (Domestic Order-OTC: Availability Control) screen in VA01? I am trying to compare two orders that I am creating and trying to find the reason why one of the order shows this screen and the other don't. Any data that I missed causing the screen not to show up?
    Edited by: frankie pascua on Apr 21, 2010 11:49 AM
    Edited by: frankie pascua on Apr 21, 2010 11:54 AM

    I wasn't aware that S. loc were involved. I'll give you some tips to help you out in how your systems work.
    If availability check will go down to st location level is controlled by the scope of the avalability check. (Tc:OVZ9). There will be one check box - No storage location inspection. Check in what level you have the inspection per scope, ie per meterial checking group.
    Go to  spro->material management->consumption based planning->planning->define storage location MRP.
    Check the settings against every storage location. Maybe there was a business requirement to the one who initially configured the system for different approach per storage location.
    And bear in mind that if you don't specify storage location in the order, the availability check will run for the whole plan. I'm not aware, if you let the av check run, and then you specify storage locaiton, if it will re-run after at storage location level automatically.
    Get back if you have any more inputs to your issue.
    Regards
    Agis

  • Controlling Screen Flow in VA01 and VA02

    Hello, I am going to add a pop up message in a Sales Order User Exit, and depending on the answer, I would like to go to the Billing tab/dynpro.  Does anyone know how I can control screen flow thru a user exit in VA01 adn VA02?
    Thanks

    After your popup selection, you can set the FCODE to KDE3 (for the Header > Billing Document tab).
    You have to stop the processing by giving the Error message and let the user press "Enter" to move on to the next screen. So, after setting the FCODE to KDE3, give the error message to stop the proessing.
    Regards,
    Naimesh Patel

Maybe you are looking for

  • Performance problem PRD environment

    Hi Everybody, Some moments during the day we are having a performance problem in our PRD environment. The system get slow. The CPU get 100% of his usage. The most used process are: oracle.exe - 35% disp+work - 30% disp+work - 11% disp+work - 05% disp

  • Alert Raising for RunTime Parameters

    Hi All, I have a requirement where in i have a class,and this class has got some servers say server a,b,c. On each of these servers i will be having some depots say p,q,r on a s,t,u on b, and x,y,z on c. There is no condition that the values on the d

  • Problems installing cs 5.5

    Hi I just purchased creative suite cs 5.5 production premium. when I try to install the second disk the install program will not move forward and finish the install. when I cancel I get the message below. any help would be appreciated. Exit Code: 24

  • Inserting gif or jpg in report

    Hello, I want to insert some pictures in my reports in Answers (for example in the title). and I would like to know in which directory I have to put the images I want to show in the server. Where I can change the directory where the pics are stored ?

  • Audition update fails, unable to extract downlaod files. (U44M1I210)

    When I try to update Audition, I get the following error message: "Update Failed Unable to extract the downloaded files. Press Retry to download again (U44M1I210)" This is on a PC, Windows 7 Pro, 64 bit. I have other CC application installed and they