BAPI's for COPAWA & COWBHUWA transactions

Hi,
Are ther any valid BAPI's available for transactions: COPAWA & COWBHUWA
1. COPAWA: Pack Components to Process Order
2. COWBHUWA: GI HU for Production Order
Can anybody provide the BAPI's for these transactions!
Thanks in advance.
Thanks,
Deep.

Hi Deep
Try COHU_ASSIGN_HU and BAPI_HU_PI_CREATE.
Pushpraj

Similar Messages

  • BAPI needed  for  change material(Transaction : MM02)

    Hi all,
    We have a requirement where in we need to post the documents throuh BAPI for change material (Transaction: MM02).
    Any inputs on this..is highly appreciable...
    thanks in advance...
    regards..
    prathima.

    CHECK THIS CODE
    *& Report  ZBAPI_MATERIAL_SAVEDATA
    REPORT  ZBAPI_MATERIAL_SAVEDATA NO STANDARD PAGE HEADING MESSAGE-ID (ZHNC).
    TYPES:BEGIN OF TY_MAT,
           MATERIAL(4),
           IND_SECTOR(1),
           MATL_TYPE(4),
           MATL_GROUP(9),
           BASE_UOM(3),
           BASE_UOM_ISO(3),
           PLANT(4),
           DEL_FLAG(1),
           PUR_GROUP(3),
           BASE_QTY(13),
           STGE_LOC(4),
           MRP_IND(1),
           SALES_ORG(4),
           DISTR_CHAN(2),
           DEL_FLAG1(1),
           MIN_ORDER(13),
           LANGU(2),
          MATL_DESC(40),
       END OF TY_MAT.
    DATA: IT_DATA TYPE TABLE OF TY_MAT,
          WA_DATA LIKE LINE  OF IT_DATA.
    *decalraing flag
    data: v_flag value ''.
    *DECLARING WORK AREAs  TO BE PASSED TO THE FUNCTION MODULE.
    DATA: BAPI_HEAD LIKE BAPIMATHEAD,
          BAPI_CLIENTDATA LIKE BAPI_MARA,
          BAPI_CLIENTDATAX LIKE BAPI_MARAX,
          BAPI_PLANTDATA LIKE BAPI_MARC,
          BAPI_PLANTDATAX LIKE  BAPI_MARCX,
          BAPI_STORAGELOCATIONDATA LIKE BAPI_MARD,
          BAPI_STORAGELOCATIONDATAX LIKE BAPI_MARDX,
          BAPI_SALESDATA LIKE BAPI_MVKE,
          BAPI_SALESDATAX LIKE BAPI_MVKEX,
          BAPI_MAKT LIKE BAPI_MAKT,
          BAPI_RETURN LIKE BAPIRET2.
    *INTERNAL TABLE TO HOLD THE MATERIAL DESCRIPTION
    DATA: BEGIN OF IT_MAKT OCCURS 0.
    INCLUDE STRUCTURE BAPI_MAKT.
    DATA END OF IT_MAKT.
    DATA:BEGIN OF IT_RET OCCURS 0.
    INCLUDE STRUCTURE BAPIRET2.
    DATA END OF IT_RET.
    *INTERNAL TABLE TO HOLD HEADER DATA
    DATA: IT_EXCEL TYPE ALSMEX_TABLINE OCCURS 0 WITH HEADER LINE.
    *SELECTION-SCREEN ELEMENTS
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETER: FNAME TYPE RLGRAP-FILENAME OBLIGATORY DEFAULT 'C:\Documents and Settings\Administrator\Desktop\MATMAS.XLS' .
    PARAMETERS: P_BEGCOL TYPE I DEFAULT 1 NO-DISPLAY,
                P_BEGROW TYPE I DEFAULT 1 NO-DISPLAY,
                P_ENDCOL TYPE I DEFAULT 100 NO-DISPLAY,
                P_ENDROW TYPE I DEFAULT 32000 NO-DISPLAY.
    SELECTION-SCREEN END OF BLOCK B1.
    *DECLARATION OF EXCELAL TABLE
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR FNAME.
    PERFORM F_GET_FILE USING FNAME.
    START-OF-SELECTION.
    PERFORM F_XLS_ITAB USING FNAME
                       CHANGING IT_EXCEL.
    PERFORM F_MOVE_DATA.
    perform F_GET_DATA.
    *&      Form  F_GET_FILE
          text
         -->P_FNAME  text
         <--P_SY_SUBRC  text
    FORM F_GET_FILE  USING    P_FNAME LIKE FNAME.
    CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
    EXPORTING
       PROGRAM_NAME        = SYST-REPID
       DYNPRO_NUMBER       = SYST-DYNNR
      FIELD_NAME          = ' '
      STATIC              = ' '
      MASK                = ' '
      CHANGING
        FILE_NAME           = P_FNAME
    EXCEPTIONS
      MASK_TOO_LONG       = 1
      OTHERS              = 2
    IF SY-SUBRC <> 0.
    MESSAGE E006(ZHNC).
    ENDIF.
    ENDFORM.                    " F_GET_FILE
    *&      Form  F_XLS_ITAB
          text
         -->P_FNAME  text
         <--P_IT_EXCEL  text
    FORM F_XLS_ITAB  USING    P_FNAME
                     CHANGING P_IT_EXCEL.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
      EXPORTING
        FILENAME                      = FNAME
        I_BEGIN_COL                   = P_BEGCOL
        I_BEGIN_ROW                   = P_BEGROW
        I_END_COL                     = P_ENDCOL
        I_END_ROW                     = P_ENDROW
      TABLES
        INTERN                        = IT_EXCEL
    EXCEPTIONS
       INCONSISTENT_PARAMETERS       = 1
       UPLOAD_OLE                    = 2
       OTHERS                        = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    " F_XLS_ITAB
    *&      Form  F_MOVE_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM F_MOVE_DATA .
    DATA : LV_INDEX TYPE I.
    FIELD-SYMBOLS <FS>.
    *--- Sorting the internal table
    SORT IT_EXCEL BY ROW COL.
    CLEAR IT_EXCEL.
    LOOP AT IT_EXCEL.
    MOVE IT_EXCEL-COL TO LV_INDEX.
    *--- Assigning the each record to an internal table row
    ASSIGN COMPONENT LV_INDEX OF STRUCTURE WA_DATA TO <FS>.
    *--- Asigning the field value to a field symbol
    MOVE IT_EXCEL-VALUE TO <FS>.
    AT END OF ROW.
    APPEND WA_DATA TO IT_DATA.
    CLEAR WA_DATA.
    ENDAT.
    ENDLOOP.
    ENDFORM.                    " F_MOVE_DATA
    *&      Form  F_GET_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM F_GET_DATA .
    LOOP AT IT_DATA INTO WA_DATA.
    MOVE-CORRESPONDING WA_DATA  TO  BAPI_HEAD.
    BAPI_HEAD-BASIC_VIEW ='X'.
    BAPI_HEAD-SALES_VIEW ='X'.
    BAPI_HEAD-PURCHASE_VIEW ='X'.
    BAPI_HEAD-STORAGE_VIEW ='X'.
    MOVE-CORRESPONDING WA_DATA TO BAPI_CLIENTDATA.
    BAPI_CLIENTDATAX-MATL_GROUP = 'X'.
    BAPI_CLIENTDATAX-BASE_UOM = 'X'.
    BAPI_CLIENTDATAX-BASE_UOM_ISO = 'X'.
    MOVE-CORRESPONDING WA_DATA TO BAPI_PLANTDATA.
    BAPI_PLANTDATAX-PLANT = BAPI_PLANTDATA-PLANT.
    BAPI_PLANTDATAX-DEL_FLAG = 'X'.
    BAPI_PLANTDATAX-PUR_GROUP = 'X'.
    BAPI_PLANTDATAX-BASE_QTY = 'X'.
    MOVE-CORRESPONDING WA_DATA TO BAPI_STORAGELOCATIONDATA.
    BAPI_STORAGELOCATIONDATA-PLANT = BAPI_PLANTDATA-PLANT.
    BAPI_STORAGELOCATIONDATAX-PLANT = BAPI_STORAGELOCATIONDATA-PLANT.
    BAPI_STORAGELOCATIONDATAX-STGE_LOC = BAPI_STORAGELOCATIONDATA-STGE_LOC.
    BAPI_STORAGELOCATIONDATAX-MRP_IND = 'X'.
    MOVE-CORRESPONDING WA_DATA TO BAPI_SALESDATA.
    BAPI_SALESDATAX-SALES_ORG = BAPI_SALESDATA-SALES_ORG.
    BAPI_SALESDATAX-DISTR_CHAN = BAPI_SALESDATA-DISTR_CHAN.
    BAPI_SALESDATAX-DEL_FLAG = BAPI_SALESDATA-DEL_FLAG.
    BAPI_SALESDATAX-MIN_ORDER = 'X'.
    REFRESH IT_MAKT.
    IT_MAKT-LANGU = WA_DATA-LANGU.
    IT_MAKT-MATL_DESC = WA_DATA-MATL_DESC.
    APPEND IT_MAKT.
    CLEAR IT_RET.
    REFRESH IT_RET.
    PERFORM F_CALL_BAPI.
    READ TABLE IT_RET WITH KEY TYPE = 'S'.
    IF SY-SUBRC EQ 0.
    PERFORM F_BAPI_COMMIT.
    WRITE:/ 'MATERIAL CREATED OR UPDATED SUCESSFULLY WITH MATERIAL NO',WA_DATA-MATERIAL.
    ELSE.
    MESSAGE E000(ZHNC) WITH 'ERROR IN CREATING THE MATERIAL'.
    *WRITE: / 'ERROR IN CREATIN MATERIAL',IT_RET-MESSAGE.
    *PERFORM F_DOWNLOAD.
    ENDIF.
    *ENDIF.
    ENDLOOP.
    ENDFORM.                    " F_GET_DATA
    *&      Form  F_CALL_BAPI
          text
    -->  p1        text
    <--  p2        text
    FORM F_CALL_BAPI .
    CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
      EXPORTING
        HEADDATA                   = BAPI_HEAD
       CLIENTDATA                 =  BAPI_CLIENTDATA
       CLIENTDATAX                =  BAPI_CLIENTDATAX
       PLANTDATA                  =  BAPI_PLANTDATA
       PLANTDATAX                 =  BAPI_PLANTDATAX
       STORAGELOCATIONDATA        =  BAPI_STORAGELOCATIONDATA
       STORAGELOCATIONDATAX       =  BAPI_STORAGELOCATIONDATAX
       SALESDATA                  =  BAPI_SALESDATA
       SALESDATAX                 =  BAPI_SALESDATAX
    IMPORTING
       RETURN                     =  IT_RET
    TABLES
       MATERIALDESCRIPTION        = IT_MAKT
      UNITSOFMEASURE             =
      UNITSOFMEASUREX            =
      INTERNATIONALARTNOS        =
      MATERIALLONGTEXT           =
      TAXCLASSIFICATIONS         =
      RETURNMESSAGES             =
      PRTDATA                    =
      PRTDATAX                   =
      EXTENSIONIN                =
      EXTENSIONINX               =
    APPEND IT_RET.
    ENDFORM.                    " F_CALL_BAPI
    *&      Form  F_BAPI_COMMIT
          text
    -->  p1        text
    <--  p2        text
    FORM F_BAPI_COMMIT .
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
      WAIT         =
    IMPORTING
      RETURN        =
    ENDFORM.                    " F_BAPI_COMMIT

  • Bapi's for Material management transactions

    Hi Experts,
    Can any one tell me the Bapi's & BADI's used for the MM Transactions
    Edited by: pratap jagadam on Jun 25, 2008 11:51 AM

    Hi
    The list of BAPI's you can get in transaction BAPI, under material managemnt page you can get the list
    BADi's you can get i transaction SE18, Clcik F4, From the onfotrmation system , enter the Applicastion names
    MM
    MM-CBP                         Consumption-Based Planning (See Also PP-M
    MM-PUR                         Purchasing
    MM-SRV                         External Services
    MM-IM                          Inventory Management
    MM-IV                          Invoice Verification
    MM-EDI                         Electronic Data Interchange
    Thanks & Regards
    Kishore

  • BAPI/FM for WA01, WA02 and WA07

    Hi,
    Would anyone know if there's any existing bapi/fm for the ff. transactions in 4.6C?
    a. WA01 - creation of allocation table
    b. WA02 - creation of follow on documents (vendor PO)
    c. WA07 - generation of follow on documents from allocation table (warehouse orders)
    Any help would be greatly appreciated (and awarded ). Thanks!

    Hi,
    The said modules do not behave like a BAPI. What I needed was a single module for each that will be able to mimic the tcodes' behaviors.
    i.e. For WA01, WAUF_ALLOCATION_TABLE_CREATE does not entirely accomplish the job. It requires calling other FMs such as WALL_NUMBER_GET_NEXT to generate the allocation table number.
    Any inputs? Thanks.

  • BAPI for f-04 transaction

    Hi all,
           I am using a bapi ( BAPI_ACC_DOCUMENT_POST ) for transaction f-04, posting and clear. But here only posting is happening, i.e after the execution only the table BSIS (Accounting: Secondary Index for G/L Accounts) is getting updated and clearing is not happening i.e the table BSEG (Accounting: Secondary Index for G/L Accounts (Cleared Items) ) is not getting updated.
          Is there is any other BAPI that I can use for my requirement or I should go with BDC.
    Thanks
    S. Sudagar

    Funny - a similar question was posed earlier:
    BAPI_ACC_Document_Post
    My suggestion there was to look at the POSTING_INTERFACE_CLEARING function and the documentation around it - if suitable, you may need to write a bit of a "wrapper" function around it so you can have it RFC enabled (if that's what you need).
    Jonathan

  • How we can find BAPI's for a transactions?

    hi
    how we can find BAPI's for a transactions?
    thanks in advance

    hi,
    use this function module SXV_GET_CLIF_BY_NAME
    function sxv_get_clif_by_name .
    ""Lokale Schnittstelle:
    *" IMPORTING
    *" VALUE(NAME)
    *" VALUE(PREFIX) TYPE SEEX_CLIF_PREFIX
    *" EXPORTING
    *" VALUE(CLIF) TYPE SEOCLSNAME
    call function 'SXV_ADD_PREFIX'
    exporting
    name = name
    prefix = prefix
    importing
    new_name = clif.
    endfunction.
    debug the function module you will get name of bapi  , badi  used for transaction  which ever operation you perform
    it will call this function module and will give you name 
    regards
    Deepak.

  • BAPI/FM for Split Postings in the Cash Journal (Transaction FBCJ)

    Hello Genious,
    Please help me.I need a BAPI/FM for Split Postings in the Cash Journal(Transaction FBCJ).The FM(FBCJ_POST and FBCJ_POST_ALL) which is used on this transaction is not released so i can not use that FM.
    Can anyone please help me?
    Please help me.
    Thanks & Regards,
    Marie Fe

    Re: FBCJ posting problem with coding
    or you can try this BAPI_CASHJOURNALDOC_CREATE
    Hope this helps..
    Edited by: Gaurang Kotecha on Oct 29, 2009 2:48 PM

  • BAPI or RFC for replicate the transaction LX03

    Hi experts,
    anyone know any BAPI or RFC for replicate the transaction LX03?
    Thanks

    There are no alternate transaction for OBY6

  • BAPI BAPI_GOODSMVT_CREATE for Transaction MB01

    Hi All,
    I am using BAPI BAPI_GOODSMVT_CREATE for transaction MB01.
    I have one problem while passing the value in BAPI.
    Goods receipts for Schedule Agreements are not allow for delivery schedule lines with delivery date in the future.
    Manual turn around for transaction MB01 is to check field "Suggest Zero Lines" from main selection screen:
    I am not able to get the field name in BAPI for filling the value for check field "Suggest Zero Lines".
    Kindly help me to find out the field name.
    Thanks in advance.
    Piyush Mathur

    data flag(1) value 'X'.
    set parameter ID 'NUL' field flag.
    u can set the parameter 'Suggest zero lines' as 'X' by default and then call ur bapi..see if tht field is X now or not?
    otherwise it can be possible tht u r not using the correct BAPI
    amit

  • How can i identifiy the BAPI Name for particular transaction.?

    Hi friends ,
    In  data upload by BAPI How can i identifiy the BAPI Name for particular transaction.?
    For example ME21 How can i identifiy the BAPI Name?
    arun

    hi,
    check the link:
    ME21 tcode for Purchase Order creation so u can make use of BAPI f4 help i.e. ex-BAPIpo
    for list of all bapis
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    BAPI-step by step
    http://www.sapgenie.com/abap/bapi/example.htm

  • Provide the BAPI names for Transactions- IW52 and IW32

    Hi Friends,
    Please provide me with the BAPI Names for the transaction codes: (1) To create the Serivce Order through IW52(by entering the service notification number and (2)  To change the Service order through IW32.
    Thanks a lot in advance.
    Venkat,

    Hi Raghu,
    May I Know if this BAPI is to create the Service order from IW52(through Service notification) or from IW34? Becoz I need the one from IW52 only.
    Thank you very much.
    Regards.
    Venkat

  • BAPI needed for VL32 (Post goods receipt) and VT02 shipment transaction

    Hi,
    We are currently updating quantities and Performing a Post Goods Receipt against all associated inbound deliveries using BDC (VL32).
    Also, updating the completion date of associated shipments by BDC (VT02).
    As part of upgrade intiative ECC 6.0, we are trying to avoid BDC and looking for suitable BAPI's for the above tasks.
    Please help us in this regard,
    Thanks,
    Madhan.

    Hi,
    Please look following BAPI in Tcode BAPI.
    For Transport
    go tp Tcode BAPI --- > Logistic Exection ---> Transportaion .
    For Billing.
    go tp Tcode BAPI --- > Logistic Exection -> Shopping- >Inbound Delivery
    You find many more BAPI in this Transaction.
    BAPI for PGi is BAPI_GOODSMVT_CREATE.
    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
    Thanks & Regards.
    ShreeMohan
    Edited by: ShreeMohan Pugalia on Jul 17, 2009 8:18 AM

  • Bapi fm for the transaction FS10n

    Hi friends,
    Can any ine tell the bapi fm for t code FS10n.
    Thanks ,
    Ankitha

    IS There is any Function Module available Exactly Like FS10N selection Screen as it is Having Business area as well . I want to get G/L Balance with the Business Area as an Input.
    Please help me As soon as Possible .
    Thanks In Advance

  • BAPI's for SU01 Transaction

    i am looking for Bapi's for SU01 transaction

    Hi,
    Take a look at this
    BAPI_USER_ACTGROUPS_ASSIGN
    BAPI_USER_ACTGROUPS_DELETE
    BAPI_USER_CHANGE
    BAPI_USER_CLONE
    BAPI_USER_CREATE
    BAPI_USER_CREATE1
    BAPI_USER_DELETE
    BAPI_USER_DISPLAY
    BAPI_USER_EXISTENCE_CHECK
    BAPI_USER_GETLIST
    BAPI_USER_GET_DETAIL
    BAPI_USER_INTERNET_CREATE
    BAPI_USER_LOCACTGROUPS_ASSIGN
    BAPI_USER_LOCACTGROUPS_DELETE
    BAPI_USER_LOCACTGROUPS_READ
    BAPI_USER_LOCK
    BAPI_USER_LOCPROFILES_ASSIGN
    BAPI_USER_LOCPROFILES_DELETE
    BAPI_USER_LOCPROFILES_READ
    BAPI_USER_PROFILES_ASSIGN
    BAPI_USER_PROFILES_DELETE
    BAPI_USER_UNLOCK
    Regards,
    Ravi
    Note : Please mark the helpful answers

  • FM/BAPI needed for transaction KP06

    Hi folks,
    I need a BAPI/FM for posting using tcode KP06. I am using layout 1-102 Activity Input. I am passing data to cost center, sender cost center and sender activity type group . I need a BAPI to perform its posting which can be seen on the overview screen where we click the 'Line Items' button.
    Please Help.
    Thanks in advance .
    Priyanka Ashtekar

    Didnt  get ur questions..
    be precise..
    Edited by: Manish hadiyel on May 27, 2008 7:47 AM

Maybe you are looking for

  • My HP printer will no longer print in colour

    After upgrading to the latest OS my HP printer will not print in colour for me. I thought at first it was the printer error, but then I realised it still prints in colour for my husband's Dell. I've tried uninstalling and reinstalling the printer; up

  • Help need my mac pro for school..it has Grey screen..spinning wheel...repaid disk ok...repair disk permission all repaired but one warning...

    Help need my mac pro for school..it has Grey screen..spinning wheel... I think I have  mountain lion OS X....I have done I think almost every suggestion I've seen in discussion boards. Boot in recovery repaired disk...ok...repair disk permission...al

  • Is Windows Live Mail 2012 compatible with Windows 8.1 ?

    I'm having ongoing problems with WLM 2012 not responding after I try to attach a file to a new email. As soon as I click 'attach' the program stops responding and I have to close it down. I've used 'Find & Fix Problems' and in 'Programs' it offers di

  • Why is my Time Machine running so slow?

    I am curious why my Time Machine backup is running so slow. I am trying to backup 52.85 GB. I am currently at 17.65 GB and it has taken about 6 hours. The Time Machine "meter" that shows how long it is going to take to finish the backup is telling me

  • Issue using web-service with forms9i

    using web-service with forms9i Hi I have a setup of oracle9ias release 2 on solaris machine. I have made a web-service which is deployed on nt machine on weblogic server. I have made a call from my form (forms9i) to this web-service. When i try to us