For transaction code MD61, I want to upload data using BAPI

Hi,
for transaction code MD61, I want to upload data using BAPI.
Which BAPi I ll call ?
Can anyone suggest me how to do it with any simple example program ?

Refer the thread for details about coding-
BAPI_REQUIREMENTS_CREATE
Reards,
Amit

Similar Messages

  • Upload data using bapi for migo

    dear all,
    i 'm faching froblem with migo
    my requriment is : if u give one PO,is the input. under one PO  we have a 1....N Bom s under one BOM we have  a 1...N line items OK  but quenty field was chaning accourding to our requriment. we need FOR BOM QNTY and LINE ITEM QNTY  was chnging how  it is possible or not please give me possiblites to me
    i will be waiting for reply.
    regards
    eswar

    Issue is Fixed!

  • LSMW for Transaction Code FB41

    Hi,
    Can any one let me know LSMW - direct input method or BAPI (Bussiness Object) to update data using transaction code FB41.
    I have used direct input method RFBIBL00, but this standard direct input method is not supported for transaction code FB41.
    Thanks and Regards,
    Shravan G.

    BAPIs for FB41:
    BAPI_ACC_DOCUMENT_POST
    BAPI_ACC_INVOICE_RECEIPT_POST,
    BAPI_ACC_GL_POSTING_POST,
    BAPI_ACC_DOCUMENT_POST.
    Regards,
    Nagraj

  • How to upload data using utl_file when you dont know the exact file name

    Hi
    i want to upload data from a flat file to a table.
    i dont know the exact file name. i want to make a search for filename. like i want to make a search on file (say test*) which will give me all the files with test.
    i want to upload data using these files.
    how can i do this by using UTL_FILE.
    Regards
    Manish

    Thank you very much.
    Thing is previously we are using sqlloader and shell script for loading the data.
    now i am creating a procedure (if possible without parameters).
    Is there any other way i can do that.
    can i make a wild card search using utl_file.
    Thanks n Regards
    Manish

  • Upload the data using bapi

    hi,
    i am new for bapi , can anyone tell me how to upload data using bapi with example?
    plz tell how to find bapi & how to use in coding to upload the data?

    Hi ,
             To find Bapi There a tcode Bapi which will take you to bapi Explorer From there you can find required
              the Bapi Function Module and its Documentation .
      [  www.sap-img.com/abap/bapi-step-by-step-guidance.htm ]
    [http://www.sappro.com/tag.cfm?session=&tag=bapi%20programming]
    [https://wiki.sdn.sap.com/wiki/display/Snippets/SalesordercreationusingBAPI]
    Regards
    Nilesh

  • I want to make invisible mode ffield (Version) in the transaction code MD61

    I want to make invisible mode ffield (Version) in the transaction code MD61.
    Can anybody tell me how to do it with coding.
    Thanks

    Refer the thread for details about coding-
    BAPI_REQUIREMENTS_CREATE
    Reards,
    Amit

  • Creating of Notes for Transaction Code RECN(Using Classes and Methods)

    Hi Experts,
    I want to Create Notes for Transaction Code RECN, This should not done manually but should be done programatically.
    I had used the Class CL_GOS_SRV_NOTE_CREATE to create the notes.....but here comes the doubt for me.....note will be created by using this class and how this can be created for the Tcode RECN........
    I am using the Real Estate Module.....Plz help me....awaiting for ur helpful answers....
    Thanks in Advance.....!
    Brahma

    Hi kanagaraja,
    Thanks...!
    The BADI which u have given is not existing in my system...i had gone through the se18 and se19 tcodes....
    Awaiting for ur response......!
    Thanks,
    Brahma...

  • Writing a Batch Input or Call Transaction program for transaction code MMAM

    Hi All,
    I'm writing a Batch Input or Call Transaction program for transaction code MMAM (Changing Material Type). The program was able to run but somehow I was not able to capture the log of the output after running MMAM. The log was not part of the SY-MESSAGE so adding in MESSTAB into call transaction doesn't help while BDC session logs shows only the transaction was processed.
    Anyone has encounter such problems before?
    Regards,
    Ramu.

    Hi
    Overview of Batch Input Session
    The first batch input method is to create a batch input session. It is the processing of this batch input session that updates the database, not the execution of the batch input program. i am giving you example for Change Vendor you practice for ur tcode
    For our example, we will use the “Change Vendor” transaction (“FK02”) to add a street address to an already existing vendor.
    Step #1
    Use “SystemStatus” menu path to determine online program name (SAPMF02K), screen number (0110)
    Step #2
    Use “F1” key and “Technical Info” pushbutton in each screen field to be filled to determine the field name.
    Step #3
    Determine how to proceed in the transaction
    (save the record by clicking on the ‘Save’ pushbutton or pressing the ‘F11’ key).
    The process flow of CALL TRANSACTION
    A program that uses CALL TRANSACTION USING to process legacy data should execute thefollowing steps:
    Prepare a BDCDATA structure for the transaction that you wish to run.
    Prepare a internal table to store error messages Tab_Mess like structure of BDCMSGCOLL.
    With a CALL TRANSACTION USING statement, call the transaction and prepare the BDCDATA structure. For example:
    CALL TRANSACTION ‘MM01' USING BDCDATA MODE 'A' UPDATE 'S'. MESSAGES INTO TAB_MESS.
    IF SY-SUBRC <> 0.
    <Error_handling>.
    ENDIF.
    Overview of Batch Input Session
    The first batch input method is to create a batch input session. It is the processing of this batch input session that updates the database, not the execution of the batch input program

  • BAPI for Transaction Codes FMV1 and FMZ1

    hi,
    is there any bapi for transaction codes FMV1 and FMZ1?!
    please advice!
    thanks JE

    HI,
    For FMZ1
    use this
    FMFR_CREATE_FROM_DATA
    FMFR_CHANGE_FROM_DATA
    FMFR_CHANGE_COMPLETION_FLAG
    Regards
    Hiren K.Chitalia

  • Want to upload data without BDC and LSMW in FB01

    Hi Expert,
    I want to upload data in FB01 without using BDC and LSMW. I want to use all posting key for posting the data. Could any body provide me the code using BAPI. My flat file has all the posting key for the operation.
    Regards
    Sanjay

    Hi Sanjay,
    Here is one example showing BAPI_ACC_DOCUMENT_POST for posting vendor invoices. In the similar manner you can populate other tables like accountrecievables also. So by using the same BAPI you will be able to post a document with all possible conditions:
    DATA: lt_glacct  TYPE TABLE OF bapiacgl09,
          lt_vendact TYPE TABLE OF bapiacap09,
          lt_curramt TYPE TABLE OF bapiaccr09,
          lt_return  TYPE TABLE OF bapiret2.
    DATA: lv_objtyp TYPE bapiache09-obj_type,
          lv_objkey TYPE bapiache09-obj_key,
          lv_objsys TYPE bapiache09-obj_sys,
          wa_docheader TYPE bapiache09,
          wa_glacct  LIKE LINE OF lt_glacct,
          wa_curramt LIKE LINE OF lt_curramt,
          wa_vendact LIKE LINE OF lt_vendact,
          wa_return  LIKE LINE OF lt_return.
    * Populate header data of document
    wa_docheader-obj_type = 'REACI'.
    wa_docheader-obj_key = '$'.
    wa_docheader-obj_sys = 'T90CLNT090'.
    wa_docheader-bus_act = 'RMRP'.
    wa_docheader-comp_code = '1000'.
    wa_docheader-username = sy-uname.
    wa_docheader-header_txt = 'Upload using BAPI'.
    wa_docheader-doc_date = '20090331'.
    wa_docheader-pstng_date = '20090331'.
    wa_docheader-fisc_year = '2009'.
    wa_docheader-doc_type = 'RE'.
    wa_vendact-itemno_acc = '0000000001'.
    wa_vendact-vendor_no = '0000005200'.
    wa_vendact-pmnttrms = '0001'.
    wa_vendact-bline_date = '20090421'.
    wa_vendact-item_text = 'Account payable'.
    APPEND wa_vendact TO lt_vendact.
    wa_glacct-itemno_acc = '0000000002'.
    wa_glacct-gl_account = '0000089000'.
    wa_glacct-item_text = 'GL account'.
    APPEND wa_glacct TO lt_glacct.
    wa_curramt-itemno_acc = '0000000001'.
    wa_curramt-curr_type = '00'.
    wa_curramt-currency = 'EUR'.
    wa_curramt-amt_doccur = '-1000.00'.
    APPEND wa_curramt TO lt_curramt.
    CLEAR wa_curramt.
    wa_curramt-itemno_acc = '0000000002'.
    wa_curramt-curr_type = '00'.
    wa_curramt-currency = 'EUR'.
    wa_curramt-amt_doccur = '1000.00'.
    APPEND wa_curramt TO lt_curramt.
    CLEAR: wa_curramt,wa_glacct,wa_vendact.
    CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
      EXPORTING
        documentheader = wa_docheader
      IMPORTING
        obj_type       = lv_objtyp
        obj_key        = lv_objkey
        obj_sys        = lv_objsys
      TABLES
        accountgl      = lt_glacct
        accountpayable = lt_vendact
        currencyamount = lt_curramt
        return         = lt_return.
    IF sy-subrc EQ 0.
      WRITE:/ lv_objtyp.
      WRITE:/ lv_objkey.
      WRITE:/ lv_objsys.
      LOOP AT lt_return INTO wa_return.
        WRITE:/ wa_return-message.
        CLEAR wa_return.
      ENDLOOP.
      COMMIT WORK AND WAIT.
    ENDIF.
    Hope this solves your problem.
    Regards,
    Brajvir

  • Transaction Codes or Path to get following Data / Reports

    Transaction Codes or Path to get following Data / Reports
    1 Report on Trial balance – GL account balances
    2 List of manual checks that are cut.
    3 List of manual JE to GL for payments made.
    4 List of EFT payments.
    5 List of sales transactions within a specific period – Sales Order in a certain time period
    6 List of manual checks deposits
    Thanks for help in advance

    Hi Ashish,
    Use the tcode SEARCH_SAP_MENU for this purpose. You will be able to view all the available transactions with their nodes, preceeding nodes and tcodes.
    Thanks
    Janani
    award points if helpful

  • UPload data useing BDC for cost element allocation

    Hi ALL,
      i have to upload data useing BDC , have to upload data for cost centre accloction table ,What is the T.code and how to do it, i have knows LSMW,
    very useful for me
    Advance  Thanks
    Narra

    Using BDC means...use theTCODE: SHDB   + ABAPer help, it requires program need to create for this....you can have options in BDC is...u can test the data validity before you upload the data
    VVR

  • How to upload data using SXDA Transaction

    HI,
    Can any one explain step by step procedure to upload data using SXDA transaction.
    I have already uploaded to txt file in Application server.
    I have created a project and  entered into the sub-project wizard and selected the object type as BKPF and then pressed continue, then i enter into task tab....
    There i see convert data , Check file,File split,load data,
    In convert data i have selected the program name as RFBIBL00.
    In check file i have selected the file type as Physical file and selected the file name from F4 button.
    I am fasing the probelm in load data ....
    Can any one please explain how to proceed further..

    Hi Yogesh,
    Use this function module
    ALSM_EXCEL_TO_INTERNAL_TABLE to upload the excel sheet data into internal table.
    Then from the internal table data use KE13 transaction to upload data.
    Regards
    Arun

  • Which method is easiest for uploading data using LSMW?

    which method is easiest for uploading data using LSMW (Direct method or batch input method) bcs I am facing lot of problem using batch input method while recording.Even  I cannot use direct method using standard program.can anyone tell me some other easiest way for uploading MM01.?

    I personally used the direct input way 6 years ago and it was a little bit of a struggle cause I was very new to SAP at the time.  But it worked out to be ok in the end.  You just have to keep messing with it till the errors are clear and then you can upload for real.  The test mode is a nice touch, you can get rid of all of the errors before actually uploading the data.
    Regards,
    Rich Heilman

  • Please specify Transaction code to load SCM ROUTE MASTER DATA (EWM Routes)

    Please specify Transaction code to load SCM ROUTE MASTER DATA (EWM Routes data).
    Regards
    Dhirendra
    Moderator message - Moved to correct forum
    Edited by: Rob Burbank on Apr 21, 2009 8:58 AM

    Route definition is done at 0VTC. You have define the Route with its description, Transit time, factory calender, carrier info etc. It is stored in TVRO table
    Then yoiu will maintain the route determination in 0VRF.
    Route Determination:
    Dep zone of the shipping point + Destination zone (T-zone) of the ship-to + Transportation group + shipping conditions.
    Route determination details are stored in TROLZ table.

Maybe you are looking for