Journal voucher IDOC or BAPI

Hi All,
We will be getting one file from external system and I need to post journal vouchers in SAP. We are discussing on posting Journal Vouchers through IDOC or BAPI. Basically we are looking at automating this process. Please let me know which IDOC and Message Type will help me in posting Journal Vouchers. Also please let me know which Standard BAPI or Functional Module will help me in Posting Journal Voucher.
Thanks
Rajanikanth

Hi All,
BAPI BAPI_ACC_GL_POSTING_POST can post an Journal Voucher.
Thanks
Rajanikanth.

Similar Messages

  • Not able to post journal voucher because of unbalanced system currency

    Hi
    I am not able to post journal voucher because of unbalanced system currency (the local currency is matching).
    what should be done, i have posted close to 70 entries!!!!!
    I am using SAP 2005B patch level 44
    please help
    Thanks

    Hi santosh,
                      To the account to which you are posting the entry.What currency you have set for it.
    regards,
    PankajK

  • IDOC -to -BAPI -to -BAPI scenario

    Hi ,
       my scenario is   IDOC - to - BAPI - and BAPI(Response) -to - BAPI (Req) .
    I think a bit confusion  . Actually I'm getting the data from  MDM system through an IDOC  into XI system  and I want to post this data into an ECC system by using RFC. so, up to this level scenario is simple IDOC - to - RFC. but  i want to post the RFC response message to MDM system  . for posting this reponse in MDM system they created a simple BAPI and  that BAPI will post the data into a ZTABLE in MDM system . so  i want to pass the BAPI(ECC system) response message to  BAPI(MDM  system).
    So, please suggest me  the steps and how can we achive this..
    Because for creating the Out bound interface as synchronous  system is not accepting one IDOC message and and one BAPI message.
    Regards
    Jain

    Hello,
    You can achieve this using BPM
    Async Rec - transfortm  - sync send (Req/Response)- transform - send response
    Regards,
    Sreenivas.

  • JOURNAL VOUCHER APPROVAL PROCESS

    Dear Experts,
    I want to create an approval procedure for Journal Vouchers.
    I did the following:-
    I created a UDF - MD-Approval on accounting - Journal transactions header with valid values of Pending, Declined and Approved. Pending is the default value. The field is a mandatory field.
    I made the MD the only user who can edit this field by creating a category in Settings- Fields - setup that is relevant to him only
    I created a stored procedure to block posting of journal Vouchers unless the UDF status reads "approved"
    --------- Block unapproved Journal Voucher-----
    if @object_type = '30' and @transaction_type IN ('A', 'U')
    BEGIN
    IF Exists (Select T0.TransID  from dbo.OBTF T0
    WHERE T0.TransId=@list_of_cols_val_tab_del and U_MD_APPROVAL <> 'Approved')
    select @error = 101, @error_message = 'This Journal Voucher requires MD Approval'
    End
    The stored procedure above is not working and journal voucher are processed irrespective of the udf field status. Kindly review and let me know what is wrong with it.
    Regards
    George Njuguna

    Hi
    U have to amend it like this :
    if @object_type = '30' and @transaction_type IN ('A', 'U')
    BEGIN
    IF Exists (Select T0.TransID  from dbo.OJDT T0
    WHERE T0.TransId =@list_of_cols_val_tab_del and t0. U_MD_APPROVAL <> 'Approved' and  Transtype='30')
    select @error = 101, @error_message = 'This Journal Voucher requires MD Approval'
    if @object_type = '30' and @transaction_type IN ('A', 'U')
    BEGIN
    Set @Transtype =(Select  Transtype from OJDT WHERE T0.TransId =@list_of_cols_val_tab_del )
    declare @Transtype as int
    If Transtype='30'
    Begin
    IF Exists (Select T0.TransID  from dbo.OJDT T0
    WHERE T0.TransId =@list_of_cols_val_tab_del and t0. U_MD_APPROVAL <> 'Approved' )
    select @error = 101, @error_message = 'This Journal Voucher requires MD Approval'
    End
    END
    Thanks
    TAruna

  • Journal voucher print

    Hi, expert
    my client wants when i take a print out of a journal voucher it should be print the details like company name & address of the header, in SAP standard format it is not showing ? can it be make any changes or not ?
    regards
    gk

    i already discuss with my ABAPER he told that , its a Standard report & there is no space for details so i cant do any change

  • LSMW: Idoc or BAPI; which one is better and why ?

    Hi All,
    In LSMW, given the choices between Idoc and BAPI,which processing method is good and why?
    Please do reply asap. Its urgent.
    Best regards.
    Ram

    The preferece of Import Techniques are:
    1)Batch Input
    2)Direct Input
    3)BAPI's
    4)IDOCS's
    5)Recording
    6)Custom Program
    <b>
    Refer these Links:</b>
    Re: LSMW with Recording or LSMW with BAPI?????
    Regards,
    AS

  • How to change the cash journal voucher

    Hi
    Pls advice how to change  the cash journal voucher lay out , that is auto generated in the system.
    I need to add some fields.
    Thanx

    Hi,
    U need to develop your own layout with the help of your ABAPer with the required fields.
    Then Go to the following path
    Display IMG --> Financial Accounting --> Bank Accounting --> Business Transactions --> Cash Journal --> Setup Print Parameters for Cash Journal.
    Hope you are clear.
    Cheers
    P O I N T S

  • Importing a journal voucher with GL Codes and BP Codes

    Hi Experts,
    I'm trying to get a DTW import for Journal Vouchers working on 8.8 PL05. I have a journal voucher template with GL Codes and BP Codes that I need to import as this is part of some integration.
    If I leave out the BP Codes it works fine but if I add them into the sheet is gives a DTW error "invalid account code application-defined or object-defined error 65171".
    I have tried to add BP code to shortname and add contra account.
    Please any help would be appreciated.
    Regards
    Lou van Wyk

    Welcome to SAP forum Lou...
    I do not know about 8.8 Journal vouchers, but some time ago we were importing with BP codes and we ran into a somewhat similar situation.  I believe we had to format the BP codes to Text in Excel before saving the file to CSV.
    Another time I was working with an individual who had not set up two BP Master Data records before doing transactions like it states in SAP's User Guide titled Data Migration and Opening Balances...
    Maybe that helps?
    Regards,
    Zal

  • How to create Journal Voucher ?

    I 've tried the sample codes from the SAP Help and other with the same result.  I can't create a Journal Voucher.  Either the errors "-5011 Error Msg:Tax account has not been defined for the selected tax", "-5002 Error Msg:Date deviates from permissible range"
    How can i overcome all these errors ? 
    thanks in advance

    Where to put the JournalEntries.Add line was the key!

  • IDOC/ALE/BAPI/BADI

    Hi,
    I want to understand the difference between IDOC/ALE/BAPI/BADI in context to a functional consultant.what is the role of each with an EXAMPLE.I want to basically understand with examples w.r.t SD or MM instead of theory which i could get in forum.
    What is the role of a functional SD consultant, in these technology mentioned?
    If i have to Test a BAPI or BADI what is that i should test???what is the T codes to be tested ? How to go about it??
    Like in case of Order to cash testing, i will check if the sales cycle runs well, using T codes, Va01, vl01n, vf01.
    Awaiting reply.
    Thanks
    LK

    Hi Lekshmi,
    I want to understand the difference between IDOC/ALE/BAPI/BADI in context to a functional consultant.
    what is the role of each with an EXAMPLE.
    I want to basically understand with examples w.r.t SD or MM instead of theory which i could get in forum.
    What is the role of a functional SD consultant, in these technology mentioned?
    Idoc/ALE/BAPI/BADI are basically advanced functionalities available in ABAP. These are treated as seperate module by somebody as "Cross Applications".
    If we get in
    IDOC is the concept which works for Third party communication from SAP.
    Scenarion 1:
    For example: I am a Buyer from your Company and i don't have SAP system where you have SAP Practice. I had given you one Order for which i need Confirmation and it needs to understand by my system. In this case IDOC is useful to transfer the confirmation details to my system understandable language. This can be acheived by any other outputs like e-Mail/Printout/Fax. But for these kind of Outputs thers is one limitation. those are in document form means if you take the print out it confirmation can be taken as a print out as a hard copy or soft coy by saving into PDF format. but that data cannot be accessed by my system to convert that data for further my own reporting purpose. if we use IDOCs.
    These Idocs are transferred through Middleware and reach third party system (in this example my own system which does not have SAP) and store the details. later i can use that data how ever i can for my internal reporting purpose.
    Scenario 2:
    ALE: ALE also works like above, but the difference is this works for SAP-SAP communication. if i take the above example.... I have SAP System being a buyer and you have SAP sytem. Order Confirmaiton come from your system to my system.
    If i have to Test a BAPI or BADI what is that i should test???what is the T codes to be tested ? How to go about it??
    Like in case of Order to cash testing, i will check if the sales cycle runs well, using T codes, Va01, vl01n, vf01.
    There is no such tcodes to test the enhancement functionality.
    I assume you knows SAP SD.
    If i take the example of SD Sales Order.
    PO Number field is to explain the enhancement testing.
    Your client enhanced the functionality of PO Number for which you are doing the testing for example.
    now you get inside of the VA01 transaction and put all the headeer data and PO Number and press enter.
    then based on the enhancement functionality system will act.
    For example.. you had given AAA111 for Customer 123456.
    You have entered Inside of VA01 and entered Sold and Shipto numbers as 123456. then entered PO number as BBB111 and press enter.
    As per the enhancement you suppose to enter PO number as AAA111 for customer 123456, but you entered as BBB111.
    Based on your enhancements system will through the error saying you entered wrong PO Number.
    This is the testing part usually Functional Guy do.
    Please let me know if you have any further clarification
    Thanks & Regards
    Venkat

  • SAP HR related IDOC and BAPI with description

    Hi,
    This is regarding SAP HR. Here I need some help from you guys.
    It would be great if you could provide list of SAP HR related IDOC and BAPI with description.
    If you have any document then please forward same to [email protected]
    Thanks,
    Sunil Bhavsar

    hello Sunil ,
    to find BAPIs realted to HR,use transaction BAPI and there u have to look for personnel management,time etc ,these all are HR related.
    HR related Idocs shud be having Message type like HR*.
    hope thts wht u needed.
    amit

  • Journal Voucher Posting Authorizations

    SAP Business One 2007A. User cannot see button "Post journal" on journal voucher screen. Reviewed authorizations and according to How to define authorizations user needs journal voucher full, document numbering series, and journal entry. User has all of these authorizations and more as well as professional license and still cannot see button.
    How do I determine which authorization is missing?

    hi
    Please make sure that the user is having the full authorization and not read only authorization under financial-journal voucher
    Regards,
    Manish

  • Doubt on IDoc and BAPI

    Hi Experts,
    I doing Idoc to file scenario, my question is when we go ahead to use IDOC or BAPI. please give me some basic understanding of when and how you use IDoc?
    When to use BAPI?
    Please provide some links of document
    Regards,
    Venkatesh

    Hi,
    when u want  asynchronous communication u have to use IDOCS
    when u want to use synchrnous communciation and want to communicate external langauges u have to use BAPIS
    For File to IDOC,
    in R/3
    1.create rfc connection using sm59
    2.create Logical sys using bd54
    3.create port using we21
    4.create partner profile using we20
    in xi
    1.create rfc connection using sm59
    2.create Logical sys using bd54
    3.create port using IDX!
    for IDOC to FIle
    R/3 side
    1.create rfc connection using sm59
    2.create Logical sys using bd54
    3.create port using we21
    4.create partner profile using we20
    5.distribute busynessmodel using bd64
    for xi side
    1.create rfc connection using sm59
    2.create Logical sys using bd54
    3.create port using IDX!
    4.create partner profile using we20
    ALE configuration for pushing idocs from SAP to XI
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    IDOC testing using WE19
    /people/sameer.shadab/blog/2005/07/25/reposting-idocs-instead-of-recreating--for-testing-purpose-xi
    File To IDOC - Part1 (SLD and Design):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC&
    File To IDOC - Part2 (Configuration):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part2+(Configuration)&
    File To IDOC - Part3 (Steps required in XI and R3):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part3(StepsrequiredinXIandR3)&
    SAP R/3
    R/3 to XI
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (We21)
    a) First Select Transactional RFC and then click create button
    b) Enter the destination port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Create Partner Profile (WE20)
    a) Create New
    b) Create the Partner no. name as same the logical system name of the destination system.
    c) Select Partner type LS
    d) Enter details for Type: US/USER, Agent, and Lang.
    e) Click on the + button to select the message type.
    f) Select Partner no. and LS which ever create above.
    g) Select Message type
    h) Select Process code related to the Message type.
    I) save.
    XI to R/3
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (IDX1) ( Create port to get IDOC Meta data from sender system)
    a) Select create new button
    b) Enter the port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Load Meta Data for IDOC (IDX2) (To maintain IDOC Metadata, it is needed by XI because XI needs to construct IDOC-XML from IDOC. It is not needed by any sap system).
    a) Create new
    b) IDOC Message Type
    c) Enter port created in IDX1.
    Edited by: krishnachitanya siddavattam on Mar 7, 2008 5:37 AM

  • Need T code and standard IDOC or BAPI

    Hi All
    Need Transaction Code For Assortment Module.
    Is there any Standard Idoc or Bapi for Assortment Module Conversion. Please share.
    Regards
    Aboli

    Hi,
    Below are the transactions related to Assortment
    WSOA3 Assortment Display
    WSOA1 Assortment Create
    WSOA2 Assortment Change
    WSOA6 Assortment Assignment Tool
    WSO7 Display Assortment Module Assignment to Assortment
    WSL5 Modules In Assortment
    WSO1 Assortment Module Create
    WSO5 Maintain Assortment Module assignment to Assortment
    WSK1 Assortment Copy
    WDBM Manual Selection Assortment List
    I hope it helps you.
    Thanks
    Ravi kanth

  • Standard Idoc or BAPI to trasfer the routes and stages data

    Hi guys,
    We want to transfer the routes and stages data from one SAP system to other SAP system . can u suggest any standard idocs or BAPIs to do the job.
    thanks
    sankar
    Edited by: sudhakar murthy on Apr 1, 2009 10:18 AM

    hello guys
    any idea on this????
    thanks

Maybe you are looking for

  • Problems with signal level around the house ????

    Hi Guys, I have had my BT Home HUb 2.0 for just about a month now and after having very little luck with my new laptop which i have replaced twice and am now on my 3rd (Samsung) all working well, i am still having problems with using my laptop with t

  • HTTP/1.1 and MINE --- request

    The following is an example of a HTTP Request, can anyone tell me if it is all right? if I use HTTP/1.1, what are the restriction I have to face if I use MINE 1.0? for example, any feature or function I have to omit. POST /RecipientServer/mailbox HTT

  • Usb port macbookpro early 2006

    on my MacBook Pro 15"MacBookPro1,1  Intel Core Duo 1.83 GHz, is a 1.0 and a 2.0 usb  port. I want to know ;is the 2.0 one, left or right?

  • Mapping Exception when using Business service

    Hi I am using a business service for my IDOC to File scenario and its working fine. But when i am using the same Business service in many work spaces for the same scenario, its giving me an Mapping Exception and the one that was working also giving t

  • Can the new numbers export PDF as more than one page?

    I just upgraded to the new version of Numbers for OS X Mavericks and it seems I can not see my document as different pages or even export a PDF as several pages. Thanks, Alex Neuman