Bapi to upadte MCHB table

Hi all,
pls anyone tel me what is the BAPI to update MCHB table?
Thanks,
Sowmya S

Hi,
try using
BAPI_GOODSMVT_CREATE,
BAPI_MATPHYSINV_POSTDIFF.
thanks
Arjun

Similar Messages

  • Is there any delivered BAPI or Functional modules available for MCHB table

    Hi Experts,
    I have a requirement where I have to pull inventory data from MCHB table without custom code. Is there any delivered BAPI or Functional modules available for MCHB table?
    Kindly help!
    Thanks
    Gopal

    Hi,
    Can you check using the Fun Modules
    MG_BATCH_CHECK_STOCK
    VB_READ_BATCH_WITHOUT_STOCK
    VB_BATCH_GET_ALL_STOCKS
    Regards,
    Anji

  • How to find out program form the entry made in MCHB table thro backgrounnd

    Hi,
    we have one case where table MCHB was updated with zero quantity for batches by user ZZZBATCH  which is for background job.
    Table MCHB was updated with batches with Zero quantity though process order number was set for deletion flag.
    Now our client wants by which program this entry has been made?
    we dont know which is the background job/program?
    we are sure that background job was run as user ZZZBATCH is set for background job.
    please help to find out How  this entry has been created in the MCHB table.

    Find out from CDPOS table  for the date/ time this entry was made.  From SM37 look out for the jobs that were running then.  You should get some clue.
    If you can't do that,  just try  for all  programs  run by ZZZBATCH    and see which of the program uses   MCHB table  or  some BAPIs with * BATCH*.
    cheers
    Rav

  • Fields in MCHB table for cycle counting

    Hi Experts,
    There is a requirement in my program that if the values of the follwoing stocks are there in MCHB table then change the date of creation when cycle counting is performed at the end of the year:
    Blocked
    In qual. insp.
    Restricted-use
    Returns
    Stock in tfr
    Unrestricted
    Can anyone tell me that which field are there in MCHB table coressponding stock  types.I can see some fields starting with CV* and some with KZ* for BLocked, restricted..etc

    Blocked  - CSPEM
    In qual. insp. - CINSM
    Restricted-use - CEINM
    Returns - CRETM
    Stock in tfr - CUMLM
    Unrestricted  - CLABS
    These are the fields

  • Creation of sale order using bapi in webdynpro using table control

    only first row is getting updated when checked in va03, the line items are not getting replaced, only first row is committed..
    Here is the code for table control i used...
    http://www.scribd.com/doc/51879492/creation-of-sale-order-using-bapi-in-webdynpro-using-table-control
    pls help me out with this..

    Duplicate Posting.  Original is here: Sales order creation with bapi in webdynpro using table control

  • Material not shown in the MCHB table

    Dear MM Gurus,
    I have created a batch managed material and posted stock. When I checked the stock in MMBE it shows the available stock for that material. My problem is, the material is not shown in MCHB table, but the material is available in the tables MCHA, MARA and MARD.
    Any idea on why this has happened and How to correct the issue.

    do you see a batch number in MMBE?
    do you see a batch number in the movement (display document in MIGO, or via MB51)?
    MCHA has no stock information. MCHA can be created manually with MSC1N transaction, must not necessarily mean that it is automatically created from a goods receipt.

  • Giving problem after I included the new field to MCHB table.

    Hi Friends,
    I added one new field called ZZINQNUM to the MCHB table.For this field I created one new data element called ZVBELN_INQUIRY and attached domain VBELN.
    Activated and adjusted  the table.
    Now what the problem is
    I went to SE11 -> Display - > Selected the contents -> In selection screen, I double clicked the ZZINQNUM select-option and selected the equal to space option. For this I am expecting all the records from the table,because in the field ZZINQNUM is empty. But result is zero entries.
    Can any one help me out in this. Thanks in advance.
    Thanks
    Srinu

    Hello Srinivasa
    Two years ago I had the very same problem when I added a new field to an already existing and filled customer table. I debugged the maintenance view and saw that the new field contained an undefined value but not the initial value.
    You could try and use the DB utility (<b>SE14</b>) and activate the table again (of course without deleting the table entries).
    Alternatively, you could write a simple ABAP to initialize the field value, e.g.:
    DATA:
      gs_mchb   TYPE mchb,
      gt_mchb    TYPE STANDARD TABLE OF mchb.
      SELECT * INTO TABLE gt_mchb.
      gs_mchb-zvbeln_inquiry = ' '. " space
      MODIFY gt_mchb FROM gs_mchb
        TRANSPORTING zvbeln_inquiry
        WHERE ( zvbeln_inquiry ne ' ' ).
      UPDATE mchb FROM TABLE gt_mchb.
    Regards
      Uwe

  • BAPI to update MARC Table

    Hi Gurus,
    Please let me know a BAPI to update MARC table.
    Regards
    Avinash.

    Hi,
    You can use the BAPI_MATERIAL_SAVEDATA
    Please find the corresponding field names in the BAPI
    PLANTDATA-REORDER_PT - MINBE
    PLANTDATA-SAFETY_STK - EISBE
    PLANTDATA-MINLOTSIZE - bstmi
    PLANTDATA-MAXLOTSIZE - bstma
    PLANTDATA-FIXED_LOT - bstfe
    PLANTDATA-ROUND_VAL - bstrf
    PLANTDATA-MAX_STOCK - mabst
    PLANTDATA-MIN_SAFETY_STK - eislo
    Populate the following parameters..
    HEADDATA-MATERIAL = 'Material number'.
    HEADDATA-MRP_VIEW = 'X'.
    Populate the PLANTDATA as mentioned above..
    Populate the corresponding X in the PLANTDATAX structure.
    PLANTDATAX-REORDER_PT = 'X'
    PLANTDATAX-SAFETY_STK = 'X'
    PLANTDATAX-MINLOTSIZE = 'X'
    PLANTDATAX-MAXLOTSIZE = 'X'
    PLANTDATAX-FIXED_LOT = 'X'
    PLANTDATAX-ROUND_VAL = 'X'
    PLANTDATAX-MAX_STOCK = 'X'
    PLANTDATAX-MIN_SAFETY_STK = 'X'
    Call the BAPI.
    Give COMMIT WORK.
    Hope this works..
    Regards.

  • Need  F.M or BAPI to update the table IFLOT---URGENT

    HI ALL,
    i need  F.M or BAPI to update the table IFLOT
    its urgent ........................

    use the function module
    EXIT_SAPLITO0_001/2
    www.jt77.com/plant-maintenance/quality-management-11667.html - 11k -
    reward if useful

  • BAPI coding for CATSDB TABLE i.e Timesheet DB

    BAPI coding for CATSDB TABLE i.e Timesheet DB
    Points will be rewarded,
    Thank you,
    Jagrut BharatKumar Shukla

    Hi Srikhar
    use these bapis
    BAPI_BPCONTACT_CHANGE BAPI
    BAPI_BPCONTACT_CREATEFROMDATA BAPI .... BAPI_CUSTOMERCONTRACT_CHANGE
    BAPI_CTRACCONTRACTACCOUNT_CH1
    reward points to all helpful answers
    kiran.M

  • Bapi : BAPI_ALM_ORDER_MAINTAIN not updating table AFVU-USR08

    Hi,
    I have a requirement to update table AFVU-USR08.I am actualy dealing with tcode IW32/IW33 where in we need to update operation-->enhancement tab.I am using BAPI : BAPI_ALM_ORDER_MAINTAIN to do this.I am testing the BAPI directly( Not called in any program ),I can see a message like so and so order saved under notification,But there is no entry in table AFVU-USR08.
    If any one have come across this prob. and got the sol. Pl. share it with me.
    Your solution will be more helpful.
    Thanks,
    Bharani.

    Hi Ferry,
    1. I have also tried ur given code before BAPI_TRANSACTION_COMMIT.
        l_fname = 'SOBKZ'.
        l_fvalue = 'U'.
        CALL FUNCTION 'CO_BH_MOD_SINGLE_FIELDS'
          EXPORTING
            aufnr_imp = wa_meth-objectkey(12)
            field1    = l_fname
            value1    = l_fvalue.
    but this program is giving dump for only this particular Value saying that This is PROTECTED field.
    Can anyone help me out on How to Update Special Stock Indicator on Components Tab of Maintenance Order (IW32).
    If anyone has faced such type of problem & solved it then please let me also.
    2. Which BADI to use for Updating Special Stock Indicator when we press enter on Components tab in Transaction IW32 ?..
    Thanks in advance,
    Hope to get the solution soon from all SAP gurus.
    and help will be appriciated .
    Gaurav.

  • Date when Stock is Posted in SLOC in MCHB table

    Hi Friends,
    My client has all the materials as batch managed and we wanted a report from MCHB to get qty of stock in each and every stock type and SLOC but we also wanted to know "On which date that stock has been posted in the respective SLOC", I tried using :
    1. Created on Date - But it seems that reflects date on which stock was first posted but not the latest date.
    2. Last Change - Date here was kind of very close but it is showing 00-00-0000 for many records, so it also doesn't seems to be a correct date.
    I know that we can get posting date related data from MB51 and other tables but I have 30,000 materials and I need other details also like SLED, Batch etc which can be fetched only from MCHB, so please let me know which filed to use (or which table) to get Date on which stock shown in MCHB has been posted.
    Our main purpose is to identify stock which are lying in SLOC for a long time so that business can clear that stuff.
    Thank you very much.
    Vihaan.

    >
    Vihaan wrote:
    > Hi Friends,
    >
    > My client has all the materials as batch managed and we wanted a report from MCHB to get qty of stock in each and every stock type and SLOC but we also wanted to know "On which date that stock has been posted in the respective SLOC", I tried using :
    >
    > 1. Created on Date - But it seems that reflects date on which stock was first posted but not the latest date.
    > 2. Last Change - Date here was kind of very close but it is showing 00-00-0000 for many records, so it also doesn't seems to be a correct date.
    >
    > I know that we can get posting date related data from MB51 and other tables but I have 30,000 materials and I need other details also like SLED, Batch etc which can be fetched only from MCHB, so please let me know which filed to use (or which table) to get Date on which stock shown in MCHB has been posted.
    >
    > Our main purpose is to identify stock which are lying in SLOC for a long time so that business can clear that stuff.
    >
    > Thank you very much.
    >
    > Vihaan.
    GR date (Goods Receipt date) would be the date you want from table LQUA .
    Use SQVI to merge tables and create a report or...
    Easier method:
    Run an inv. look up on the bin level (LX03) (by storage type with no bin entered and no zero stock bins checked) and find your old stock by veiwing the TiL (Time in location) or durration.
    sort so the oldest is on top and you will see the material that has been in location the longest.
    hope that helps (there are MANY ways to accomplish what you want)

  • Sales order creation with bapi in webdynpro using table control

    When i use table control to update the line items only first row is getting updated in the sale order creation and the loop is not updating the other row to header only the first row is getting saved, for the same set of data sale order is getting created in va01 for multiple line items. Pls give me some idea to resolve this issue, here is the code i am using for creating sale order using bapi 'BAPI_SALESORDER_CREATEFROMDAT2' method CREATE_SALES_ORDER .
    Declaration for Order Header Node DATA: node_order_header TYPE REF TO if_wd_context_node, elem_order_header TYPE REF TO if_wd_context_element, stru_order_header TYPE if_componentcontroller=>element_order_header . * Declaration for Order Items Node DATA: node_order_items TYPE REF TO if_wd_context_node, elem_order_items TYPE REF TO if_wd_context_element, stru_order_items TYPE if_componentcontroller=>element_order_items . * Declaration for Order Partners Node DATA: node_order_partners TYPE REF TO if_wd_context_node, elem_order_partners TYPE REF TO if_wd_context_element, stru_order_partners TYPE if_componentcontroller=>element_order_partners . node_order_header = wd_context->get_child_node( name = if_componentcontroller=>wdctx_order_header ). elem_order_header = node_order_header->get_element( ). elem_order_header->get_static_attributes( IMPORTING static_attributes = stru_order_header ). * via lead selection node_order_items = wd_context->get_child_node( name = if_componentcontroller=>wdctx_order_items ). elem_order_items = node_order_items->get_element( ). elem_order_items->get_static_attributes( IMPORTING static_attributes = stru_order_items ). * via lead selection node_order_partners = wd_context->get_child_node( name = if_componentcontroller=>wdctx_order_partners ). elem_order_partners = node_order_partners->get_element( ). elem_order_partners->get_static_attributes( IMPORTING static_attributes = stru_order_partners ). DATA: v_sales_doc TYPE bapivbeln-vbeln. DATA: w_order_header_in TYPE bapisdhd1, i_order_header_in TYPE table of bapisdhd1," i_order_partners TYPE TABLE OF bapiparnr, w_order_partners TYPE bapiparnr, i_return TYPE TABLE OF bapiret2, w_return TYPE bapiret2, i_order_items_in TYPE TABLE OF bapisditm, w_order_items_in TYPE bapisditm, i_order_conditions_in TYPE TABLE OF bapicond, w_order_conditions_in TYPE bapicond, w_order_SCHDL type BAPISCHDL, i_order_SCHDL type table of BAPISCHDL. * Order Header Details CLEAR: w_order_header_in, i_order_partners, i_return, i_order_items_in, i_order_conditions_in, w_order_SCHDL, i_order_SCHDL. refresh : i_order_partners, i_return, i_order_items_in, i_order_conditions_in, i_order_SCHDL. w_order_header_in-doc_type = stru_order_header-doc_type. w_order_header_in-sales_org = stru_order_header-sales_org. w_order_header_in-distr_chan = stru_order_header-distr_chan. w_order_header_in-division = stru_order_header-division. w_order_header_in-req_date_h = stru_order_header-req_date_h. w_order_header_in-sales_dist = stru_order_header-sales_dist. w_order_header_in-purch_no_c = stru_order_header-purch_no_c. * Order Item Details CLEAR: i_order_items_in,w_order_items_in. * w_order_items_in-itm_num = stru_order_items-itm_num. w_order_items_in-ITM_NUMBER = stru_order_items-ITM_NUMBER. w_order_items_in-material = stru_order_items-material. w_order_items_in-target_qty = stru_order_items-target_qty."'5'. w_order_items_in-target_qu = stru_order_items-target_qu."'5'. w_order_items_in-plant = stru_order_items-plant. w_order_items_in-target_val = stru_order_items-target_val. w_order_items_in-currency = stru_order_items-currency. CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = w_order_items_in-material IMPORTING output = w_order_items_in-material. APPEND w_order_items_in TO i_order_items_in. * Order Partner Details CLEAR: i_order_partners,w_order_partners. w_order_partners-partn_role = stru_order_partners-partn_role. w_order_partners-partn_numb = stru_order_partners-partn_numb. CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = w_order_partners-partn_numb IMPORTING output = w_order_partners-partn_numb. APPEND w_order_partners TO i_order_partners. * Order Condition Details w_order_SCHDL-ITM_NUMBER = stru_order_items-itm_number." '000010'. w_order_SCHDL-req_qty = stru_order_items-target_qty." '5'. APPEND w_order_SCHDL to i_order_SCHDL. * Create Sales Order BAPI Call *loop at i_order_header_in into w_order_header_in. CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2' EXPORTING order_header_in = w_order_header_in IMPORTING salesdocument = v_sales_doc TABLES return = i_return order_items_in = i_order_items_in order_partners = i_order_partners order_schedules_in = i_order_SCHDL order_conditions_in = i_order_conditions_in. * Get message manager DATA: l_current_controller TYPE REF TO if_wd_controller, l_message_manager TYPE REF TO if_wd_message_manager. l_current_controller ?= wd_this->wd_get_api( ). CALL METHOD l_current_controller->get_message_manager RECEIVING message_manager = l_message_manager. DATA: v_message_text TYPE string. * When Sales Order is created commit the data IF NOT v_sales_doc IS INITIAL. CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' EXPORTING wait = 'X'. CONCATENATE 'Sales Document' v_sales_doc 'has been created.' INTO v_message_text SEPARATED BY space. * Report Success message CALL METHOD l_message_manager->report_success EXPORTING message_text = v_message_text. ELSE. v_message_text = 'Error Creating Sales Order'. * Report Error message CALL METHOD l_message_manager->report_error_message EXPORTING message_text = v_message_text. ENDIF. *endloop. endmethod. and code for table control i am using is method WDDOINIT . Types : Begin of item_tab, itm_number type bapisditm-itm_number, material type bapisditm-material, plant type bapisditm-plant , target_qty type bapisditm-target_qty, target_qu type bapisditm-target_qu, target_val type bapisditm-target_val, currency type bapisditm-currency, end of item_tab. *Creating internal table and Work Area of the same structure *as that of the Node created. Data : it_item type standard table of item_tab, wa_item type item_tab. *Appending Blank Work Area to Internal table. ***********************************************888 *LOOP AT it_item INTO wa_item. **wa_item-itm_number to bapisditm-itm_number. **wa_item-material to bapisditm-material. **wa_item-plant to bapisditm-plant. **wa_item-target_qty to bapisditm-target_qty. **wa_item-target_qu to bapisditm-target_qu. **wa_item-target_val to bapisditm-target_val. **wa_item-currency to bapisditm-currency. ** * APPEND wa_item TO it_item. *ENDLOOP. **********************************************88 ******** Do 10 times. Append wa_item to it_item. enddo. ********* "Binding the table DATA lo_nd_order_items TYPE REF TO if_wd_context_node. * DATA lt_material TYPE wd_this->Elements_material. * navigate from to via lead selection lo_nd_order_items = wd_context->get_child_node( name = wd_this->wdctx_order_items ). * @TODO handle non existant child * IF lo_nd_material IS INITIAL. * ENDIF. ** @TODO compute values ** e.g. call a model function * lo_nd_order_items->bind_table( new_items = it_item set_initial_elements = abap_true ). endmethod.

    DATA: node_order_header TYPE REF TO if_wd_context_node, elem_order_header TYPE REF TO if_wd_context_element, stru_order_header TYPE if_componentcontroller=>element_order_header . * Declaration for Order Items Node DATA: node_order_items TYPE REF TO if_wd_context_node, elem_order_items TYPE REF TO if_wd_context_element, stru_order_items TYPE if_componentcontroller=>element_order_items . * Declaration for Order Partners Node DATA: node_order_partners TYPE REF TO if_wd_context_node, elem_order_partners TYPE REF TO if_wd_context_element, stru_order_partners TYPE if_componentcontroller=>element_order_partners . node_order_header = wd_context->get_child_node( name = if_componentcontroller=>wdctx_order_header ). elem_order_header = node_order_header->get_element( ). elem_order_header->get_static_attributes( IMPORTING static_attributes = stru_order_header ). * via lead selection node_order_items = wd_context->get_child_node( name = if_componentcontroller=>wdctx_order_items ). elem_order_items = node_order_items->get_element( ). elem_order_items->get_static_attributes( IMPORTING static_attributes = stru_order_items ). * via lead selection node_order_partners = wd_context->get_child_node( name = if_componentcontroller=>wdctx_order_partners ). elem_order_partners = node_order_partners->get_element( ). elem_order_partners->get_static_attributes( IMPORTING static_attributes = stru_order_partners ). DATA: v_sales_doc TYPE bapivbeln-vbeln. DATA: w_order_header_in TYPE bapisdhd1, i_order_header_in TYPE table of bapisdhd1," i_order_partners TYPE TABLE OF bapiparnr, w_order_partners TYPE bapiparnr, i_return TYPE TABLE OF bapiret2, w_return TYPE bapiret2, i_order_items_in TYPE TABLE OF bapisditm, w_order_items_in TYPE bapisditm, i_order_conditions_in TYPE TABLE OF bapicond, w_order_conditions_in TYPE bapicond, w_order_SCHDL type BAPISCHDL, i_order_SCHDL type table of BAPISCHDL. * Order Header Details CLEAR: w_order_header_in, i_order_partners, i_return, i_order_items_in, i_order_conditions_in, w_order_SCHDL, i_order_SCHDL. refresh : i_order_partners, i_return, i_order_items_in, i_order_conditions_in, i_order_SCHDL. w_order_header_in-doc_type = stru_order_header-doc_type. w_order_header_in-sales_org = stru_order_header-sales_org. w_order_header_in-distr_chan = stru_order_header-distr_chan. w_order_header_in-division = stru_order_header-division. w_order_header_in-req_date_h = stru_order_header-req_date_h. w_order_header_in-sales_dist = stru_order_header-sales_dist. w_order_header_in-purch_no_c = stru_order_header-purch_no_c. * Order Item Details CLEAR: i_order_items_in,w_order_items_in. * w_order_items_in-itm_num = stru_order_items-itm_num. w_order_items_in-ITM_NUMBER = stru_order_items-ITM_NUMBER. w_order_items_in-material = stru_order_items-material. w_order_items_in-target_qty = stru_order_items-target_qty."'5'. w_order_items_in-target_qu = stru_order_items-target_qu."'5'. w_order_items_in-plant = stru_order_items-plant. w_order_items_in-target_val = stru_order_items-target_val. w_order_items_in-currency = stru_order_items-currency. CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = w_order_items_in-material IMPORTING output = w_order_items_in-material. APPEND w_order_items_in TO i_order_items_in. * Order Partner Details CLEAR: i_order_partners,w_order_partners. w_order_partners-partn_role = stru_order_partners-partn_role. w_order_partners-partn_numb = stru_order_partners-partn_numb. CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = w_order_partners-partn_numb IMPORTING output = w_order_partners-partn_numb. APPEND w_order_partners TO i_order_partners. * Order Condition Details w_order_SCHDL-ITM_NUMBER = stru_order_items-itm_number." '000010'. w_order_SCHDL-req_qty = stru_order_items-target_qty." '5'. APPEND w_order_SCHDL to i_order_SCHDL. * Create Sales Order BAPI Call *loop at i_order_header_in into w_order_header_in. CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2' EXPORTING order_header_in = w_order_header_in IMPORTING salesdocument = v_sales_doc TABLES return = i_return order_items_in = i_order_items_in order_partners = i_order_partners order_schedules_in = i_order_SCHDL order_conditions_in = i_order_conditions_in. * Get message manager DATA: l_current_controller TYPE REF TO if_wd_controller, l_message_manager TYPE REF TO if_wd_message_manager. l_current_controller ?= wd_this->wd_get_api( ). CALL METHOD l_current_controller->get_message_manager RECEIVING message_manager = l_message_manager. DATA: v_message_text TYPE string. * When Sales Order is created commit the data IF NOT v_sales_doc IS INITIAL. CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' EXPORTING wait = 'X'. CONCATENATE 'Sales Document' v_sales_doc 'has been created.' INTO v_message_text SEPARATED BY space. * Report Success message CALL METHOD l_message_manager->report_success EXPORTING message_text = v_message_text. ELSE. v_message_text = 'Error Creating Sales Order'. * Report Error message CALL METHOD l_message_manager->report_error_message EXPORTING message_text = v_message_text. ENDIF. *endloop. endmethod. and code for table control i am using is method WDDOINIT . Types : Begin of item_tab, itm_number type bapisditm-itm_number, material type bapisditm-material, plant type bapisditm-plant , target_qty type bapisditm-target_qty, target_qu type bapisditm-target_qu, target_val type bapisditm-target_val, currency type bapisditm-currency, end of item_tab. *Creating internal table and Work Area of the same structure *as that of the Node created. Data : it_item type standard table of item_tab, wa_item type item_tab. *Appending Blank Work Area to Internal table. ***********************************************888 *LOOP AT it_item INTO wa_item. **wa_item-itm_number to bapisditm-itm_number. **wa_item-material to bapisditm-material. **wa_item-plant to bapisditm-plant. **wa_item-target_qty to bapisditm-target_qty. **wa_item-target_qu to bapisditm-target_qu. **wa_item-target_val to bapisditm-target_val. **wa_item-currency to bapisditm-currency. ** * APPEND wa_item TO it_item. *ENDLOOP. **********************************************88 ******** Do 10 times. Append wa_item to it_item. enddo. ********* "Binding the table DATA lo_nd_order_items TYPE REF TO if_wd_context_node. * DATA lt_material TYPE wd_this->Elements_material. * navigate from to via lead selection lo_nd_order_items = wd_context->get_child_node( name = wd_this->wdctx_order_items ). * @TODO handle non existant child * IF lo_nd_material IS INITIAL. * ENDIF. ** @TODO compute values ** e.g. call a model function * lo_nd_order_items->bind_table( new_items = it_item set_initial_elements = abap_true ). endmethod.

  • PLAFX(of BAPI) and AUFFX(PLAF table) are the same???? this is FALG firm ind

    Hi Experts,
    I am creating PLANNED ORDERS successfully with BAPI_PLANNEDORDER_CREATE, fine.
    But, I need to SET the flag for FIRMING, so, when I see the PLAF table its PLAF-AUFFX.........but, when I see in the BAPI header structure of BAPIPLAF_I1, its as FIRMING_IND and componennet type is PLAFX............so, let me know that, If I set the FLAG for this FIRMING_IND........so, it mans am setting for AUFFX?
    I mean, Is these booth 2 are same???
    thanq

    Hi,
    Both the fields are same.
    Regards,
    Prasana

  • BAPI for creating variant table

    Hi,
    Cu61 and Cu60 are two transactions in SAP (comes under Variant Configuration) to create a variant table and fill its contents respectively.
         Now, I am trying to create a transaction in SAP such that on the screen it takes the name of the variant table to be created and an excel file as input from the user and thus create a variant table and fill its contents in the background. Now, ofcourse I have to do this through ABAP coding. I know how to upload the excel file into the internal table but I am not able to figure out that how should i create the variant table and transfer the contents of that internal table to the variant table? That is, how should i transfer the contents to the variant table?
    I have been able to find out the tables involved in the process viz, CUVTAB, CUVTAB_FLD, CUVTAB_VALC.
    Does there exist any BAPI for doing the same?
    Please Help.

    Hi Reema,
       Thanks for replying but this is not what I am looking for. I do not want to create a cluster table rather I want to create a variant table (it is a table used in variant configuration to store the combinations of a material whose characteristics can take varying values at the time of configuration). A table that we create through the transaction Cu61 and populate its contents through the transaction Cu60.
    However, I still tried your suggestion but it did not result in what I want.
    My problem still exists.

Maybe you are looking for

  • Need to determine data type of free characteristic in multiprovider

    Hi, I need to determine the data type (e.g. numeric vs alpha numberic) of a free characteristic in a multiprovider.  Can this be accomplished in BEx Query Designer?  If not, can it be accomplished in RSA1?  How? Thanks, Kevin

  • CO posting statistical (11) and actual (04)

    Hi all Normally, when you post in CO with two or more objects one item is witten as actual the others as statistical, and nomrally is the cost center to be written as statistical. Example for a posting with cost center and internal order, the cost ce

  • How can I get my excel spreadsheet to work in numbers

    How can I get this budget sheet to work in numbers when it's from excel.

  • Nokia 5530 no Gate way problem .. pls help

    I Bought my nokia 5530 i have wifi router Tp link Tl-WR340G i have done every thing to connect my phone to internet via router but a stupid msg saying no web gate acess appears .. al the time pls help me is there a universal solution to this problem.

  • How to define recursive functions in JSP

    Hi, If anybody knows, how to to define recursive functions pls help. I am using an XML file for the creation of a tree menu. In order to display the menu, i have to use recursive functions...Also out.println throwing error in the function.. Thanks, P