Need a BAPI

Hi all,
I'm looking for a BAPI which triggers an output type to send an idoc, when a Purchase Order is created.
Thanks in advance.
Regards,
Goutham

Take a look at [Automatic IDOC generation whenever a PO is created/changed @****************|http://www.****************/Tutorials/ALE/AutoIDOCGen/AutomaticIDocGeneration1.htm]
Also, it seems you may look at [What is the different between ALE, IDOC and BAPI?|http://www.sap-img.com/abap/ale-bapi.htm] and [ A few interview questions on BAPI, BADI, IDOC|http://sap.ittoolbox.com/groups/technical-functional/sap-dev/a-few-interview-questions-on-bapi-badi-idoc-1041418] fell free to [seach @sdn.sap.com|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=bapiBADIIDOC+difference&adv=false&sortby=cm_rnd_rankvalue]
Regards

Similar Messages

  • I need a bapi  for material management advance shipping notifications

    i need a bapi  for material management advance shipping notifications  for developing powls which includes below fields and some more fields.
    •     Inbound delivery number
    •     Due date (GR date)
    •     Vendor delivery number
    •     Material
    •     Name of material
    •     Quantity
    •     Vendor
    •     Name of vendor
    thanks and regards,
    jameer.p

    Hi Jameer,
    This is a hard one, my friend. I understand what you are trying to do.. Try BAPI_DELIVERYPROCESSING_EXEC. It is tricky though.
    Moreover you might want to use a FM to fill the IDOC data. something like IDOC_INPUT_**. this might be a better option.
    cheers,
    Hema.

  • Need a bapi or table for GL Report

    Hi experts,
    I need a bapi or table for generating report period balance for GL accounts. i found one bapi BAPI_GL_GETGLACCPERIODBALANCES which is closer to my requirement. But i want to get the balances for cost center and particular material. As Cost center and product ranges are in my selection fields.
    Can anyone tell me table or BAPI?

    SAP standard infoset query provides a report STDCOST for this.
    May be this will suit your requirement. It will give material wise costing.
    hope this helps.
    reward if helpful.

  • I need a BAPI or function that can create a PO without the purchase req.

    I need a BAPI or function that can create a PO without the reference to a purchase requisition. We are creating "direct POs" (with no reference to PR) manually. And we have a large amount of documents to create. I can't figure out if BAPI_PO_CREATE and BAPI_PO_CREATE1 can help us by doing this, because I've understood this BAPIs creates POs only with the reference to a purchase requisition.
    Thanks in advance!!
    Sebastian

    Sorry I'm late guys, I couldn't replay your posts because I was busy.
    Charlie,
    ...just because we have the data already in the SAP system.
    My client doesn't want purchase requisitions to be created from the PM orders. Instead he asked us to create the purchase workflow by generating direct purchase orders from the PM orders, basically taking the information from the purchase agreement within the order's tasks. Maybe you don't understand a bit what I'm saying, but let me get this straight: we can't use LSMW because data doesn't come from a legacy.
    Ian,
    ...after all, and like you've said, we're gonna use BAPI_PO_CREATE1 for creating the POs. Today I finally realized that, purchase requisitions aren't mandatory for the bapi to perform the process. If something goes wrong, I'll let you know.
    Thanks anyway for your attention.
    Sebastian

  • I need a bapi  for service order

    i need a bapi for serviceorders  the fields which i required in the output should be 
    GLTRI(Actual finish date),
    FTRMP(Planned release date),
    RMANR(     SD Document Number),
    POSNV_RMA(Item number of the SD document),
    PM_OBJTY,
    ARBPL.

    Dear Jammer,
    This question can be put in ABAP forum. You can also try SD forum. Chances of getting a reply on this query is almost nil in this forum.
    Please let me know in case of any query and keep revisiting this forum.
    Regards,
    Rakesh

  • Need a BAPI/FM for process Order Confirmation

    Hi guys,
    I need a bapi or Fm for process Order confirmation.
    thnx in advance

    Checck
    BAPI_PRODORDCONF_CREATE_ACT
    BAPI_PRODORDCONF_CREATE_HDR
    BAPI_PRODORDCONF_CREATE_TE
    BAPI_PRODORDCONF_CREATE_TT
    Better read the documentation of each BAPi using the tcode BAPI and proceed.
    I feel BAPI_PRODORDCONF_CREATE_HDR would do your purpose.
    Documentaion:
    <b>
    You can use this method to enter order confirmations for production orders.
    You can also transfer good movements, that are posted together with a confirmation. If no goods movements have been entered for a confirmation, they are determined using the standard logic for backflushing and automatic goods receipt for confirmations. </b>

  • Need a bapi for change component in CO02

    hi!
    i need to change  mass old material in production order(CO02) .
    so i need a bapi or FM to do it but i can't find it!
    thank you very much!

    Hi,
    Looks like we might not have the one...and you might need to go with BDC.....Check in Txn BAPI also.
    Refer:
    http://abaplog.wordpress.com/2007/10/10/navigating-component-screen-of-co02-with-bdc/
    http://abaplog.wordpress.com/2007/10/10/navigating-component-screen-of-co02-with-bdc/

  • I need a bapi  for workdownstructure elements

    i need a bapi  for workdownstructure elements 
    •     WBS number
    •     WBS descriptions
    •     WBS start date
    •     WBS end date
    •     Status
    thanks and regards,
    jameer.p
    Edited by: Jameer P on Jan 30, 2008 12:59 PM

    Hai.
    It may help you.
    can use WS_DOWNLOAD like this:
    L_T_HEADERS TYPE TABLE OF TEXT40.
    IF SP_LOCAL = 'X'.
    Headings: TEXT-U01 ... TEXT-U28
        DO 28 TIMES.
          CLEAR: L_F_INDEX,L_F_NAME,L_F_HEADERS.
          L_F_INDEX = SY-INDEX.
          CONCATENATE 'TEXT-U' L_F_INDEX INTO L_F_NAME.
          ASSIGN (L_F_NAME) TO <FS_HEADER>.
          L_F_HEADERS = <FS_HEADER>.
          APPEND L_F_HEADERS TO L_T_HEADERS.
        ENDDO.
        CALL FUNCTION 'WS_DOWNLOAD'
             EXPORTING
                  FILENAME                = SP_FILE
                  FILETYPE                = 'DAT'
             TABLES
                  DATA_TAB                = L_T_OUT
                  FIELDNAMES              = L_T_HEADERS
             EXCEPTIONS
                  FILE_OPEN_ERROR         = 1
                  FILE_WRITE_ERROR        = 2
                  INVALID_FILESIZE        = 3
                  INVALID_TYPE            = 4
                  NO_BATCH                = 5
                  UNKNOWN_ERROR           = 6
                  INVALID_TABLE_WIDTH     = 7
                  GUI_REFUSE_FILETRANSFER = 8
                  CUSTOMER_ERROR          = 9
                  OTHERS                  = 10.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE 'I' NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          LEAVE PROGRAM.
        ELSE.
          DESCRIBE TABLE L_T_OUT LINES L_F_COUNT.
          MESSAGE I145 WITH L_F_COUNT SP_FILE.
        ENDIF.
    Regards.
    Sowjanya.b.

  • Need a BAPI for Tcode 'OX19'

    Hi,
      I need a BAPI for Tcode 'OX19' so that the comapny codes for that Controlling area gets updated in the database.
    Regards,
    Deepthi.

    Hi,
    Using the  BAPI "BAPI_COAREA_GET_RELATED_CCODES" , I am able to view the company codes for that Controllling area. I need for Creation of Company codes for the controlling area. can you tell me please.
    Regards,
    deepthi.

  • Need a BAPI to modify sales document (Inquiry) header conditions

    I need a bapi to modify header conditions on an Inquiry sales document.  BAPI_CUSTOMERINQUIRY_CHANGE has the appropriate condition and conditionx tables. However, according to the documentation: "Although the BAPI interface is supplied for the condition to be changed, the system does not return the required result and/or the pricing result is inconsistent. Currently, the change of condition lines in existing documents via the BAPIs provided by SAP is not implemented."
    Thanks
    Leo

    Vinod
    Thanks. I tried that bapi yesterday but, as you say, it's difficult to implement. I haven't been able to get it to work yet.
    Leo

  • Need a BAPI or function module to do FMZ1 transaction for funds commitment.

    Hi,
        I need a BAPI or function module to do FMZ1 transaction, please advise.
    Regards
    Fellow ABAPer.

    I think I found it.
    If anyone is searching for it too, we will use these one:
    CO_ZA_AVAIL_CHK_ORDER_MULTI

  • I need a bapi documentation

    hi all,
      this is siva. i need a bapi documentation.
    how to create the RFC using bapi fucntion modules to extract the data from particular master tables.
    pls send the demo also how to create the RFC.
    with regards,
    siva.
    9985774578

    HI Siva,
    chk these links.
    http://help.sap.com/saphelp_46c/helpdata/en/9b/417f07ee2211d1ad14080009b0fb56/frameset.htm
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    Checkout !!
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
      Reward points if it helps.
    Manish

  • Need a BAPI to upload "Number of packages" for outbound delivery in VL02N

    Hi,
    I need a BAPI which can change data into field LIKP-ANZPK (Number of packages) for outbound delivery with tcode VL02N.
    I saw BAPI_OUTB_DELIVERY_CHANGE but don't know what to parameter to fill.
    Can anyone help me?
    Tarick.

    This solution is in kzapk and kzntg.
    Example:
    CLEAR ls_vbkok.
         ls_vbkok-vbeln_vl  = <ls_created>-document_numb.
         ls_vbkok-vbtyp_vl  = <ls_created>-document_category_sd.
         ls_vbkok-anzpk     = id_volum.
         ls_vbkok-kzapk  = 'X'.
         ls_vbkok-kzntg  = 'X'.
         ls_vbkok-wabuc  = 'X'.
         CALL FUNCTION 'WS_DELIVERY_UPDATE_2'
           EXPORTING
             vbkok_wa       = ls_vbkok
             update_picking = 'X'
             synchron       = 'X'
             commit         = 'X'
             delivery       = <ls_created>-document_numb
           IMPORTING
             ef_error_any   = ld_error.

  • Need RFC/BAPI to Create Requisition,Position, Hiring an Employee

    Hi,
    I need RFC/BAPI to Create Requisition,Position,Hiring an Employee.
    Regards,
    R.Ragu

    Hi,
    For creation of a Posiotn you can use FM 'RH_OBJECT_CREATE'.

  • Need about bapi's

    Hi,
    i need the BAPI's material with theory.
    Regards,
    Roshan.

    Hi,
    try this link.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/7e/5e114a4a1611d1894c0000e829fbbd/frameset.htm
    reward if it helps.
    Best regards,
    Kenny

  • I need a Bapi to Calculate TRIP

    Hi,
    I need a BAPI to calculate trip, I need something very similar to transaction PREC.
    Thank you for your feedback.
    Kind regards,

    Hi Jorge,
    Try this out....
    Parameter string for runtime of CALL TRANSACTION .
    DATA: BEGIN OF git_ctu.
    INCLUDE STRUCTURE ctu_params.
    DATA: END OF git_ctu.
    GIT_CTU-DISMODE = 'E'.
    GIT_CTU-UPDMODE = 'A'.
    GIT_CTU-RACOMMIT = 'X'.
    Ex:
    CALL TRANSACTION 'LQ02'
    USING GIT_BDCDATA
    options from git_ctu
    MESSAGES INTO GIT_MESSTAB.
    Reward Points if Useful.
    Regards
    Gokul

Maybe you are looking for