BAPI or BDC  for PO Creation

Hi All,
I need the sample BDC or BAPI Program for Purchase Order Creations upload.
Regards
Mustafa

Hi Mustafa,
                 The BAPI for PO creation is BAPI_PO_CREATE1.
Have a look at this thread.Link : [Thread|Reg BAPI_PO_CREATE1;.
Hope your query resolves quickly.
Have a best day ahead.

Similar Messages

  • Bapi or BDC for me12

    hi,
    Is there any Bapi or BDC for me12.

    i think There is no BAPI but you can use ME_DIRECT_INPUT_INFORECORD. otherwise wait for another replies...
    Alternatively you can use these FM's
    codeME_DB_UPDATE_INFORECORDS Updating info records in database
    ME_UPDATE_INFORECORD Update program for purchasing info record
    ME_UPDATE_INFORECORD_COND Update price in info record during maintenance from condition transac
    ME_UPDATE_INFORECORD_PD Update info records from purchasing documents
    Hope this ll be helpful
    Thanks & Regards
    vinsee

  • FM or BAPI or BDC for clearing open items...

    Hello Gurus,
    I have to write a code to clear/ close 12 million open G/L items in SAP. Is there a standard SAP FM or BAPI to do this ? Or do I have to write a BDC for this. If I have to write BDC, do I write BDC on T-Code F.13, FB05 or other T-Code.
    Regards,
    Jainam.
    Edited by: Jainam Shah on Sep 23, 2010 5:13 PM

    If you have configured the correct clearing criteria in the IMG, then you can just run program SAPF124.  Why did you need a shell program with a BDC - are you trying to clear by document within your clearing criteria?

  • GTS BAPI or BDC FOR Tcode /SAPSLL/PRODUCT_02

    Hello All,
       I need a help to upload data's in T-code /SAPSLL/PRODUCT_02 (SAP GTS ) Custom Product maintenance, i can't do with BDC because this t-code is having GUI, So kindly guide me how we can upload the data's in this t-code, and there is no BAPI or IDOC for this t-code.
    Thanks in advance.

    hi
    try using this FM /sapsll/product_change
    cheers
    s.janagar

  • BDC for vendor creation

    I've created a BCD program for vendor creation and I just realized that I now need to use multiple street address fields.  When I run the XK01 transaction in SAP directly I can access those field by clicking on the more fields button and expanding the screen.  When I use the BDC recorder function, the more fields button isn't available.  Has anyone else experienced this and found a solution?
    Thanks!
    Sybil

    Like this:
         'X' 'SAPMF02K'     '0105',         "Create Vendor: Initial Screen
          ' ' 'RF02K-BUKRS'             '0000',
          ' ' 'RF02K-KTOKK'             'Y000',
          ' ' 'USE_ZAV'                 'X'.                "<========
    Rob
    Message was edited by:
            Rob Burbank

  • BAPI/Function Module for Debtor Creation

    Hi Friends,
      Could you pls let me know the BAPI or Function Module for Debtor Creation.
    Thanks
    Ravindra

    Hi,
    I found one link for you, check out probably help you out.
    http://abap.wikiprog.com/wiki/Category:BAPI_Debtor
    Thanks,
    Krishna

  • BAPI/ Enterprise service for RFQ creation

    Hi All,
       I need help regarding creation of RFQ using BAPI or Enterprise Web Service.
       Is there any standard BAPI available to meet this functionality of RFQ creation(ME41).
      If any one has worked on similar stuff please reply. If you have any code related to such development then that will icing on cake.
    Thanks in advance,
    Amit Deshpande

    Hi Ashwinni
    I don't think there exist a synchronous enterprise service for the creation of vendors. Do you know if there is an enterprise service to do an update on a vendor? If an application is responsible for creating the vendors (like SAP MDM in a CMDM scenario) then the application of course can send updates on a vendor. Or is the scenario thought to be that you only create the inital vendor in MDM and then maintain it in for example SAP ECC?
    Br
    Göran
    Edited by: Göran Westin on May 24, 2011 2:30 PM

  • BAPI or BDC for WTEW

    Dear All,
    I have a requirement wherein I need to automate the creation of Sub Sales Order through WTEW
    tcode in GTM. I'm not able to do it via BDC.
    Is there any BAPI for it ?
    Please help.
    Thanks.

    Could you please be more specific..??
    is it the follow-on documents that you are trying to create after TC creation?
    or sub sales order generation is part of TC creation it self..
    Regards,
    Yadesh

  • BAPI or BDC For TRANSACTION F-28 incoming payment posting (Urjunt)

    Hi Gurus,
    Pls give me some code (BDC Or BAPI) for Transaction F-28.
    Thanks in Advance,
    Mahesh.

    Hi
    Need F-28 Bdc
    BAPI for F-28
    try using  BAPI_ACC_DOCUMENT_POST
    How to use BAPI_ACC_DOCUMENT_POST?
    Regards
    Pavan

  • BAPI vs BDC for VI02/ VT02N and VL32N

    Hi All,
    I have the following questions to the experts.
    In our 4.6 version we had a custom program with in which using BDC we were doing.
    1) Delete Shipment Cost Documents ( VI02).
    2) Unpack and delete shipment ( Call Transaction to VT02N).
    3) Unpack and delete delivery (VL32N).
    Now in ECC version I want to confirm if these BDCs will work without any issues in future.
    Do we have appropriate BAPI or Function Module for replacing all these BDCs.
    I went through the forum and found many BAPIs like BAPI_SHIPMENT_CHANGE,BAPI_INB_DELIVERY_CHANGE and FMs WS_DELIVERY_CHANGE etc but want to make sure if Unpacking and Deletion both can be handled with the same BAPIs as mentioned?
    For Deleting SCD, have anyone faced any issues with using BDC in ECC or do we need to use some FM like SD_SCD_DELETE etc?
    Please advice.
    Best Regards,
    Ameesha

    Hi Amisha,
    I understand that you aalready have BDC Implementation in place for all these transactions.
    So is it Business requirement to change these to BAPIs. Yes, it is true that the implementaion should   have been done using BAPIs but as you have BDC in place Please perform testing to make sure the BDC code is still working fine.
    If code is fine then you are good otherwise you can either change BDC code to solve the Issues of go for fresh coding using BAPIs to upload/change the data.
    Regards'
    Shital

  • Help required in BDC for Vendor creation

    Hi ,
         I have to create vendors using bdc via trxn FK01.
    my requirement is to add multiple street adress but while recording initial screen contains only one line for street.
    how should i proceed ?
    I am working in ecc6.0.given below is my BDC.
    perform open_group.
    loop at record.
    perform bdc_dynpro      using 'SAPMF02K' '0105'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RF02K-BUKRS'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'RF02K-BUKRS'
                                  record-bukrs.
    perform bdc_field       using 'RF02K-KTOKK'
                                  record-ktokk.
    perform bdc_dynpro      using 'SAPMF02K' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LFA1-REGIO'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'LFA1-ANRED'
                                  record-anred.
    perform bdc_field       using 'LFA1-NAME1'
                                  record-name1 .
    perform bdc_field       using 'LFA1-STRAS'
                                  record-stras.
    perform bdc_field       using 'LFA1-ORT01'
                                   record-ort01.
    perform bdc_field       using 'LFA1-PSTLZ'
                                  record-pstlz.
    perform bdc_field       using 'LFA1-LAND1'
                                 record-land1.
    perform bdc_field       using 'LFA1-REGIO'
                                  record-regio.
    perform bdc_dynpro      using 'SAPMF02K' '0120'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LFA1-KUNNR'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_dynpro      using 'SAPMF02K' '0130'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LFBK-BANKS(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTR'.
    perform bdc_dynpro      using 'SAPMF02K' '0210'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LFB1-ALTKN'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'LFB1-AKONT'
                                  record-akont.
    perform bdc_field       using 'LFB1-ALTKN'
                                  record-altkn.
    perform bdc_dynpro      using 'SAPMF02K' '0215'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LFB1-ZWELS'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'LFB1-REPRF'
                                  record-reprf.
    perform bdc_field       using 'LFB1-ZWELS'
                                  record-zwels.
    perform bdc_dynpro      using 'SAPMF02K' '0220'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LFB5-MAHNA'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_dynpro      using 'SAPMF02K' '0610'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=UPDA'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LFB1-QLAND'.
    perform bdc_transaction using 'FK01'.
    refresh bdcdata.
    clear bdcdata.
    endloop.
    perform close_group.
    Edited by: Rachel on Jun 19, 2008 11:23 AM

    Hi,
    while recording from the SHDB, in the initail screen of FK01
    you will have the check box Use central address management. check that, you will get multiple streets.
    Thanks,
    Rajinikantth

  • Bapi / F.M. for creation of install base for equipment (CS, not CRM)

    Hi everybody,
      Do you know any bapi / F.M. for the creation of an istall base, with one equipment and several materials?
    Thank you
    Andrea

    Hi everybody,
      Do you know any bapi / F.M. for the creation of an istall base, with one equipment and several materials?
    Thank you
    Andrea

  • BAPI/FM for RFQ creation

    hi experts,
    Good day! Is there a BAPI or FM for RFQ creation.
    Thanks!

    Hi,
    BAPI_QUOTATION_CREATEFROMDATA2 this BAPI is released in latest version ,the kernal level patches provides more security when this BAPI is called from an external application across variuos networks.
    Regards,
    Srinivas

  • BAPI /BDC for contract data VA41

    hi all,
        We have a requirement. We have Contract data in legacy system, and need to migrate that into SAP (VA41). Should i use BAPI or BDC for this.
    If i have to use BAPI, Please let me know the BAPI name.
    Regards,
    Kavitha

    Hi Kavitha,
                   May be this thread provides you some help.
    Have a look.
    Link:[Thread|Re: Creating Contracts using BAPI_CONTRACT_CREATEFROMDATA;
    Have a best day ahead.

  • Bdc for tocde CS01(BOM CREATION)

    Hi,
    I want to make a bdc for the tcode CS01(BOM Creation),but the thing when i perform the Recording then there is a point that the BOM having the sub - items which might be 3 or 2 or maybe 10 . how can i manage that during the recording.
    plzz provide me guidelines for solving this problem.

    Hi,
    This code for BOM creation/Change,
    using BAPI as well as BDC check this.
                    LOOP AT it_bom_create INTO wa_bom_create.
    * Begin of CCT51465 - B09794 - 11/28/2007
    *                  PERFORM f_bdc_dynpro      USING 'SAPLCSDI' '0100'.
    *                  PERFORM f_bdc_field       USING 'BDC_OKCODE'
    *                                                  '/00'.
    *                  PERFORM f_bdc_field       USING 'RC29N-MATNR'
    *                                                  wa_bom_create-matnr.
    *                  PERFORM f_bdc_field       USING 'RC29N-WERKS'
    *                                                  wa_mbew-bwkey.
    *                  PERFORM f_bdc_field       USING 'RC29N-STLAN'
    *                                                  '2'.
    *                  PERFORM f_bdc_field       USING 'RC29N-STLAL'
    *                                                  '01'.
    *                  PERFORM f_bdc_dynpro      USING 'SAPLCSDI' '0110'.
    *                  PERFORM f_bdc_field       USING 'BDC_OKCODE'
    *                                                  '/00'.
    *                  CONDENSE wa_bom_create-bmeng.
    *                  PERFORM f_bdc_field       USING 'RC29K-BMENG'
    *                                                  wa_bom_create-bmeng.
    *                  PERFORM f_bdc_dynpro      USING 'SAPLCSDI' '0111'.
    *                  PERFORM f_bdc_field       USING 'BDC_OKCODE'
    *                                                  '/00'.
    *                  CONDENSE wa_bom_create-menge.
    *                  PERFORM f_bdc_dynpro      USING 'SAPLCSDI' '0140'.
    *                  PERFORM f_bdc_field       USING 'BDC_CURSOR'
    *                                                  'RC29P-IDNRK(01)'.
    *                  PERFORM f_bdc_field       USING 'BDC_OKCODE'
    *                                                  '/00'.
    *                  PERFORM f_bdc_field       USING 'RC29P-IDNRK(01)'
    *                                                  wa_bom_create-idnrk.
    *                  CONDENSE wa_bom_create-menge.
    *                  PERFORM f_bdc_field       USING 'RC29P-MENGE(01)'
    *                                                  wa_bom_create-menge.
    *                  PERFORM f_bdc_field       USING 'RC29P-POSTP(01)'
    *                                                  'L'.
    *                  PERFORM f_bdc_dynpro      USING 'SAPLCSDI' '0130'.
    *                  PERFORM f_bdc_field       USING 'BDC_OKCODE'
    *                                                  '/00'.
    *                  PERFORM f_bdc_dynpro      USING 'SAPLCSDI' '0131'.
    *                  PERFORM f_bdc_field       USING 'BDC_OKCODE'
    *                                                  '/00'.
    *                  PERFORM f_bdc_dynpro      USING 'SAPLCSDI' '0140'.
    *                  PERFORM f_bdc_field       USING 'BDC_OKCODE'
    *                                                  '=FCBU'.
    *                  PERFORM f_bdc_transaction USING 'CS01'.
                      it_stko1-base_quan = wa_bom_create-bmeng.
                      CALL FUNCTION 'CSAP_MAT_BOM_CREATE'
                        EXPORTING
                          material                 = wa_bom_create-matnr
                          plant                    = wa_marc-werks
                          bom_usage                = '2'
                          valid_from               = v_valid              " CCT52206 - B09794 - 12/10/2007
    *                     CHANGE_NO                =
    *                     REVISION_LEVEL           =
                          i_stko                   = it_stko1
    *                     FL_NO_CHANGE_DOC         = ' '
                          fl_commit_and_wait       = 'X'
    *                     FL_CAD                   = ' '
                          fl_default_values        = ' '
                        IMPORTING
                          fl_warning               = flg_warning
    *                     BOM_NO                   =
                        TABLES
                          t_stpo                   = it_stpo1
    *                     T_DEP_DATA               =
    *                     T_DEP_DESCR              =
    *                     T_DEP_ORDER              =
    *                     T_DEP_SOURCE             =
    *                     T_DEP_DOC                =
    *                     T_LTX_LINE               =
    *                     T_STPU                   =
                        EXCEPTIONS
                          error                    = 1
                          OTHERS                   = 2.
                      IF sy-subrc <> 0.
    * Begin of CCT59311 - B09794 - 07/01/2008
                        IF p_show = 'X'.
                          PERFORM f_check_lock.
                        ENDIF.
    * End of CCT59311 - B09794 - 07/01/2008
                        CALL FUNCTION 'FORMAT_MESSAGE'
                          EXPORTING
                            id        = sy-msgid
                            lang      = sy-langu
                            no        = sy-msgno
                            v1        = sy-msgv1
                            v2        = sy-msgv2
                            v3        = sy-msgv3
                            v4        = sy-msgv4
                          IMPORTING
                            msg       = v_mstring
                          EXCEPTIONS
                            not_found = 1
                            OTHERS    = 2.
                        IF sy-subrc = 0.
                          CONDENSE v_mstring.
                          wa_errormsg-matnr = wa_bom_create-matnr.
                          wa_errormsg-werks = wa_marc-werks.
                          wa_errormsg-mtart = v_mat_typ.
                          wa_errormsg-msgtyp = sy-msgty.
                          IF sy-msgid = '29' AND sy-msgno = '037'.
                            v_mstring = text-027.                                   "  Costing BOM already exist (For Material -
                            CONCATENATE v_mstring wa_marc-matnr ')' INTO v_mstring.
                            wa_errormsg-msgtxt = v_mstring.
                          ELSE.
                            wa_errormsg-msgtxt = v_mstring.
                          ENDIF.
                          APPEND wa_errormsg TO it_errormsg1.
                          CLEAR wa_errormsg.
                        ENDIF.
                      ELSE.
                        wa_successmsg-matnr = wa_marc-matnr.
                        wa_successmsg-werks = wa_marc-werks.
                        wa_successmsg-mtart = v_mat_typ.
                        wa_successmsg-msgtyp = 'S'.
                        v_mstring = text-017.       "   Costing BOM created successfully (For Material -
                        CONCATENATE v_mstring wa_marc-matnr ')' INTO v_mstring.
                        wa_successmsg-msgtxt = v_mstring.
                        APPEND wa_successmsg TO it_successmsg.
                        CLEAR wa_successmsg.
                      ENDIF.
    Code Formatted by: Alvaro Tejada Galindo on Dec 23, 2008 10:21 AM

Maybe you are looking for

  • Payment Order deletion

    Dear gurus, I need a help in APP. In Autometic payment program our client is using payment orders. While clearing from the bank due to some techinal issue open item has not been cleared but clearing document has been created against the vendor. This

  • Measure events per second and store in a spreadsheet

    hi I'm an spanish student and I need to measure RPM from a motor and store it. The frequency of de pulses is 30 to 300 Hz. And I need to measure 2 sources at the same time. Some body knows how? I had been trying whit the FOUT signal for the gate but

  • Warranty tab in Equipment Master

    Hi, When I  create equipment of category M there is no tab of Warranties displayed. How can I make it to appear and accept record of Warranties? Best Regards, Ibne Khalil

  • Getting system Variables

    Hi. I'm creating jsp page, which uses ssl connection. I want to print information of user logged into page, but I can't understand - how to get system variables in JSP page? directory httpd.conf file: <Files ~ "\.(cgi|shtml|php)$"> SSLOptions StdEnvV

  • Standalone OC4J can't compile JSPs?

    I've been following this tutorial: http://www.eclipse.org/webtools/community/tutorials/OracleServerAdapter/OracleServerAdapter.html in order to get my Eclipse working with my 10.1.3 standalone OC4J server. However, every time I try to run the index.j