Help me on BDC for FI document !

hi my Friends,
I am Functional consultant on FI-CO module and i know a little on ABAP.
Now I want to develope a ABAP program to transfer Accounting transaction from data File into FI-CO (FB50 screen.)
Please show me the document or share me your source code for reference.
thanks !

Hi ,
If u want to call a transaction and goto a particular screen as soon as u call the transaction, u can record the flow in BDC.
That is u have to goto SHDB transaction for recording and then specify the transaction code then pass the values and once u reach the screen, press save button and press back.
Code will get automatically generated.
Then u can copy and paste the part of the code that is needed.
Check these below :
http://help.sap.com/saphelp_erp2005/helpdata/en/fa/097119543b11d1898e0000e8322d00/frameset.htm
http://www.sapgenie.com/abap/bdc.htm
http://www.sap-img.com/abap.htm
- An

Similar Messages

  • Help required:Spool Creation for posted document in FB03 transaction

    Hi Experts,
    The requirement is like I have to send the PDF document to the user by mail once the document gets posted in SAP ECC. The posting is taking place by IDOC.
    The problem is how do i get the spool request for the document which is posted in ECC. It can be seen by entering document number in FB03 transaction but there is no smart form or SAP script or any Output type. The document is posted by IDOC.The client wants the PDF document excatly as seen from FB03 transaction. Please help as this is typical requirement i have never come across.
    Do let me know some of the user exits where in just after the posting i can write my code for spool creation. The idoc is using the BAPI_ACC_DOCUMENT_POST.

    HI
    In test mode i am able to view the document no. but not the reference document no and when double click on the document no i am not able to view the journal entry.
    Thanks.

  • BDC for Sales Document

    Hi all,
    I am new in ABAP. I want to upload the sales document datas from legacy file to SAP database through SHDB recording.can any one help me with sample code and explanation.
    Because, my problem is in that VA 01 header data and Item data.In that one sales table contain 2 items in the item field, but some sales order contains varible items like N number of items how can we upload the datas from legacy file to SAP database.hope u all understand.
    explain me with code examples.
    Thanks and regards
    raghul.

    Hi raghul kanna  ,
    Here r the few steps, which teach u learn a standard recording.
    Take one cycle of valid data for creating a sales order.  First practise creating sales order by entering the avialble data in sequential manner...  Try doing this two three times. And then record the same process in SHDB tcode. 
    Pertaining to line items.  Just u need to add the ok code to scroll the item table control in VA01.  In the program u need to add the logic to count the visible rows in the item table control and u need to execute this ok code to scroll down when ever the item count reaches to number of visible rows.  Currently I dont have any code with me.  Just try doing this....  So u can learn every thing on ur own...
    Venkat.

  • 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

  • Please, help with Incremental Update for Linearized document.

    Hi, here is my problem.
    I'm working in my own annotation app. It incrementally updates pdfs. Works fine with most of the pdfs.
    But i've found couple of pdfs, that was being corrupted after updating.
    Here goes more details:
    Single page-linearized pdf: when i've looked into pdf source, i found that page object has /Parent key which referencing to non-existing object. Normally, as i understand /Parent for page object is /Type /Pages objects with /Kids /Count etc.
    12 0 obj
    <</ArtBox[26 0 585.999 792]/BleedBox[26 0 586 792]/Contents[14 0 R 15 0 R 16 0 R 17 0 R 18 0 R 19 0 R 20 0 R 21 0 R]/CropBox[0 0 612 792]/MediaBox[0 0 612 792]/Parent 8 0 R/Resources 37 0 R/Rotate 0/TrimBox[26 0 586 792]/Type/Page>>
    endobj
    Parent 8 0 R - Is missing
    But all pdf viewers are ok with that.
    So, this pdf has two Xref tables:
    36 0 obj
    <</DecodeParms<</Columns 4/Predictor 12>>/Filter/FlateDecode/ID[<2C9B406A12A771465F8FE0D6A4DC67ED><9B829DD8BDB09849A00CA5D75E7 5CDF4>]/Index[10 54]/Info 9 0 R/Length 114/Prev 66739/Root 11 0 R/Size 64/Type/XRef/W[1 2 1]>>stream....
    and Second one at the end of file.
    5 0 obj
    <</DecodeParms<</Columns 5/Predictor 12>>/Filter/FlateDecode/ID[<2C9B406A12A771465F8FE0D6A4DC67ED><9B829DD8BDB09849A00CA5D75E7 5CDF4>]/Info 9 0 R/Length 51/Root 11 0 R/Size 10/Type/XRef/W[1 3 1]>>stream
    Linearized dict:
    10 0 obj
    <</Linearized 1/L 67043/O 12/E 48239/N 1/T 66738/H [ 534 185]>>
    endobj
    /T 66738 points to Xref table in 5 0 obj's stream
    Now, when my annotation is stored: i'm adding the following object to the end of file:
    8 0 obj <</Type /Pages/Count 1/Kids [ 12 0 R ]>>
    endobj
    I've create the missing 8 0 obj with Kids and /Count 1
    12 0 obj<</Type /Page/Annots [ 65 0 R ]/ArtBox [ 26 0 585.999 792 ]/BleedBox [ 26 0 586 792 ]/Contents [ 14 0 R 15 0 R 16 0 R 17 0 R 18 0 R 19 0 R 20 0 R 21 0 R ]
    /CropBox [ 0 0 612 792 ]/MediaBox [ 0 0 612 792 ]/Parent 8 0 R/Resources 37 0 R/Rotate 0/TrimBox [ 26 0 586 792 ]>>
    endobj
    it's page objects with new Reference to Annotation object which is:
    65 0 obj<</Type /Annot/Contents (Test 2)/M (D:20120507172231+03'00')/Open true/P 12 0 R/Rect [ 0 0 100.000 100.000 ]/Subtype /Text/T(Test 1)>>
    endobj
    then goes my xref table
    xref
    8 1
    0000067045 00000 n
    0000067189 00000 n
    0000067591 00000 n
    trailer
    <<
    /ID [ <FE1185EC7443D19473E8A4A1569A1CB2> <FE1185EC7443D19473E8A4A1569A1CB2> ]
    /Info 64 0 R
    /Prev 66739
    /Root 11 0 R
    /Size 69
    >>
    startxref
    67760
    %%EOF
    And this totally broks my PDF.
    Questing: /Prev in my trailer should point ot 5 0 obj or 36 0 obj?

    Ok, thanks, and /Pref in my trailer should point to which xref? 5 0 (and the end of the original file) or 36 0 at the beginning?

  • Want to generate single spool for diffrent documents

    Hi All,
    I have developed one BDC which will call report 'FBZ5' (for print form for payment documents). The print report is copied from RFFOUS_C.
    FBZ5 is used to print one document at a time so I have created this BDC for multiple documents.
    The probelm wat i m facing is BDC is generating sinlge spool for each and every document. I want to generate only single spool for multiple documents. Wat should I do.
    Thanks,
    Swapnil
    Message was edited by:
            Swapnil Swami

    I had a similar problem and the resolution was to update program ZRVADOPFO as follows:
    before the * open form line insert the following:
        if sy-batch = 'x'
        and nast-vsztp < > 3 or 4
            clear lvs_itcpo-tdnewid
       endif
    This solved it for me.  Good luck.

  • BDC for MB21

    Hello,
    Please help me with BDC for mb21 for multiple item
    System to sytem no of items display in MB21 screen varies & new items has to be entered further.
    For eg: if I have 30 items to be reserved. My MB21 screen is showing only 19 item, to reserve the rest of the item i have to go to new item button.
    Please help me to create BDC for the above without manual intervention.
    Subbu.
    MOderator Message: We cannot give a step-by-step solution.... even if you are a Functional guy. Get hold of an ABAPer and get your work done. Coding parts are better done by ABAPers.
    Edited by: kishan P on Jan 28, 2011 4:10 PM

    Hi,
    Please search in SCN with search term "How to use table control in BDC", you will get the information and idea to do it with MB21 transaction code.
    REgards,
    Nagaraj

  • Output fail for netting document

    Hi Masters
    Need your help !!!
    For netting document output get fail with below two error message
    1.System error: Exchange number           002000 does not exist. Cannot format statement
    2.Exchange partner 0000060150 does not exist, or is not assigned.
    Already checked vendor and customer connection and found ok
    Kindly help
    Thanks

    Hi
    Follow this
    Goto Tcode NACE ...select application MR ...click output types .... here create a copy of ERS and name it as say INVS
    Now again in NACE slect MR and click on condition records and maintain condition record for INVS wrt co code
    Now in Tcode M808 maintain INVS in the schema MR0002
    Now when u create a MIRO doc then at header level do check if print is getting activated or not
    Then take print out in MR90 tcode

  • Pages created a random password for my document on my iPad. I have no idea what it is and I can't open my document. HELP!!!

    Pages created a random password for my document on my iPad. I have no idea what it is and I can't open my document. HELP!!!

    How old is your son?
    Under the Spanner in Pages there is Set Password where you create a password with hint. You really have to deliberately dig this out to do it.
    Do you get a hint when you are asked for the password?
    The Password is very secure, if you can't remember what it is, you will have to recreate the document.
    Peter

  • F4 help for Billing document in vf02

    Hi All,
    In Sales scenario of free samples,after creating the billing document with net value as zero(as it is free sample).
    I am new to ABAP.When i am going to VF02 Transaction and I press F4 help for Billing Document,it gives the error 'No values found'.
    So,I checked the table VBRK for Billing document Numbers.But records are there in that table.
    I checked whether there is any User exit or BADI.But I did not find any User exit or BADI related to this issue.
    Please,Let me know what i have to do.
    Kind Regards,
    Gopal.K

    Hi,
    For VF02/ VF03 the search help [ Collective srch hlp  VMCF] > VMCFA     Billing documents still to be passed on to accounting
    has data selection Selection method   M_VMCFA it is a data base view with selection conditions
    VBRK     RFBSK     EQ     ' '     OR
    VBRK     RFBSK     EQ     'A'     OR
    VBRK     RFBSK     EQ     'B'     OR
    VBRK     RFBSK     EQ     'F'     OR
    VBRK     RFBSK     EQ     'K'     OR
    VBRK     RFBSK     EQ     'L'     OR
    VBRK     RFBSK     EQ     'M'     OR
    VBRK     RFBSK     EQ     'N'     OR
    VBRK     RFBSK     EQ     'G'     AND
    VBRK     FKTYP     NE     'R'
    Could be your billing document is not matching the selection criteria and please try to find out the condition on which it is giving the message by putting a break on message , could be
    vbtyp_fakt(8)  value 'MNOPSU56',
    IF vbrk-vbtyp NA vbtyp_fakt.
          MESSAGE e041 WITH vbrk-vbeln.
    ENDIF.

  • Need you help to update business area for FI Document  generated  at migo

    HI guys
    I am looking for MIGO Badi or user-exit which will help update business area which is mandatory field but when movement type 101and the account assignment tab is not there when the movement type is 101 at the time of GR so i want to update it BA in for FI Document generate  in background so as to complete the GR. 
    Thanks

    Hi Niraj ,
    I Have check the badi but there is no structure of FI item data  generated for which i can insert the BA for the line item generated
    Thanks
    Regards
    Nilesh

  • BDC not creating documents for J1is

    Dear All,
    I have written BDC for tcode - J1is but it is not creating official excise documents when i upload the data with BDC. But when we do manually it is creating official excise documents perfectly.
    Internal documents are generated both the cases.
    BDC is perfectly running and processes the data.
    Please suggest.
    Thanks,
    Pavan

    VA01 is order creation, Creating an order does not automatically create a delivery, a delivery is created with VL01N in reference to an order.
    Further you should get an error log if you process a BDC, what does it tell you?

  • I have Adobe Acrobat XI (ver 11.0.07).  Adobe Help instructs me to find the document comparison command at "View Compare Documents," however, this command does exist on my screen. My View drop-down list does not include a command for Compare Documents.

    I have Adobe Acrobat XI (ver 11.0.07).  Adobe Help instructs me to find the document comparison command at "View > Compare Documents," however, this command does exist on my screen. My View drop-down list does not include a command for Compare Documents.  Where else can I find this command?

    What version of Acrobat do you have? This feature is only available in the Pro version, not in the Standard version.

  • Please help with this bapi for creating billing document

    I want to create a billing document using the bapi:  BAPI_BILLINGDOC_CREATEMULTIPLE from a delivery number and NOT A SALES ORDER.
    Please tell me what  details to be passed to table  BILLINGDATAIN . Please don't provide me function module documentation because it does n't help me create billing document from delivery. A sample source code or suggestion to what to pass would be really great!
    Thanks,
    Krishen
    P.S. Points assured for helpful answers and thanks for your time.

    Hi,
    Try this..
    DATA: s_vbap TYPE vbap.
    TABLES: vbak,vbap,likp, lips.
    DATA: t_billing TYPE STANDARD TABLE OF bapivbrk WITH HEADER LINE.
    DATA: t_conditions TYPE STANDARD TABLE OF bapikomv WITH HEADER LINE.
    DATA: t_return TYPE STANDARD TABLE OF bapireturn1 WITH HEADER LINE.
    DATA: t_ccard  TYPE STANDARD TABLE OF bapiccard_vf WITH HEADER LINE.
    DATA: t_errors TYPE STANDARD TABLE OF bapivbrkerrors WITH HEADER LINE.
    DATA: t_success TYPE STANDARD TABLE OF bapivbrksuccess WITH HEADER LINE
    PARAMETERS: p_vbeln TYPE vbeln.
    select single * from likp
                    where vbeln = p_vbeln.
    SELECT SINGLE * from lips where
                    vbeln = likp-vbeln.
      t_billing-salesorg   = likp-vkorg.
      t_billing-ref_doc     = likp-vbeln.
      t_billing-ref_item    = lips-posnr.
      t_billing-doc_number     = p_vbeln.
      t_billing-itm_number    = lips-posnr.
      t_billing-ordbilltyp  = 'ZINV'.
      t_billing-price_date = sy-datum.
      t_billing-ref_doc_ca  = likp-vbtyp.
      t_billing-material    = lips-matnr.
      t_billing-plant       = lips-werks.
      APPEND t_billing.
    CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
      TABLES
        billingdatain         = t_billing
        return                = t_return
        success               = t_success
    commit work.
    Thanks,
    Naren

  • BDC for F4 help in MM01

    Hi
    I have done a BDC for mm01 but when I am selecting sales Org view and trying to click on F4 the transaction hangs. I further checked the BDC of F4 does not get recorded. I tried to use Ok code 04 but it only picks the first value in the search help and populates without showing the F4. I am attaching my Code. Please can you have a look how to accomplish the requirement
    PERFORM F_POPULATE_BDCTAB USING:
         '1'  'SAPLMGMM'          '0060',
         ' '  'BDC_CURSOR'        'RMMG1-MTART',
         ' '  'BDC_OKCODE'        '=AUSW',
         ' '  'RMMG1-MBRSH'       l_c_3,
         ' '  'RMMG1-MTART'       mtart,
         '1'  'SAPLMGMM'          '0070',
         ' '  'BDC_CURSOR'        'MSICHTAUSW-DYTXT(01)',
         ' '  'BDC_OKCODE'        '=SELA',
         ' '  'BDC_CURSOR'        'MSICHTAUSW-DYTXT(01)',
         ' '  'BDC_OKCODE'        '=ENTR',
        '1'  'SAPLMGMM'          '0080',
        ' '  'BDC_CURSOR'        'RMMG1-WERKS',
        ' '  'BDC_OKCODE'        '=ENTR',
         '1'  'SAPLMGMM'          '0080',
         ' '  'BDC_CURSOR'        'RMMG1-WERKS',
         ' '  'BDC_OKCODE'        '=04',
         '1'  'SAPMMG01'          '0700',
         ' '  'BDC_OKCODE'        '=12',
        ' '  'BDC_OKCODE'        '=04',
        ' '  'MSICHTAUSW-KZSEL(01)' c_x,
         '1'  'SAPLMGMM'           '4004',
         ' '  'BDC_OKCODE'         '=BU',
         ' '  'MAKT-MAKTX'         maktx,
         ' '  'MARA-MEINS'         meins,
         ' '  'MARA-MATKL'         matkl,
         ' '  'MARA-MTPOS_MARA'    'NORM'.
    Any help is appreciable.
    Thanks
    Arghadip

    The requirement is such that the User is going to enter the Material Type, Industry Sector,UOM and short text in Portal and I need to provide the MM01 screen to the user with the following data. Now when he is trying to select all the views to create in the Sales Org view and some other views another screen is appearing for Plant and Sales Org where it has a Value help which on clicking it gets stopped. The user wants the look and feel of MM01 through BDC including the Value help features and also those entry he has entered in Portal.
    Thanks
    Arghadip

Maybe you are looking for

  • Time Machine: Missing Snow Leopard backups after Lion Upgrade.

    I regulary use Time Machine for backups to my WD drive through my network.  After I upgraded to Lion I could not back up to my network drive   I learned through various forums that my WD drive required a firmware update, to work with Lion.  I upgrade

  • Error while applying patch MLR#4

    hi, I am getting error while applying patch MLR#4. Can you please let me know whats error can be resolved? Please see below the snapshots from log file. Thanks, Vaibhav Execute perf_wid_pid_pcid.sql Error: Abort transaction java.lang.NullPointerExcep

  • BINDING.JCA-12510 JCA Resource Adapter location error in SOA 11g Suite

    Hi, I am just testing one simple SOA Application in SOA 11g Suite. Created a SOA Composite Application with one DB Adapter at designtime all worked fine with DB Adapter. But when I deploy the Application on the server I get the following error: The J

  • Multiple objects selection

    I saw a tutorial by Mordy Golding which said you could select multiple objects w/different CMYK color values and change just one value without changing the others. I can not do this. Does anyone know what Im doing wrong? When I make a multiple select

  • Weblogic 8.1.6 problem.......

    Hi All, i am facing a strange problem, when i start the weblogic server after starting successfully it throws an exception :- <1-Nov-2007 3:10:23 o'clock AM EDT> <Info> <Socket> <BEA-000440> <Native IO Enabled.> <1-Nov-2007 3:10:23 o'clock AM EDT> <N