BAPI for HU ( change of quantity)

Hi,
I need to change the Handling unit quantity which is maintained in table vepo using some bapi or FM.
Request you to provide one....
i tried HU_iTEM_CHANGE but this doesn't fetch me the desired result...as it is called from some indep program...
Points will be rerwarded...
Regards
Gunjan

Hi Gunjan,
Here is the sample code for the FM HU_ITEM_CHANGE, this is the correct FM to make change in the table vepo. Actually this will refer to VEPOVM and inside it it has the structure VEPO, so please do follow this and see whether it is working fine or not.
DATA: ls_vepo type vepovb, ls_header type vekpvb.
  data: lf_update type xfeld.
  ls_vepo-venum = is_item-venum.
  ls_vepo-vepos = is_item-vepos.
These are the fields for the handling unit quantity.
just check it once.
Thanks and regards
Vipin Das

Similar Messages

  • Bapi for address change

    hi friend,
    i change  customer telephone noumber in revelent T.code
    in my R/3 system and i want to update this change in CRM
    system so kindly give me sutiable bapi for this change.

    Hi
    Check this BAPI: BAPI_BUPA_ADDRESS_CHANGE.
    Regards,
    Vishwa.

  • BAPI for FM9K(Change Budget Structure)?

    Hi All,
    Is there any BAPI for FM9K(Change Budget Structure)?
    Regards,
    Viral

    No standard one, as far as I'm aware...

  • BAPI for to change two attributes of a bupa

    Hi!
    Someone knows the best BAPI for to change this attributes of a business partner?
    The SEND MEDIUM and Supplier Purchasing Data, where have the field of PO CURRENCY.
    I'v try to use some bapis, but no sucess.
    Tnx!

    Hi
    Seems like a bug in the system.
    <u>Please go through the SAP OSS Notes as well.</u>
    Note 667327 - BBPGETVD/BBPUPDVD: Transmission medium fax not transferred
    Note 790546 - ROS: Supplier currency is not updated
    Note 885458 - SRM partner maintenance: 'Add to invoicing party' is missing
    Note 799072 ROS: Releasing a supplier fails
    Note 916702 - ROS: Using the supplier directory to create a supplier
    Note 918510 Time dependency of the business partner as of SRM_SERVER 550
    Do let me know.
    Regards
    - Atul

  • BAPI for Order Change - Company Code

    Hi,
    Which is the BAPI for Order change? Suppose the order is Open, Can i change the company code of the order?

    have you tried this ...BAPI_ALM_ORDER_MAINTAIN

  • Bapi for Equipment change

    HI
       I would like to know , is there  any  BAPI for Equipment change(T.code-IE02) to update all the feilds of equipment & automatically creates an asset number as normal tranaction code performes.
      As of now i am useing BAPI_EQUI_Change, please let me know any other than this BAPI
    Thanks&Regards
    lakshmi

    Hi,
       Check the FM <b>I_CHANGE_STATUS.</b>
    See the documentaion below
    FU I_CHANGE_STATUS
    Short Text
    Change a status for an object
    Description
    This function module is called to update the user status for a specified object (notification, notification task, order, or operation).
    Regards

  • BAPI for entrysheet Change

    Is there a BAPI for entrysheet change ?  I know there is a BAPI for entrysheet create - BAPI_ENTRYSHEET_CREATE.  WOuld be greatly appreciated if anybody knows if there is a bapi for change.
    Thanks

    Hi,
    It seems there is no BAPI available to change entry sheet. Have you looked at transaction code <b>ML81 (Maintain Service Entry Sheet)</b>? Perhaps you may need to write BDC solution to change services.
    Hope this will help.
    Regards,
    Ferry Lianto

  • BAPI For Shipment Change/Update

    Hi,
    I need a BAPI to update/change Shipment.
    I am aware of BAPI_SHIPMENT_CHANGE..but it is not released officially from SAP.
    This is a online job to change the shipment. I need a BAPI rather than a FM. Let me know some generic BAPI's which will change the shipment for a Purchase Order as of VT02N Transaction.
    Thanks & Regards,
    Priyanka.

    Hi,
    To change the header details of a shipment use
    SD_SHIPMENT_HEADER_CHANGE
    To change the stage data use
    SD_SHIPMENT_STAGE_APPEND
    SD_SHIPMENT_STAGE_CHANGE
    SD_SHIPMENT_STAGE_CHECK
    SD_SHIPMENT_STAGE_DELETE
    SD_SHIPMENT_STAGE_INSERT
    To add deliveries to shipment use
    SD_DELIVERY_ASSIGN_TO_SHIPMENT
    regards,
    Ankur Parab

  • BAPI for FB09 change line items

    Hi All,
    Is there any BAPI avaialble for changing the line items of transaction FB09...... instead of going for a BDC
    Please give the helpful answers.
    Thanks

    Hi
    BI program is BatchInput program so it's BDC program: u need to simulate the trx FB09 by a BDC, if u need a fm u can insert the BDC in your fm.
    Just I said if you need to change some std fields (like text, attribution, etc....), u can use the std fm FI_ITEMS_MASS_CHANGE: it's the fm used for massive changes.
    If you see the include LFI_ITEMSF03, u can check which fields are managed by that std fm.
    Max

  • BAPI  for create/change purchase info record

    Hi All,
    Could any one suggest me the BAPI for the create/change purchase info record(ME11/ME12).
    Earliest can be appriciable.
    Regards
    Anil

    Hi,
         I did not get any bapi related to create/change purchase info. But i can give u list of purchase info . if u got revert back to me
    Reward if it is usefull..
    Bye.
    BAPI_INFORECORD_GETLIST

  • BAPI for create/change Routing

    Hi ,
         Are there any BAPI's for creating/ changing routings.
    Regards,
    Divyanshu

    hi,
    <b>BAPI_ROUTING_CREATE</b>"used for creation.
    Regards
    vijay

  • BAPI for Price Change using Transaction VK12

    Hi All..
    Can any one help in locating a BAPI for making price changes using transaction VK12.
    Rgds

    try RV_CONDITION_MAINTENANCE

  • BAPI for budget change and update

    Hi,
    I am looking for a BAPI which can update the SUPLLEMENT field(budget change) for transaction CJ37.
    The importing parameters are the following : Project Definition, WBS element, period and supllement value.
    The BAPI  BAPI_EXPENDITUREPROGTREE_CHVAL  doesnt have the importing parameter (definition, WBS element).
    Please help.

    Hi,
    There is no BAPI for FM9K.
    Regards
    Abhii...

  • Bapi for fb02 change

    hi,
    i have posted(adjusted) a account document with a reference number (belnr1) and using bapi  bapi_acc_document_post.now this bapi creates a document (belnr2).now my requirment is using FB02 change the document belnr1,pass the belnr2 in the document header text(the text will be 'adjusted document: belnr2').is there nay any bapi/functional module to just open the document(fb02) and pass header text only.
    Thanks,
    challa.

    Hi
    There is no need for a BAPI.
    First manually enter some text and save.
    double click or go to change mode
    takes you some Text editor
    from menu GOTO-> HEADER
    it will display the 4 parameters OBJECT,ID,OBJECTNAME and LANGUAGE
    notedown the OBJECT and OBJECTNAME and ID
    they are constants OBJECTNAME is nothign but the Document Number (BELNR)
    Now write a small program using CREATE_TEXT and pass these 4 parameters and upload the long texts
    it will create the long texts
    see the sample material long texts code.
    REPORT zmm_longtext
           NO STANDARD PAGE HEADING
           LINE-SIZE 255.
    Internal Table for Upload of Long Texts Data
    DATA: BEGIN OF itab1 OCCURS 0,
            matnr    LIKE mara-matnr,    " Material
            text     LIKE tline-tdline,  " Long Text
          END OF itab1.
    Internal Table for Upload of Long Texts Data
    DATA: BEGIN OF itab OCCURS 0,
            matnr LIKE mara-matnr,    " Material
            text  LIKE tline-tdline,  " Long Text
          END OF itab.
    To create Long Text lines for CREATE_TEXT function module
    DATA:BEGIN OF dt_lines OCCURS 0.
            INCLUDE STRUCTURE tline.   " Long Text
    DATA:END OF dt_lines.
    Variable declarations for CREATE_TEXT function module
    DATA : dl_name TYPE thead-tdname,   " Object Name
           dl_lan TYPE thead-tdspras,   " Language
           gv_matnr TYPE matnr.
    Constants
    CONSTANTS:
    Object ID for Long Text of Material Basic Data 1
      c_best     TYPE thead-tdid VALUE 'GRUN',
      c_material TYPE thead-tdobject VALUE 'MATERIAL'. " Object
    Parameters
    PARAMETERS p_file LIKE rlgrap-filename.
    At selection-screen on Value Request for file Name
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    Get the F4 Values for the File
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          program_name  = syst-cprog
          dynpro_number = syst-dynnr
        IMPORTING
          file_name     = p_file.
    Start Of Selection
    START-OF-SELECTION.
    *To Upload Flat file
      CALL FUNCTION 'UPLOAD'
        EXPORTING
          filename                = p_file
          filetype                = 'DAT'
        TABLES
          data_tab                = itab1
        EXCEPTIONS
          conversion_error        = 1
          invalid_table_width     = 2
          invalid_type            = 3
          no_batch                = 4
          unknown_error           = 5
          gui_refuse_filetransfer = 6
          OTHERS                  = 7.
      SORT itab1 BY matnr.
      LOOP AT itab1.
        CLEAR gv_matnr.
        SELECT SINGLE matnr INTO gv_matnr
           FROM mara WHERE bismt = itab1-matnr.
        IF itab1-text NE ' '.
          itab-matnr = gv_matnr.
          itab-text  = itab1-text.
          APPEND itab.
        ENDIF.
        CLEAR itab.
      ENDLOOP.
      DELETE itab WHERE matnr EQ ' '.
    Upload the Texts
      SORT itab BY matnr.
      LOOP AT itab.
        dt_lines-tdformat = 'ST'.
        dt_lines-tdline = itab-text.
        APPEND dt_lines.
        dl_lan = sy-langu.
        dl_name = itab-matnr.
    Call the Function Module to Create Text
        CALL FUNCTION 'CREATE_TEXT'
          EXPORTING
            fid         = c_best
            flanguage   = dl_lan
            fname       = dl_name
            fobject     = c_material
            save_direct = 'X'
            fformat     = '*'
          TABLES
            flines      = dt_lines
          EXCEPTIONS
            no_init     = 1
            no_save     = 2
            OTHERS      = 3.
        IF sy-subrc <> 0.
          WRITE:/ 'Long Text Creation failed for Material'(001),
                 itab-matnr.
        ELSE.
          WRITE:/ 'Long Text Created Successfully for Material'(002),
                 itab-matnr.
        ENDIF.
        AT END OF matnr.
          REFRESH dt_lines.
        ENDAT.
      ENDLOOP.
    Regards
    Anji

  • BAPI for operation change in production order?

    Hi there,
    I want to change operation data in a production order and I can only find this BAPI:
    BAPI_ALM_ORDER_MAINTAIN
    Can this BAPI also be used for changing an production order? Because in the documentation of the BAPI this function isn't really mentioned...
    Can you give me some hints or the name of another BAPI doing this task?
    Kind regards
    Max

    yep it can be used for that, the documentation for this bapi is ( very unusual for bapis I know ) available
    call the bapi in se37. goto -> documentation
    I don't have an example for changing orders and operations but I use it to copy serviceorders (only difference between serviceorder and production order is that you can enter a customer at serviceorders)
    which are quite extensive with lot of operations and components and functional locations
    here my example for creation. for change I believe you also have to fill the UP structures accordingly to what you want to update
    kind regards
    arthur
    gs_meth-refnumber  = 1.
      gs_meth-objecttype = 'HEADER'.
      gs_meth-method     = 'CREATE'.
      gs_meth-objectkey  = c_init_ordid .
      append gs_meth to gt_meth.
      move-corresponding gs_meth to gs_ext.
      gs_meth-refnumber  = 1 .
      gs_meth-objecttype = 'PARTNER'.
      gs_meth-method     = 'CREATE'.
      gs_meth-objectkey  = c_init_ordid.
      append gs_meth to gt_meth.
      h_refnumber = 1.
      loop at gt_operations_i into gs_operations_i.
        concatenate c_init_ordid gs_operations_i-activity into gv_so_operation.
        gs_meth-refnumber  = h_refnumber.
        gs_meth-objecttype = 'OPERATION'.
        gs_meth-method     = 'CREATE'.
        gs_meth-objectkey  = gv_so_operation.
        append gs_meth to gt_meth.
        add 1 to h_refnumber.
      endloop.
      clear h_refnumber.
      loop at gt_components_i into gs_components_i.
        add 1 to h_refnumber.
        gs_meth-refnumber  = h_refnumber.
        gs_meth-objecttype = 'COMPONENT'.
        gs_meth-method     = 'CREATE'.
        concatenate c_init_ordid
                    gs_components_i-activity
                    gs_components_i-item_number
        into gs_meth-objectkey.
        append gs_meth to gt_meth.
      endloop.
      clear h_refnumber.
      loop at gt_texts into gs_texts.
        add 1 to h_refnumber.
        concatenate c_init_ordid gs_texts-activity into gv_so_operation.
        gs_meth-refnumber  = h_refnumber.
        gs_meth-objecttype = 'TEXT'.
        gs_meth-method     = 'CREATE'.
        gs_meth-objectkey  = gv_so_operation.
        append gs_meth to gt_meth.
      endloop.
    * gebruikte objecten cq functieplaatsen
      clear h_refnumber.
      loop at gt_objectlist_i into gs_objectlist_i.
        add 1 to h_refnumber.
        gs_meth-refnumber  = h_refnumber.
        gs_meth-objecttype = 'OBJECTLIST'.
        gs_meth-method     = 'CREATE'.
        gs_meth-objectkey  = c_init_ordid.
        append gs_meth to gt_meth.
      endloop.
      clear h_refnumber.
    if p_objrel = 'X' and gt_relation_i is not initial.
    * koppeling functieplaats met operatie
    * kunnen geen meervoudige koppelingen gemaakt worden in BAPI
    * dus hier 1 koppeling maken en na BAPI de rest aanleggen
      read table gt_relation_i into gs_relation_i index 1.
      add 1 to h_refnumber.
      gs_meth-refnumber  = h_refnumber.
      gs_meth-objecttype = 'OLISTRELATION'.
      gs_meth-method     = 'CREATE'.
      gs_meth-objectkey  = c_init_ordid.
      append gs_meth to gt_meth.
    endif.
      gs_meth-refnumber  = c_init_ordid.
      gs_meth-objecttype = space.
      gs_meth-method     = 'SAVE'.
      gs_meth-objectkey  = c_init_ordid.
      append gs_meth to gt_meth.
    * BAPI-call
      refresh: gt_ret, gt_numbers.
      clear:   gt_ret, gt_numbers.
      call function 'BAPI_ALM_ORDER_MAINTAIN'
        destination 'NONE'                       " --> Zie note 770626 !
        tables
          it_methods             = gt_meth
          it_header              = gt_header_i
    *       IT_HEADER_UP           =
    *       IT_HEADER_SRV          =
    *       IT_HEADER_SRV_UP       =
    *       IT_USERSTATUS          =
          it_partner             = gt_partner_i
    *       IT_PARTNER_UP          =
          it_operation           = gt_operations_i
    *       IT_OPERATION_UP        =
    *       IT_RELATION            =
    *       IT_RELATION_UP         =
          it_component           = gt_components_i
    *       IT_COMPONENT_UP        =
          it_objectlist           = gt_objectlist_i
          it_olist_relation       = gt_relation_i
          it_text                = gt_texts
          it_text_lines          = gt_text_lines
          extension_in           = gt_ext
          return                 = gt_ret
          et_numbers             = gt_numbers.
      call function 'BAPI_TRANSACTION_COMMIT'
        destination 'NONE'
        exporting
          wait          = 'X'
    *         IMPORTING
    *           RETURN        =
    *   Zie note 770626 ...
      call function 'RFC_CONNECTION_CLOSE'
        exporting
          destination                = 'NONE'
    *       TASKNAME                   =
        exceptions
          destination_not_open       = 1
          others                     = 2
    Edited by: A. de Smidt on Feb 26, 2009 5:20 PM

Maybe you are looking for

  • Unable to update iPhone 4, iOS 4.2.1, iTunes 10.1 (54), Mac OS 10.6.5

    iTunes notifies me that iOS 4.2 update is available for my iPhone 4. I'm on my MacBook Pro, with iPhone 4, iOS 4.1 (8B117), iTunes 10.1 (54), Mac OS 10.6.5. I select either 'download' or 'download and update' and get the following error message: *The

  • [SOLVED] bash help: rsync only if device mounted

    Hi, First bash-script here - the tldp.org-guide has gotten me somewhere already, but the final condition 'if rsync...' seems to fail and I don't know why. The script checks if the location to backup the files to is a mountpoint. If not, the script sh

  • Real time audio streaming

    Hi, I need to develop a j2me softphone, is there someone who can tell me how to do audio streaming ? I already read jsr135 but nothing important. I would appreciate any help.

  • Track external messages in XI and SAP

    Hi XI guys. I have following question: external system wants to get application acknowledgements from SAP and XI that particular document has been posted successfully in SAP. It is going to assign Unique number to every XML message and wants response

  • Firefox shows much larger images than in Internet Explorer

    When I open a site like (BankofAmerica) in Internet Explorer the The site opens in the size I am use too!. If I do the same in FireFox site shows too large to work with it. I have had the problem for several months. So I have had to switch to Interne