BAPI/FM for PRT's

All,
I am trying to find a BAPI or function module that can attach a PRT (DMS Document PRT to be specific) to an existing task list.
Can anyone please provide the correct FM or BAPI?  What Package would FM's for PRT's be stored under?

Hi,
To search BAPI, use transaction BAPI.DMS comes under the cross application component.
DMS package name is CV.
Regards,
Sunny

Similar Messages

  • Need BAPI Name for updation of Subcontracting scheduling line agreement

    Hi All,
            Can anybody please tell me BAPI Name for updation of Subcontracting scheduling line agreement from EKET table?
    Note: BAPI_PO_CHANGE is not useful for me.
    Thanks and Regards,
    Atul.

    Hi Muralidhara,
    Can you please give some more details for this BAPI..
    I tried using it , but getting an error "No instance of object type PurchSchedAgreement has been created. External reference:"
    and "Enter G/L Account" (Infact I did specify G/L account in account assignment table)
    with regards,
    Kirti

  • BAPI BAPI_ACC_GL_POSTING_POST for G/L posting through (for T-Code F-02)

    Hi,
    I want to use BAPI 'BAPI_ACC_GL_POSTING_POST' for G/L account posting (F-02). I need to populate the below fields at item level but i am not sure how to populate these fields at item level because not able to find last two fields in any structure of the BAPI.
    Posting Key:
    Account
    Amount
    Tax Code
    Determine tax base (Checkbox in F-02)
    Please let me know how to populate them and if i am using the wrong BAPI then please provide me the correct one.
    Thanks a lot in adv.
    Regards,
    Sheelesh

    Hi
    You can add fields that you don't have in the interface with EXTENSION. Please, see SAP Note 487722 - Using EXTENSION1 for accounting BAPIs.
    I hope this helps you
    Regards
    Eduardo
    Edited by: E_Hinojosa on Dec 15, 2011 6:21 PM

  • Error in BAPI RETURN for Service Contract

    Hi,
      I get an error in the BAPI Return for the Uploading the Service Contracts by LSMW. The Error Message is E BS No status object is available for &.Also want to know can we upload multiple line of header text for a Contract by this BAPI. If so then how would I do this , as the BAPI structure BAPISDTEXT has textline upto 132 characters. And I am take only one file in LSMW where the header & details come alongwith text. Or could also tell me the file structure of for the data upload. The legacy system sends multiple text in the header for a Contract.For Eg.
    Header1 Detail1 Text1
    HEader1 Detail2 Text2
    Header1 Detail3 Text3
    So I would need this text1TEXT2text3 in the Header Text of the Contracts. Or do I need the change the file structure. Many thanks for your time and help.

    Thanks Nablan, I could do that for multiple header coming in file. But I have a question for you on BAdI ALM_ME_006_GOODSMVT. I have implemented this BAdI , and this BAdI is called by a function Module ALM_MEREP_006_CREATE. When I test this FM giving the Material , Orderid and Movement type entries, this BAdI is triggered when giving a breakpoint. I've given this code for changing the movement type to 961. Cause the stanadrd scenario does not maintain Movement type 961 in Mobile Asset Management. The Movement type 961 for unplanned Materials comes to SAP and changes to 261 as maiantained by TCOKO table. To bypass this & retain the movement type 961 in SAP I'm using this BAdI. Currently this is what I'm doing and am stuck in the method interface how do I call the method.
    method IF_EX_ALM_ME_006_GOODSMVT~CREATE .
    break-point.
    *DATA : i_ce_goodsmovement TYPE REFERENCE
              ALM_ME_CUSTOMER_ENHANCEMENT.
    DATA : lr_badi_goods_movement TYPE REF TO if_ex_alm_me_006_goodsmvt.
    DATA : ls_user_data TYPE ALM_ME_USER_DATA-USERID.
    *DATA : goods_movement TYPE ALM_ME_MATERIAL_MOVEMENT.
    CALL METHOD lr_badi_goods_movement->create
      EXPORTING
           ce_goodsmovement = ce_goodsmovement
      IMPORTING
           user_data        = ls_user_data
           custom_user_data = ls_ce_user_data
           goods_movement   = goods_movement
      changing
           return           = return[].
    CALL FUNCTION 'ALM_ME_COMMIT_OR_ROLLBACK'
           TABLES
                return = return.
    endmethod.
    Please help me to get the data in this method. How do I call this.

  • BAPI error for mvmt types 201 and 202

    Hi all,
      I'm using a bapi BAPI_GOODSMVT_CREATE for the movement type 201 and 202 with the gm_code = '03' for the transaction mb11- Goods movement. But it returns an error u201D Account 400000 requires an assignment to a CO object u201D...I'm unable to resolve this one....I have attached the code below. Please help me in fixing this issue...
    if sy-subrc = 0.
      loop at it_mchb into wa_mchb.
        if wa_mchb-clabs gt 0.
          clear wa_header.
          wa_header-pstng_date = sy-datum.          " fill header data
          wa_header-doc_date   = sy-datum.
          wa_code-gm_code      = '03'.              "fill code data
          clear wa_item.
          wa_item-material     = wa_mchb-matnr.     " fillitem data
          wa_item-plant        = wa_mchb-werks.
          wa_item-stge_loc     = wa_mchb-lgort.
          wa_item-batch        = wa_mchb-charg.
          wa_item-entry_qnt    = wa_mchb-clabs.
          wa_item-move_type    = '201'.
                       wa_item-entry_uom    = wa_mchb-meins.
          append wa_item to it_item.
        elseif wa_mchb-clabs lt 0.
          clear wa_header.
          wa_header-pstng_date = sy-datum.          " fill header data
          wa_header-doc_date   = sy-datum.
          wa_code-gm_code      = '03'.              "fill code data
          clear wa_item.
          wa_item-material     = wa_mchb-matnr.     " fillitem data
          wa_item-plant        = wa_mchb-werks.
          wa_item-stge_loc     = wa_mchb-lgort.
          wa_item-batch        = wa_mchb-charg.
          wa_item-entry_qnt    = wa_mchb-clabs.
          wa_item-move_type    = '202'.
                       wa_item-entry_uom    = wa_mchb-meins.
          append wa_item to it_item.
        endif.
      endloop.
      clear lv_lin.
      describe table it_item lines lv_lin.
      if lv_lin = 0.
        write : / 'No records found'.
      endif.
      call function 'BAPI_GOODSMVT_CREATE'
        exporting
          goodsmvt_header  = wa_header
          goodsmvt_code    = wa_code
        importing
          materialdocument = lv_matdoc
        tables
          goodsmvt_item    = it_item
          return           = it_return.
      if it_return is initial.        " if record created successfully
        call function 'BAPI_TRANSACTION_COMMIT'. " commit work
        write : / lv_matdoc, 'IS CREATED SUCCESSFULLY' color 5.
        loop at it_item into wa_item.
          write : / 'Mat :', wa_item-material,'bat :', wa_item-batch.
        endloop.
      else.                           " if record is not created successfylly
        loop at it_return into wa_return.
          write : / wa_return-message color 6.
        endloop.
        uline.
      endif.
    else.
      write : / 'No Records found' color 7.
    endif. " gt_s035 is not initial
    Edited by: Arunmozhi_06 on May 30, 2011 12:48 PM

    Hi,
       Did you passing the leading 0's in the cost center field?
    and check the below coding..
    * Structures for BAPI
      data: gm_header  type bapi2017_gm_head_01.
      data: gm_code    type bapi2017_gm_code.
      data: gm_headret type bapi2017_gm_head_ret.
      data: gm_item    type table of
                       bapi2017_gm_item_create with header line.
      data: gm_return  type bapiret2 occurs 0.
      data: gm_retmtd  type bapi2017_gm_head_ret-mat_doc.
      clear: gm_return, gm_retmtd. refresh gm_return.
      perform show_status using 'Scrapping(551) Material'.
    * Setup BAPI header data.
      gm_header-pstng_date = sy-datum.
      gm_header-doc_date   = sy-datum.
      gm_code-gm_code      = '06'.                              " MB11
    * Write 551 movement to table
      clear gm_item.
      move '551'        to gm_item-move_type     .
      move xresb-matnr  to gm_item-material.
      move p_bdmng      to gm_item-entry_qnt.
      move xresb-meins  to gm_item-entry_uom.
      move xresb-werks  to gm_item-plant.
      move xresb-lgort  to gm_item-stge_loc.
      move p_grund      to gm_item-move_reas.
    * Determine cost center per plant
      case xresb-werks.
        when '0004'.
          move '0000041430' to gm_item-costcenter."pass leading zero's in the cost center field
        when '0006'.
          move '0000041630' to gm_item-costcenter.
        when '0007'.
          move '0000041731' to gm_item-costcenter.
        when '0008'.
          move '0000041830' to gm_item-costcenter.
      endcase.
      append gm_item.
    * Call goods movement BAPI
      call function 'BAPI_GOODSMVT_CREATE'
           EXPORTING
                goodsmvt_header  = gm_header
                goodsmvt_code    = gm_code
           IMPORTING
                goodsmvt_headret = gm_headret
                materialdocument = gm_retmtd
           TABLES
                goodsmvt_item    = gm_item
                return           = gm_return.
    Maybe there is some config missing for your cost center, or maybe something missing in your code. check above.
    Regards,
    Dhina,..
    Edited by: Dhina DMD on May 31, 2011 8:02 AM

  • BAPI/RFC for Service Complaints Creation in CRM 5.0

    Hi,
    We are working on the Complaints and Returns module in CRM 5.0. We have found the Transaction Code for the same. (CRMD_BUS2000120).
    Not able to find the BAPI/RFC for the same.Let us know if any. Appreciate your comments on the same.
    Thanks,
    Moorthy

    Hi,
    Thanks for the response
    I am not talking about Service Order. I have requirement to create a Service Complaint. For that the transaction is CRMD_BUS2000120. Now I need to find the function modules/RFC available for this requirement.
    Hope it clarifies .
    Even I have found function module called -CRM_COMPLAINT_API_CREATE but not sure right one
    Thanks,
    Moorthy

  • Bapi's for creating Maintenance order in IW31 with notification

    Hi All,
       Is there any bapi's for creating Maintenance order with Notification number in the transaction iw31.
      Also is there any bapi's for creating measurement document.
    Points will be awarded.
    Regards,
    vinoth

    RFC MeasDocument: Individual Processing, Create
    MEASUREM_DOCUM_RFC_SINGLE_001
    RFC MeasDocument: Individual Processing, Change/Display or Read
    MEASUREM_DOCUM_RFC_SINGLE_002

  • How to add new line item using BAPI BAPI_CONTRACT_CHANGE for contract-ME32K

    HI Experts,
    how to add new line item using BAPI: BAPI_CONTRACT_CHANGE for existing contract.
    Requirement:
    Already the contract having two line items using ME31K.
    Custom program has to add new line items in existing contract.
    Thanks,
    Sendil

    I got the solution:
    We can do like this:
    1. Get all details using details, BAPI_CONTRACT_GETDETAIL.
    2. After getting results, append new line item. Then use your BAPI.
    Check this posting program.. where this bapi is used, use the same coding technique.
    IDOC_INPUT_PURCONTRACT_CHANGE

  • DMS Object link for PRT Couldnot Display in CV02N

    Hi PLM DMS Gurus ,
    I have been investigating adding an object link for PRT which is CRVS_B screen 214. I have added this to the one document type. However, when I attempt to see the object link from the CV02N transaction, it does not appear to recognize the PRT assignment from the IA06 Change General Task List PRT Overview screen. Do any one have any idea of why this may be behaving in this way? Any feedback you can provide will be appreciated.
    When I add the Documents through transaction CF02/01 then it is showing in the CV02N transaction Object link , But if I attach the same Document# through IA06 then it is not showing it.
    steps to attach the document .
    1. Go to IA06 select a group
    2. Double click the task list and create an Operation
    3. Choose the Operation and click into the PRT button in the bottom of the screen.
    4 . Here you can find an option to attach your Document .
    5. Once you attach note down the document number and goto CV02N and see the object Link . You will not find that .
    I am doubted whether I am using the right screen number or not (CRVS_B screen 214) . Do we have any other way or anyother program & screen to show the Object link to the PRT created through IA06 .
    How do we find the program and screen which is not listed in the developement class CV ?.
    Any Inputs are highly appreciable and rewardable.
    Thanks & regards,
    Ramesh babu .P

    What you do in IA06 is using a document as an PRT. This is not the same as a objectlink between a PRT and a document. Thats why you dont see the use of the document in a tasklist in CV02n.
    Regards,
    Robert

  • BAPI functions for file upload

    Hi All,
    can anyone  tell me Bapi functions for the file or image upload using?
    With best regards,
    Suneetha

    Hi,
    Uploading LOGO in SAP
    http://www.sap-img.com/ts001.htm
    Upload graphics on
    The program RSTXLDMC can be used to upload graphics (file extension .tif on PC files) into individual standard text.
    <b>ws_upload</b>
    Transfer files from the frontend to the application server.
    Rgds,
    Prakash

  • Bapi Names For Following Fields?

    Hi All,
    I Want BAPI names For Following Fields.
    1.Personnel Area.
    2.Personnel SubArea.
    3.PERNER
    4.OBJID.
    5.LAND1
    6.REGIO
    Thanks
    SubbaRao Chinta

    Hi Subbu,
    its very difficult to find out the BAPI useing the fileds .
    At least you should know the Technical name of your BAPI when you are developing the application.
    If you dont know the BAPI name then how can you map it to ur VC user and get the Data.
    I think u got my point
    Regards,
    Govindu

  • GETLIST BAPI Wrapper for Purchase Requisiton

    HI All,
    I want to know the GETLIST BAPI Wrapper for Purchase Requisition in ECC 6.0 . I am able to find GETDETAIL but not GETLIST.
    It would be nice if anyone could help me out in this.
    Regards,
    Madhu.
    Edited by: madhu kv on Jul 8, 2008 10:53 AM

    In that case you could just write your own custom function module to do it.  All you need to do is write a simple select statement to return a table of document numbers.  It shouldn't take more than an hour to have it all up and running.  You could add a parameter to the interface so that it either returns just a list of document numbers or if the parameter is set, it calls GET_DETAIL for each document and returns the full data.
    Good luck

  • Anyone used BAPI/FM for LT03 create transfer order

    Hi all,
    Has anyone used BAPI/FM for <b>LT03</b> create transfer order based on delivery.
    the BAPI/FM should accept <b>multiple line items for individual storage units</b>.
    thanks,
    Subba

    thanks Amit....
    But it would be helpful to know the usage of this FM....and if anyone has used in their program....
    thanks,
    Subba

  • 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 Physcial Inventory

    Please provide me the list for FM/BAPI avalilabe for Physcila Inventory Process.
    Regards.
    Ricky

    Hi,
    MB_BUS2028       -              Function group for BAPIs for phys. inv.
    BAPI_MATPHYSINV_CHANGECOUNT    Change count for particular items of a phys. inv. doc.
    BAPI_MATPHYSINV_COUNT          Enter count for particular items of a phys. inv. doc.
    BAPI_MATPHYSINV_CREATE         Create Physical Inventory Document
    BAPI_MATPHYSINV_CREATE_MULT    Create Physical Inventory Document
    BAPI_MATPHYSINV_GETDETAIL      Read items for a physical inventory document
    BAPI_MATPHYSINV_GETITEMS       Read list of physical inventory documents with items
    BAPI_MATPHYSINV_GETLIST        Read list of phys. inv. documents
    BAPI_MATPHYSINV_POSTDIFF       Post differences for certain items in a phys. inv. document

Maybe you are looking for