Error in document for BAPI_ACC_GL_POSTING_POST - help me with Pointers

Hi Gurus,
I have a question on BAPI_ACC_GL_POSTING_POST.
I tried to search in the forum, but didn't find any pointers on this.
I am getting error message like:
T ID                   NUM MESSAGE
E RW                   609 Error in document: BKPFF 50000000542009 DW1
E F5                   702 Balance in transaction currency
Please guide me on how to use this bapi.
Many Thanks,
Madan

Hi madan,
Follow the code carefully,
***data declatrions: dont forget this piece
lwa_doc_hdr-username = sy-uname.
lwa_doc_hdr-header_txt = 'HEAD'.
lwa_doc_hdr-comp_code =  '1900'.
lwa_doc_hdr-doc_date = sy-datum.
lwa_doc_hdr-pstng_date = '20090101'.
lwa_doc_hdr-doc_type = 'ZI' .
lwa_accntgl-itemno_acc = '000001'.
lwa_accntgl-gl_account = '2169000304'.
lwa_accntgl-comp_code  = '1900'  .
lwa_accntgl-doc_type   = 'ZI'.
lwa_accntgl-profit_ctr = '0001000891'.
APPEND lwa_accntgl TO lt_accntgl.
lwa_accntgl-itemno_acc = '000002'.
lwa_accntgl-gl_account = '2950500408'.
APPEND lwa_accntgl TO lt_accntgl.
lwa_curramnt-itemno_acc = '000001'.
lwa_curramnt-curr_type = '00'.
lwa_curramnt-currency   = 'CAD'   .
lwa_curramnt-amt_doccur = '10.00' .   ******posting key value 40
APPEND lwa_curramnt TO lt_curramnt.
lwa_curramnt-itemno_acc = '000002'.
lwa_curramnt-currency   = 'CAD'   .
lwa_curramnt-amt_doccur = '-10.00'.      ******posting key value 50
APPEND lwa_curramnt TO lt_curramnt.
lwa_extn-field1+0(10) = '000001'.
lwa_extn-field1+20(4) = 'ECGL'.
APPEND lwa_extn TO lt_extn.
lwa_extn-field1+0(10) = '000002'.
lwa_extn-field1+20(4) = 'ECGL'.
APPEND lwa_extn TO lt_extn.
CALL FUNCTION 'BAPI_ACC_GL_POSTING_POST'
  EXPORTING
    documentheader       =  lwa_doc_hdr
IMPORTING
  OBJ_TYPE             =
  OBJ_KEY              =
  OBJ_SYS              =
  TABLES
    accountgl            =  lt_accntgl
    currencyamount       =  lt_curramnt
    return               =  lt_return
    extension1           =  lt_extn.
WRITE:/ 'passed'.
we do not require  any posting keys as the currency can be passed directly.......Im my logic i am using extension structure for populating zfields.....use them only if u have to pass them else skip it...
Regards,
Durga.

Similar Messages

  • Hi, my iphone 4 is stuck telefonu because put the wrong security code. And I can not connect to itunes to update telefonu. I get an error and would like to help me with information Thank you!

    Hi, my iphone 4 is stuck telefonu because put the wrong security code.
    And I can not connect to itunes to update telefonu.
    I get an error and would like to help me with information
    Thank you! [email protected]

    We need the exact error message in order to help you.

  • Install Lightroom on a new computer - error message 2203.database Cannot open database file system error 2147287037. Can anyone help me with this?

    I am trying to install lightroom on a new computer and am getting error message 2203.database Cannot open database file system error 2147287037. Can anyone help me with this?

    This site has some info
    Error 2203 | Install | Creative Suite 4, 5, or 5.5 products or updates

  • TS3694 I get an error while restoring, error unknown (1015) someone can help me with this problem?

    I get an error while restoring, error unknown (1015) someone can help me with this problem?

    is there a way to restore to the original? it is a fiends I phone and it was jailbroken, and it is giving her many problems, I look over the apple information but there is no steps to follow to fix this. do you have any idea

  • Creating "Topic Alias" marker in FM document for CS Help

    Hi,
    I am eventiually moving toward creating content sensitive help and am looking at preparing the source documents for the leap (documents in my Framemaker version7 and book file) for the leap. On-line, it says that I should create markers called "Topic Alias" and marker the topics/ headings with this marker. I have tried to do this but, Once I convert those same documents (the book) into RoboHelp, my "Topic Alias" markers don't appear. What I find confusing is that my other markers (e.g. TOC markers) are visible in RoboHelp.
    Would someone know why my Topic Alias markers are not appearing? Am I preparing my document the correct way?
    Thanks you. I have posted this on the RoboHelp forum but as this deals with both FM and RoboHelp, I am also posting this here.
    Thanks,
    Ingrid

    Ingrid
    You should use the FrameMaker integration category in RoboHelp forum.
    Scenario 1 - Map files provided by Developers - If you import the map files in the project before you add the FrameMaker book in RoboHelp, context sensitive help should work fine. RH already has a map file called BSSCDefault.h - don't worry about it. The alias file was practically empty. When I checked "All Map IDs" in Project Manager, none of the IDs visible in the opening pane were assigned to topics.
    If you import the map files after you have added the book - you need to do one Force Update for RoboHelp to connect the two sets of information. All Map IDs are properly assigned to topics and the context-sensitive help worked properly
    Steps
    1. Add FM files to the project. Select the Topic Alias Markers in the Context Sensitive Help field during import.
    2. Go to Project Settings Pod, open Context Sensitive Help folder and right click on Map Files. You shall get Import Map File option in the context menu. In the import dialog box you will get option to import .hh, .hm and .h files. Please ensure that Locked option at the bottom is checked. RoboHelp will not touch your file if this option is on.
    3. If required, force update and then generate your SSL output.
    4. Use the Help for context sensitive help in your product.
    Scenario 2 - Map files generated by Help Author - We defined our special marker in the field "define context sensitive help marker". And there are markers (CSH_1 to n) in the topics but there are no map ids with the markertext from the framemaker files and thus there is no mapping. By the way, we are working with referenced framemaker files. You can generate MapID file through RoboHelp, export the mapid file and re-import it in locked mode.
    Steps
    1. Defined your special marker in the framemaker files:
    2. During import define your special marker in the correct option
    3. Import the FrameMaker files - Robohelp does not automatically create the mapIDs on the basis of our special markers in the framemaker files. There ae CSH_n-markers in the HTML-code of the topics, but they are not mapped automatically, because there are no mapIDs from the frammaker files. You can use the AutoMap feature in RoboHelp. Select topics on the right pane of the CSH dialog and click on AutoMap.
    4. Export the mapid file and re-import it in locked mode (as described in Scenario 1).
    I had updated my blog post - The behavior has changed after RoboHelp patch 7.0.1. RoboHelp does not generate the mapIDs automatically and enables you to load the developer provided mapping files. If you are generating mapping files for your developers, please generate it through RoboHelp and export it. For importing the mapping file -> Go to Project Settings Pod, open Context Sensitive Help folder and right click on Map Files. You shall get Import Map File option in the context menu. In the import dialog box you will get option to import .hh, .hm and .h files. Please ensure that Locked option at the bottom is checked. RoboHelp will not touch your file if this option is on.
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=65&catid=680&threadid =1349305&enterthread=y
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=65&catid=680&threadid =1348153&enterthread=y
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=65&catid=680&threadid =1349232&enterthread=y

  • Step to step document for F4 Help in Editable ALV

    Hi Gurus,
        I am new to Web Dynpros,
    It would be great if any one of you can send me a document for creating a F4 help for individual cells of an Editable Table....
    Its Very Urgent.....
    Pleas mail me @ [email protected]
    Points will be awarded to the useful answers / documents....

    Hello Kiran,
    In your context structure, where you have defined your context nodes and attributes, select the attribute for which you would like to have an F4 help and select the type of input help in the properties table underneath.
    Regards,
    Neha

  • Homesharing could not be activated because an error occurred (310). can anyone help me with the solution for this issue please?

    I'm unable to activate homesharing due to an error (310). does anyone know the solution to this issue?

    This is indicates a hardwre issue:
    Check for hardware issues
    Related errors: 1, 3, 10, 11, 12, 13, 14, 16, 20, 21, 23, 26, 27, 28, 29, 34, 35, 36, 37, 40, 1000, 1002, 1004, 1011, 1012, 1014, 1667, or 1669.
    Try to restore your iOS device two more times while connected with a cable, computer, and network you know are good. Also, confirm your security software and settings are allowing communication between your device and update servers. If you still see the error message when you update or restore, contact Apple support.
    Error 1015 might happen after making unauthorized modifications to iOS, also called "jailbreaking."
    Use recovery mode to restore your device
    Related errors: 1015, “The required resource can't be found.”
    You might see these error messages if your device has a beta version of iOS or if you're installing an older version of iOS (downgrading). Use recovery mode to restore your device to the latest version of iOS.
    Quit virtualization software
    Quit any virtualization software (such as Parallels or VMware) that’s running on your Mac. Then use the latest version of iTunes to restore your device.
    Resolve specific iTunes update and restore errors

  • Error log.  Can anyone help me with time capsule??

    Ok my problems started when I upgraded to Snow Leopard.
    So today I tried again using an ethernet connection. Took ages to verify back up and then prepared for back up and then failed. Here is my log
    Starting standard backup
    Attempting to mount network destination using URL: afp://Martin%[email protected]/TC01%20MJM
    Mounted network destination using URL: afp://Martin%[email protected]/TC01%20MJM
    Running backup verification
    QUICKCHECK ONLY; FILESYSTEM CLEAN
    Backup verification passed!
    QUICKCHECK ONLY; FILESYSTEM CLEAN
    Disk image /Volumes/TC01 MJM/Martin Murray’s MacBook Pro_0023df87b79e.sparsebundle mounted at: /Volumes/Backup of Martin Murray’s MacBook Pro
    Backing up to: /Volumes/Backup of Martin Murray’s MacBook Pro/Backups.backupdb
    Event store UUIDs don't match for volume: Macintosh HD
    Node requires deep traversal:/ reason:must scan subdirs|new event db|
    No pre-backup thinning needed: 59.50 GB requested (including padding), 349.98 GB available
    Indexing a file failed. Returned 200 for: /Applications/Adobe Bridge CS4/Plug-Ins/multiprocessor support.plugin, /Volumes/Backup of Martin Murray’s MacBook Pro/Backups.backupdb/Martin Murray’s MacBook Pro/2010-07-25-152744.inProgress/7DAFB63C-32BA-4824-9546-AEFA2F7CC9E9/Macintosh HD/Applications/Adobe Bridge CS4/Plug-Ins/multiprocessor support.plugin
    Aborting backup because indexing a file failed.
    Stopping backup.
    Copied 15 files (3.1 MB) from volume Macintosh HD.
    Copy stage failed with error:11
    Backup failed with error: 11
    Ejected Time Machine disk image.
    Ejected Time Machine network volume.
    Attempting to mount network destination using URL: afp://Martin%[email protected]/TC01%20MJM
    Mounted network destination using URL: afp://Martin%[email protected]/TC01%20MJM
    QUICKCHECK ONLY; FILESYSTEM CLEAN
    Disk image /Volumes/TC01 MJM/Martin Murray’s MacBook Pro_0023df87b79e.sparsebundle mounted at: /Volumes/Backup of Martin Murray’s MacBook Pro
    Can anyone help me please???
    Thanks,
    Martin

    mjm81 wrote:
    Indexing a file failed. Returned 200 for: /Applications/Adobe Bridge CS4/Plug-Ins/multiprocessor support.plugin
    Time Machine is having a problem with that file. See #C3 in [Time Machine - Troubleshooting|http://web.me.com/pondini/Time_Machine/Troubleshooting.html] (or use the link in *User Tips* at the top of the +Time Machine+ forum).

  • Submit a document for approval and accompany with supporting documents

    Frequently, the document that is being submitted for approval, requires to be accompanied by supporting documents which may be Excel spreadsheets and/or Word documents and/or Autocad Drawings and/or PDF documents.
    How can I route these supporting documents along with the document being processed for approval?
    Thank you very much for your guidance.

    Do you have Sharepoint Standard License?
    I think what you need is start working with Document Sets. You can create workflow to Documents sets that treat multiple documents as if it's an archive. 
    http://blogs.technet.com/b/vedant/archive/2010/04/21/using-the-document-set-feature-in-sharepoint-2010-part-1.aspx

  • I tried downloading the Adobe Premiere and Photoshop 13, but got error 7. Would someone help me with this?

    I have a PC and tried downloading Photoshop and premiere but weren't able to complete. I got error 7. Does this mean not compatible with my PC? It has windows 7.

    uninstall, clean (Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6) and reinstall.
    if you see an error message in english, attach a screenshot of it.

  • TS3694 My I Phone 3G cannot be restored. I have error message 1015 Could anyone help me with restoring the phone?

    Can anyone help in restoring the I phone 3G?

    iTunes- Possible iTunes Store errors
    error 1015 itunes - Google Search

  • BCD_NO_SIGN error whille trying for F4  help

    hi all,
    Please throw light upon BCD_NO_SIGN dump during F4 help for activity type
    in Fleat Management module.
    whats the solution for the dump...
    thanks

    Check note 995443.
    Rob

  • TS3694 i was updating my iphone to 6.1.3 and received error code 6 would some help me with this error

    im updating my iphone 4 to the latest update and received error code 6 would someone tell me what is this?

    Hello, Joyce.
    Error 6 can be tricky.  It usually is related to a 3rd party software conflict like security software or a modification of your TCP/IP protocol.  It the article that you referenced, iTunes: Specific update-and-restore error messages and advanced troubleshooting, see the section labeled "Errors related to third-party security software".  Go ahead and try the first two of that section.  If that does not work an uninstall of your antivirus software or attempting to restore on a new computer might be necessary.  I have included the links to those steps below. 
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/TS3694
    iTunes: Troubleshooting security software issues
    http://support.apple.com/kb/TS3125
    Cheers,
    Jason H. 

  • Material Document for Scrap consumption not Found

    Dear Friends
    During order confirmation, molten material / raw material is consumed by 261 MT and dross SH100002 is generated by MT 531 along with the finished product with MT 102. I reversed finished product through 102 MT and Raw material through MT 262. Thus do I need to reverse dross through MT 532, against order?
    When I went to MB51, I found the material document for finished Material production with MT 101 and raw material consumption with MT 261. But in MB51when I tried to find out dross generation with MT 531, I did not get any material document for that particular order no.
    In the production order though total quantity: 88000 and delivered quantity is only 26000. When user is trying to confirm the production order only for 200 units, system is giving the following error message:
    Overdelivery is not permitted (Check entry)
    Message no. RU139
    Diagnosis
    The total yield and scrap confirmed exceeds the overdelivery tolerance defined in the order header.
    Procedure
    You can either
    u2022 reduce the confirmed quantity
    u2022 deactivate the tolerance check during confirmations (customizing),
    u2022 increase the overdelivery tolerance in the order header and then enter the confirmation again
    Please tell me why Material movement of dross/ scrap is not visible and why production order is not getting confirmed
    Thanks
    Chandra

    Chandra,
    When you say te movement is with order confirmation then I assume that it is backflush of the components & byroduct.
    If you do not find the material document in MB51 then it is not posted yet.
    In that case excute T code COGI & process the same.
    Regarding the order confirmation error, kindly check the 'Goods receipt' tab page in the order header.
    The delivery completed indicator must be marked. Unmark the same & save.
    Now try to process the confirmation.
    Anyhthing else please let me know.
    Hope this helps you.
    SmanS

  • Help me with keyboard hotkeys

    I have a presario compaq CQ62-238DX notebook
    My laptop has built in keys for my f1,f2,f3,f4,f5,f6,f7,f8,f9,10,f11,f12. They all do random stuff that help new users. I want them gone and theres no simple setting where i can turn them off. I have to press fn then the f1 to make it useful. (gaming). Some examples would be the f2 makes the screen darker and f12 turns the internet wireless on and on, but i want them disable so i can use them for gaming without pressing fn.

    You Can disable that functionality by disabling "Action Keys Mode" in the BIOS...
    Here is the document, that will help you with it... http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02035108&cc=us&dlc=en&lc=en&jumpid=reg_R1002_US
    Although I am an HP employee, I am speaking for myself and not for HP.
    Make it easier for other people to find solutions, by marking my answer with 'Accept as Solution', if it solves your problem.
    Click on the BLUE KUDOS button on the left to say "Thanks"

Maybe you are looking for

  • IMessage on Macbook not working correctly

    Recently, my imessage isn't working on my macbook. When I click on a message that is already active, the whole chat deletes and the blank chat goes to the bottom of the list, as if it was the least recent chat I've had. When I sent messages, no messa

  • AE crashes every time I quit application

    When I am done for the day and go to close AE CC2014 (release 13.1.1), I get a crash report with the screen below.  Standard layout with 1 additional ScriptUI panel (Ease and Wizz) open. Project saves fine, but when I Quit, I get an error and crash l

  • What to do if you've forgotten your password for y...

    Hi, Needed some help, i've totally forgotton my password on my memory card is there any way i can retrieve the data on it? thanks, JT

  • Problems installing SMC 4.0 agent into Linux (OpenSUSE) client

    Can't seem to get the agent to start..... Sucessfully installed all the software........ Installed the JAVA_HOME variable and software and did a: chkconfig snmpd on then ran the setup script............... This is the ouptut: Started ./es-setup at We

  • Will WAAS be worth it?

    Hello, We have our headquarters in New York and a remote office in Chennai India. The circuit between the offices is a 10mbps MPLS with a big provider. The performance of web applications is fine. Users start to complain when it comes to Windows file