Br*tools on external system

Hi people,
I´m following the steps from note 1025707 - DBA Cockpit: Planning calendar and remote Oracle databases to connect and external system for the administration and monitoring from dbacockpit. The external system is a java systema.
One of the prerequisites from 1025707 is In addition, at least BRTools 700 patch level 24 (Oracle client 10) or BRTools 640 patch level 42 (Oracle client 9) must be used on the external system.
How can i to install br*tools in the Java system?
More thanks

Hi Ruben,
You need to install standalone gateway instance first in order to execute DBA calendar process, remotely. Then, you can perform DBACOCKPIT configuration.
At the end of it, you will be able to execute brtools on Java host, by an ABAP based system.
Best regards,
Orkun Gedik

Similar Messages

  • Configure plain http adapter for receiving message from an external system

    Hi,
    we use Pi/700.
    Now I have an external system and I have to use HTTP (plain) to send messages to XI (via plain http adapter).
    I have no experiences with HTTP!
    In the external system I can only configure "URL, Username, Password" for sending messages - that's all!
    What do I have to configure in XI (communication channel, abap-stack, java-stack,...)?
    I don't know the URL of my XI-system. Is there an transaction code to get this information?
    Why do I need a Username/Pasword?
    For testing I can use a "http-post test tool" I found here in this forum.
    Thank you all for any help!
    Regards
    Wolfgang

    Hi Hummel,
    In Exteranl System u have to use these values
    name="myhost"      value="xiserver"
    name="myport"      value="8000"
    name="mysystem"    value="XY_BSservice"
    name="myinterface" value="Order_out"
    name="mynamespace" value="urn:xi:hcl:powebapp"
    name="myqos"       value="BE"
    name="myclient"    value="300"
    name="myuser"      value="XYZCLNT"
    name="mypass"      value="xiuser"
    Here My system is the Business service created in Integration directory of XI, Interface is the one created in Integration Repository (This is Outbaound from external sys to XI)
    In XI U have to create
    Data Types : 1) Source Structure data type(from extenal sys)
                 2) Target structure (where u want to send from XI)
    Message Types : 2 with above DT's
    Message Interface: 1) Outbound, Async (Order_out)
                       2) Inbound , Async (for the target sys)
    Then Message mapping and Interface mapping as usual..
    And in ID u have to create 2 services one is XY_BSservice for sending system and the other is for receiving system...
    For sending system no communication channel required...
    Hope u will get idea from the above..
    Need any further u r welcome..
    Regards
    Sridhar

  • Mail from Workflow to external system with mail text in body of mail

    Hi All,
    I have extended workflow WS12300111 to send mail to external system. But in external system mail text is coming in attachment & without formating (Multiple lines are coming in single Row).
    I want to know how to send text in body of mail (instead of attachment)  to external system, when we are sending mail using Send Mail option in Workflow.
    Thanks & Regards,
    Rajesh

    Thanks Rick, I am aware of this function module - but trying to use workflow tool - "Mail Send" option. I need to send text & link to my portal application.... Now I can send text in body of mail... but how can we provide link in mail to open portal application to make user to perform required action (Leave approve or Reject etc)..
    I am new to Workflow soo learning thru my errors and from queries on SDN
    -Rajesh

  • SAP Cloud Application Studio Create Custom Web Service From Custom Business Object and Consume in External System

    Hi Experts,
    I have requirement to create custom business object and create Web Service for that and use in external system (SAP ECC / SAP CRM / Third Party).
    1) Is it possible to create custom object web service and used in external system ?
    2) When we create the Web service from custom business object what the necessary steps(action : Create , Read , Update) require?
    3) Sample Scenario :
    My Custom Business Object
    businessobject Custom_Integration {
      element EP_VAL1 : LANGUAGEINDEPENDENT_MEDIUM_Text;
      element EP_VAL2 : LANGUAGEINDEPENDENT_MEDIUM_Text;
      element IP_RES : LANGUAGEINDEPENDENT_MEDIUM_Text;
    I have created the Web Service using this custom business object.
    3) How i can use this web service in external system? what are the prerequisite steps in external system to consume this service in it?
    Please anyone have idea about this how to do this and how to achieve this using SDK and custom business object.
    Many Thanks
    Mithun

    Hello Mithun,
    Does this section in the documentation help you:
    SAP Cloud Applications Studio Help -> Developers Desktop -> Web Services
    The entry "Task -> Create a Web Service" describes how to create a Web Service on your own BO
    The entry "Task -> Test a Web Service" helps you how you can use it in a foreign tool / application.
    HTH,
       Horst

  • Sending IDoc from external system to XI system

    Hi All,
        I want to send an IDoc from a subsytem (External System) to the SAP PI system. how to achieve the same ?
    Regards,
       Santosh

    hi,
    >>>Do you mean to say the port I am creating for the external system should actually refer to a SAP system
    not the port - port's name should be a new one but the RFC should point to an SAP system
    >>>and the IDoc you want to transmit should be imported to that port using the tcode IDX2.
    this will be transported then from SAP application system
    >>>>In fact I have already done the same step but its still not working the IDoc is not reaching the XI system.
    then you should see the error in your sending tool - I worked with JCO IDOC client and the error was always
    very explanatory (like BS in SLD missing etc.) so it was pretty easy to debug
    Regards,
    Michal Krawczyk

  • Getting data to PSA (staging area) using an external system

    Hi there,
    I am a BI Newbi and trying to understand technique of getting data to PSA (staging area) through an external system. I would prefer a high level of integration  not via DB-Connect, Flat-File, ...
    Can I use bapis to get data to PSA?
    How and where do I trigger those BAPIS?
    Can I PUSH data from external application into PSA?
    Do I need the scheduler?
    I read several docus about third party tools e.g. BEA Adapter but do have some general problems understanding the overall process.
    Can anyone clearify?
    Regards,
    Sebastian Heinz

    You can use Time Machine to back up your files and then use the Migration assistant to bring back your files from the Time Machine backup. Other applications such as Carbon Copy Cloner may also do the job for you.

  • Open Hub External System

    Hi,
    I have a basic requirement to extract data out of Open Hub into an external Oracle database. I have read previous threads online on this topic, but still have a couple of questions that are not clearly answered.
    Firstly, my client complies with all licensing arrangements to use Open Hub.They do not want to use flat files and they do not have access to tools like the Microsoft Connector described in many online blogs. 
    Secondly, my client would like BW to kick off the process chain, load into an internal BW table, and then raise a trigger to the external Oracle database to come and "pull" the data from the newly created table. I am new to working with API's, but I read about standard API's been available to achieve this, but I would like some simple clarrification:
    - In my Process Chain, after I load the Open Hub data into the internal table, I want BW to use the API RSB_API_OHS_3RDPARTY_NOTIFY to tell the external system it's ready to pull the data. Reading the docu about this API, it seems like this needs to be initated from the external Oracle database. Is this correct (I would hope BW could do this) ? And if so, I dont know if my client has these API's on their Oracle system. How do I ensure they do ? I imagine they are freely available, but since I am not a DBA, and do not have access to someone who can tell me or not, I would like to know what the standard procedure for API communication is here. An example or white paper showing the API (with parameters) for a real life scenario would be ideal.
    - If the above does not work, even though they say the Microsoft connector tool can be used for Oracle, I am hesitant to use a Microsoft tool, when surely Oracle has their own free tool to do this - or can the Microsoft Connector integrate directly with an Oracle database ??????
    - When we refer to the term "Third Party Tool", does this mean a ETL tool like Informatica, or a connection tool like the Microsoft Connector, or the external database like the Oracle database in this example ?
    Any clarrification with the above would be most appreciated. I do not have access to a BW system yet, so I would like to know some of the details before I propose a potential solution.
    Thanks,
    BWPerson

    Hi
    Here are some documents:
    http://help.sap.com/saphelp_nw04/helpdata/en/ce/c2463c6796e61ce10000000a114084/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e830a690-0201-0010-ac86-9689620a8bc9
    http://www.bwexpertonline.com/archive/Volume_01_(2003)/Issue_05_(May)/V1I5A5.cfm?session=
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f12a03d-0401-0010-d9a7-a55552cbe9da
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/tree.htm
    http://www.thespot4sap.com/forums/m_30/mpage_1/key_/tm.htm
    hope it helps
    Fil.

  • External system Contact Error

    Hi,
    I am getting the following Error.
    HttpTargetConnector:ExternalApplicationException. HttpStatusCode returned:500.
    External System responded with an error status. looking for a solution for the same

    Ok I'm going to ask some more questions now so I can help to track your problem :)
    - What tools release are you using?
    - How are you consuming the third-party webservice? (UDDI, WSDL-URL, WSIL-URL or file)
    - Is your Webserver behind a firewall or a proxy?
    - Depending on how you consume the webservice; do you get a page/file when opening the URL in your browser?
    PeopleSoft automatically detects if a webservice is synchronous or asynchronous depending on the amount of port types in the details of the WSDL (if this is infact what you're using).

  • Call XI webservice from external system

    I found this WSDL in XI. How can I use that from an external system to call the BAPI routine?
    see <a href="http://www.janjoker.nl/GE/scrdump.jpg">screen print</a>

    Hi,
    please go thru the link below and see if u have followed the steps mentioned in it while defining the web service. if it still doesn’t help you, please do give a little more detail about the scenario you are doing...
    http://help.sap.com/saphelp_erp2004/helpdata/en/31/daa0404dd52b54e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_erp2004/helpdata/en/54/048d40e802ce62e10000000a155106/frameset.htm
    You can create SOAP Request from WSDL using the following tool.
    http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916ebc4159c
    You've to expose your outbound message interface as a WSDL which can be used by say EP.
    Also go thru the following threads
    Re: WebService
    Re: SOAP Client for Synchronous Scenario
    Re: How to test a webservice as a standalone?
    In any B2B scenario, you're going to have stricter security requirements. XI and other SAP applications in the vast majority of cases reside within the internal network of a company, as I'm sure it does for your company A. It is recommended to have some kind of reverse proxy/web switch hardware/software residing in the DMZ to intercept the external request. Direct requests (especially HTTP) by most, if not all, companies will not be allowed to freely pass to applications within a company's intranet.
    SAP has something called the Web Dispatcher that is commonly used for such a purpose. You can find more info on it at the following link:
    http://help.sap.com/saphelp_nw04/helpdata/en/42/5cfd3b0e59774ee10000000a114084/frameset.htm
    You'll also find some visuals and more security related topics at the following link:
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/ef2940cbf2195de10000000a1550b0/frameset.htm
    In addition, you'll probably require a more secure transport protocol like HTTPS/SSL as well.
    Regards,
    Abhy

  • Send routings to external system using ALE

    Hey guys,
    I am using ECC 6.0. Under tools->ALE->Master Data Distibution-> Logisitcs-> Bill of Material -> Routings i tried to send a routing to an external system which is already setup for many other types of master data. I get the error "Transaction code /SAPMP/SEROU cannot be executed" . I do not know how to fix it.
    I also tried using transaction POIM but did not understand how to send the BOM along with routings and work centers in that T-code. I am able to send materials through that screen successfully but nothing else. If someone could help me out I would appreciate it.
    Thanks in Advance.

    AN issue regarding " Long Texts "(texts in accounting document).
    1) Am using RFBIBL00( Direct Input method ) to transfer Accounting Documents.
    2) I need to Update "Texts" both Header & line item for accounting document using Direct input method.
    3)I tried to append a custom 'Z' include, that calls SAVE_TEXT function module, in program RFBIBL00 to save texts for the respective Accounting document.But the performance is  very low.
    4)If I use direct input program /SAPDMC/SAP_LSMW_IMPORT_TEXTS or /SAPDMC/SAP_LSMW_SXDA_TEXTS how will it save texts to document, before it is created , since we are still in LSMW that just generates .CONV file , but it might not create account document number, once the .Conv file goes to RFBIBL00, account document gets generated .
    5)another major issue am encountering is , if one of a document fails (error) how about updating texts.How i send text to BDC in this case.
    My queries are :
    a) Is there any other way to update texts using Direct input method ?
    b)Can I integrate, direct input program RSTXLITF  with RFBIBL00, is that feasible, will i be able to save texts with out any performance issues ?
    I would really appreciate if am given some suggestions or solutions for the above case.
    Thanks alot in Advance !

  • Exchange message between XI and External System

    Hello.
    I am working on building an application that can exchange message with XI. I went through many documents and forums, but I found that most of them is in the boundary of XI and SAP not XI and external system. I just wonder if there is any simple code available that I can start working? Or any helpful suggestions are also welcome.
    Thanks.
    Kevin.

    Hi Kevin,
      Xi is an intergration tool which servers the purpose of integrating SAP with nonSAP systems.Many adapters are provided which enables to connect and transfer data (in the form of xml) to external systems.Sap can talk to .net.....pls have a look at the blog :
    https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    Sap to legacy systems(file to file scenario):
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    With database systems:
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    /people/saravanakumar.kuppusamy2/blog/2005/01/19/rdbms-system-integration-using-xi-30-jdbc-senderreceiver-adapter
    webdynpro to xi intergartion:
    /people/sap.user72/blog/2005/09/15/connecting-to-xi-server-from-web-dynpro
    /people/saravanakumar.kuppusamy2/blog/2005/02/07/interfacing-to-xi-from-webdynpro
    https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1334 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    And the mail adapter enables you to talk to email servers:
         /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    Hope these help you in better understanding of this tool.
    Regards
    Priyanka
    Message was edited by: Priyanka Balagangadharan

  • Adapter setting for external system

    Hi,
    I have to connect external data system with CRM for BP & products.
    What type of adapter are available in CRM 4.0 to connect  to external system?
    What are the setting & where are located in CRM
    How to ensure that import is done 100% correct?
    Your reply is highly appreciated.
    Thanks,
    Sush

    Hi Sush,
    If you have to carry out an initial load for the master data, you can use the LSMW and DX-WB(Data Transfer Workbench).The DX-WB updates IDocs in the CRM-XIF format via the main memory into the application.You can use the LSMW to generate such IDocs. The only requirement for this file is that mapping to the CRM-XIF IDoc must be possible for it. This mapping is defined in the LSMW.
    IDoc types CRMXIF_PARTNER_SAVE_M01, CRMXIF_PARTNER_REL_SAVE_M01 and CRMXIF_PRODUCT_SAVE_M01 in Transaction WE30. These are used in the LSMW and DX-WB.
    Or
    you can use a 3rd party EAI tool which can execute XML/SOAP calls. Then function modules CRMXIF_PARTNER_SAVE, CRMXIF_PARTNER_REL_SAVE, and CRMXIF_PRODUCT_SAVE can be called by means of XML/SOAP and execute the mapping of the customer structures to the CRM-XML.
    Check for the OSS notes 448742 for more details.
    Please reward with points.
    cheers,
    Mark

  • JCAPS deployment to multiple external system environments.

    While creating deployment profile, we need to map the resources (such as jdbc, webservice connector) to external systems.
    External systems are predefined with the target server ip, port, db name, credentials etc(in case of jdbc).
    So the problem is an EAR built for test environment can not be deployed to production environment without a re-build. This introduces concerns of manual errors and inconsistencies.
    In simpler applications we could store database/credentials etc on to property files and hence EAR built for UAT could be deployed to Production with out any change.
    Or we could edit database resources per environment and all the resources would be using JNDI names.
    Is there a similar strategy available for JCAPS by which EARs built against an environment can be promoted to another seamlessly?

    Take a look at: http://eai.ittoolbox.com/groups/technical-functional/seebeyond-l/changing-properties-of-an-interface-after-deployment-logging-interface-2105662
    A brief Summary:
    - Many adapters can be dynamically configured - that is config info can reside in a database.
    - Java Caps Allows for connection to an LDAP server for dynamic lookup. There is some caveats described in the link above. It also seems to have been preserved for compatibility reasons in CAPS 6 (see below). I do not know if the basic problem (how to find the correct LDAP environment for your needs) have been officially solved in the CAPS 6 implementation
    - Tools like iDeploy (for ICAN 5.0.5 J2EE) and iConfigure (distributed by Support) allows for updates of a specific EAR-file with config parameters stored in files. I doubt sincerely that these are (or have ever been) supported (despite of Sun Support distribution) or maintained.
    - It is possible to perform jndi-lookups from collabs or external code. The transactionality aspect is however unpredictable.
    - I believe what would work for you is the new CAPS6 dynamic configuration functionality. For an overview, please note: http://wikis.sun.com/download/attachments/38767325/JavaCAPS6+Application+Configuration.pdf?version=1&modificationDate=1225463856000 and http://wikis.sun.com/display/JavaCAPS/Application+Configuration and http://wikis.sun.com/display/JavaCAPS/Application+Configuration+Lab.

  • Id like to watch RWB from External System

    To XI specialist
    Id like to watch RWB(Runtime Work Bench) from External System.
    What I want is
    "If Sender Adapter is error, re-schedule from scheduler "
    "If Integration engine is error, re-schedule from scheduler "
    "If Receiver Adapter is error, re-schedule from scheduler "
    So I want to watch the status of RWB.
    Maybe There is the status in the DB of XI of in the LogFile of XI.
    If I can watch the status, I don't care the way of watching, by db, api, file...
    Please give me your help!
    thanks Naoki

    Hi,
    CCMS is installed on SAP so it will work there you can use tools like Tivoli/HP Openview to monitor CCMS which can give you status of SAP anywhere you want.
    Another option is to use Java API and write custom code to connect SAP and watch status, which may consume time to write such cose and also will work slow.
    I am using IBM Tivoli to watch my SAP systems from non-sap system. It can give you alert in file/db if you like.
    Regards,
    Gourav
    Rew<i>ard points if it helps you</i>

  • EDI - Outbound Accounting Posting Journals to External System

    Hi Experts,
    I have a requirement in which I have to outbound
    Accouting Journals to an external system...
    Does standard SAP support such a functionality.
    I looked at the outbound process code and was unable
    to find anything on accounting.  (which does make sense...) I also noticed that journal entry transactions such as FB01 do not have output controls like SD or MM.
    Would I not be able to utilize standard idocs in this case?

    Hi Rolmega,
    Please refer the OSS note 616804 .That is exactly matching your requirement and guide you through out the development.
    OSS note 616804.
    Create a BAPI which can be used to create cash journal documents.
    To do this, carry out the steps specified below in your system, or import the relevant Support Package.
    1. In Transaction SE37, select the menu option 'Goto' -> 'Function Groups' -> 'Create group'. Create function group SAPLFCJ_BAPI with the short text 'BAPI for FI cash journal' and save it.
    2. In Transaction SE37, create function module BAPI_CASHJOURNALDOC_CREATE in function group SAPLFCJ_BAPI in package CAJO with the short text 'Save FI cash journal documents' as a remote-enabled module.
    a) Create the following function module documentation for the function module:
                            With BAPI BAPI_CASHJOURNALDOC_CREATE, you can save a document when you execute in the FI cash journal, in the same way as when you make an entry via the Interface Transaction FBCJ.
                            If the TESTRUN field is set, the system only carries out the checks and not the actual backup process when the database is updated.
                            If you want to save a cash journal document, the program that calls the BAPI has to execute the COMMIT WORK to update the document.
                            A document can contain several split rows.
                            You can post either expenses or receipts for each document. In other words, either the ITEMS-P_PAYMENTS or the ITEMS-P_RECEIPTS field has to be filled in all line items.
                            If the document contains several line items or entries in the control table, assigned net or tax base amounts are deleted.
                            The initiator has to assign the item number (ITEMS-POSITION_NUMBER) for all line items or for none.
                            If the initiator assigns one-time data, the item numbers (CPD_ITEMS-POSITION_NUMBER) have to correspond to the respective line item (ITEMS-POSITION_NUMBER). The same item number may be used in one one-time line item only.
                            If the extended withholding tax is active in the company code used, you can create only one line item and no split document for vendors or customers that are relevant for withholding tax.
                            The vendor has to be filled for all assigned rows of the withholding tax information (table WTAX_ITEMS).
                            If withholding tax information is to be assigned, the indicator for withholding tax type (WTAX_ITEMS-WTAXTYPE) has to be filled with a value that is defined in the vendor master record. In addition, the same indicator for the withholding tax type may be assigned in one line of the ITEMS table only. The system does not take into account the external item number for withholding tax information.
                            In the TAX_ITEMS table, the same tax code may be assigned in only one line.
                            If there are entries in the TAX_ITEMS table, every tax code or jurisdiction code of this table has to be assigned in at least one line of the ITEMS table or be able to be derived from the Customizing for the business transaction.
                            If, in Customizing,  there are accounts and tax codes for interface transactions that are flagged as not ready for input, then the BAPI derives values that are transferred in the ITEMS table again and overwrites them if necessary.
                            A check recognizes that field HEADER-CHECK_NUMBER is filled when the BAPI is called.
                            You cannot use the BAPI to save a document in a cash journal if this cash journal is simultaneously blocked by another interface user or another BAPI initiator. When you execute the BAPI, the system also sets a block for other users.
                            The initiator of the BAPI can transfer additional field values via the EXTENSION_IN table and can process them further in a BADI called in the customer_function subroutine.
                            You cannot change saved documents or deposit checks.
    a) Enter the following import parameters:
    Parameter Name  Type  Associated Type  Opt  Pass Value  Short text
    HEADER          LIKE   BAPI_CJ_HEADER        X           Document header
      Long text:
    In the HEADER structure, you can assign the document header information of the cash journal document to be saved. Basically, the structure corresponds to the fields of the TCJ_DOCUMENTS table that are ready for input on the cash journal interface and which contain header information only.
    TESTRUN         LIKE  BAPI2021_HELP    X    X     Indicator for test run
                            TESTRUN                     without update
      Long text:
    If the TESTRUN field is set, the external structures transferred when the BAPI is called are assigned to the internal cash journal structures. The relevant checks are also carried out. However, no update occurs to save the document on the database.
    b) Enter the following export parameters:
    Parameter Name  Type  Associated Type  Pass Value Short text
    COMPANY_CODE    LIKE  BAPI_CJ_HEADER   X          Company code
                            -COMP_CODE
      Long text:
    The COMPANY_CODE parameter contains the company code of the saved cash journal document.
    CASH_JOURNAL_NUMBER LIKE BAPI_CJ_HEADER       Cash journal number
                              -CAJO_NUBMER
      Long text:
    The CASH_JOURNAL_NUMBER parameter contains the cash journal of the saved cash journal document.
    FISCAL_YEAR         LIKE BAPI_CJ_KEY   X     Fiscal year
                              -FISC_YEAR
      Long text:
    The FISCAL_YEAR parameter contains the fiscal year of the saved cash journal document, but it is only filled for check totals documents.
    CASH_JOURNAL_DOC_NO LIKE BAPI_CJ_KEY   X     Document number
                              -POSTING_NUMBER     cash journal document
      Long text:
    The CASH_JOURNAL_DOC_NO parameter contains the internal document number of the saved cash journal document.
    c) Enter the following table parameters:
    Parameter Name Type  Associated Type Optional Short text
    ITEMS           LIKE  BAPI_CJ_ITEMS            Cash journal documentitems
      Long text:
    In the ITEMS table, you can assign the information for the line items of the cash journal document to be saved. Basically, the spaces in the table fields correspond to the fields of the TCJ_POSITIONS table that are ready for input on the cash journal interface and which contain item information only. You can assign several line items per document, in the same way as for the split lines that can be entered via the interface transaction.
    TAX_ITMES     LIKE  BAPI_CJ_TAX_ITEMS  X      Cash journal tax items
      Long text:
    In the TAX_ITEMS table, you can assign tax information for the cash journal document to be saved. In this way, you can for example affect tax amounts derived from the system, in the same way as tax information is changed on the split window of the interface transaction.
    CPD_ITEMS     LIKE  BAPI_CJ_CPD_ITEMS  X      One-time data
      Long text:
    In the CPD_ITEMS table, you can assign information for one-time customers or vendors that are contained in line items of the ITEMS table. Basically, the table fields correspond to the fields of the TCJ_CPD table, which are ready for input on the one-time window.
    WTAX_ITEMS    LIKE  BAPI_CJ_WTAX_ITEMS X      Withholding tax in the
                                                    cash journal document
      Long text:
    In the WTAX_ITEMS table, you can assign information on the extended withholding tax for a vendor that is contained in a line item of the CJ_ITEMS table. Basically, the table fields correspond to the fields of the TCJ_WTAX_ITEMS table, which can be changed the withholding tax window.
    EXTENSION_IN  LIKE  BAPIPAREX          X   Container for
                                                 'Customer Exit'
      Long text:
    In the EXTENSION_IN parameter, you can transfer parameters that can be processed further in the BADI CJ_DOCUMENT, which the user of the BAPI BAPI_CASH_JOURNAL_CREATE has to implement.
    For example, you can assign data to the TCJ_POSITIONS table in the form of Include CI_COBL or information profitability segments or real estate.
    RETURN         LIKE  BAPIRET2               Return parameter
      Long text:
    In Table RETURN, the messages of the program are returned to the initiator of the BAPI.
    d) Save and activate the changes.
    1. Using Transaction SE11, create data type (structure) BAPI_CJ_HEADER in Package CAJO with the short description 'Cash journal document header for transfer to a BAPI'.
    a) Via the 'Extras' menu option, select 'Cannot Be Enhanced' as the enhancement category.
    b) Create the following fields:
    Field            Data element
    COMP_CODE        BUKRS
    CAJO_NUMBER      CJNR
    CURRENCY         WAERS
    CURRENCY_ISO     WAERS_ISO
    DOC_DATE         BLDAT
    PSTNG_DATE       BUDAT
    REF_DOC_NO       XBLNR1
    BP_NAME          CJBPNAME
    ALLOC_NMBR       DZUONR
    TEXT1            CJDOCTEXT100
    TEXT2            CJDOCTEXT30
    CHECK_NUMBER     SCKNR_EB
    CHECK_ISSUER     CJCHECKISSUER
    BANK_KEY         BANKK
    BANK_ACCT        BANKN
    BANK_CTRY        BANKS
    BANK_CTRY        BANKS
    BANK_CTRY_ISO    BANKS_ISO
    SCBANK_IND       LZBKZ
    SUPCOUNTRY       LANDL
    SUPCOUNTRY_ISO   LANDL_ISO
    c) Save and activate the changes.
    2. In Transaction SE11, create data type (structure) BAPI_CJ_ITEMS in Package CAJO with the short description 'Cash journal line item for transfer to a BAPI'.
    a) Via the 'Extras' menu option, select 'Cannot Be Enhanced' as enhancement category.
    b) Create the following fields:
    Field            Data element
    POSITION_NUMBER  CJBUZEI
    TRANSACT_NUMBER  CJTRANSNUMB
    P_RECEIPTS       BAPIWRBTR
    P_PAYMENTS       BAPIWRBTR
    P_NET_AMOUNT     BAPIWRBTR
    H_NET_PAYMENT_WT BAPIWRBTR
    GL_ACCOUNT       HKONT
    TAX_CODE         MWSKZ
    TAXJURCODE       TXJCD
    VENDOR_NO        LIFNR
    CUSTOMER         KUNNR
    POSITION_TEXT    CJPOSTEXT
    BUS_AREA         GSBER
    TR_PART_BA       PARGB
    TRADE_ID         RASSC
    CS_TRANS_T       RMVCT
    FUNC_AREA        FKBER
    CO_AREA          KOKRS
    COSTCENTER       KOSTL
    ACTTYPE          LSTAR
    ORDERID          AUFNR
    ORDER_ITNO       CO_POSNR
    CALC_MOTIVE      BEMOT
    COSTOBJECT       KSTRG
    CO_BUSPROC       CO_PRZNR
    PROFIT_CTR       PRCTR
    PART_PRCTR       PPRCTR
    WBS_ELEM         PS_POSID
    NETWORK          NPLNR
    ACTIVITY         VORNR
    ASSETMAINO       BF_ANLN1
    ASSETSUBNO       BF_ANLN2
    VALUEDATE        BF_BZDAT
    ASSETTRTYP       BF_ANBWA
    PLANT            WERKS_D
    VAL_TYPE         BWTAR_D
    MATERIAL         MATNR
    SALES_ORD        KDAUF
    SCHED_LINE       KDEIN
    S_ORD_ITEM       KDPOS
    FM_AREA          FIKRS
    FUNDS_CTR        FISTL
    CMMT_ITEM        FIPOS
    FUND             BP_GEBER
    FUNDS_RES        KBLNR_FI
    RES_ITEM         KBLPOS
    PERSON_NO        PERNR_D
    BUPLA            BUPLA
    SECCO            SECCO
    c) Save and activate the changes.
    3. In Transaction SE11, create the data type (structure) BAPI_CJ_TAX_ITEMS in Package CAJO with the short description 'One-time data of cash journal line items for transfer to a BAPI'.
    a) Via the 'Extras' menu option, select 'Cannot Be Enhanced' as the enhancement category.
    b) Create the following fields:
    Field            Data element
    TAX_CODE         MWSKZ
    AMT_TAX          BAPITXBTR
    AMT_BASE         BAPIFWBAS
    TAXJURCODE       TXJCD
    c) Save and activate the changes.
    4. In Transaction SE11, create the data type (structure) BAPI_CJ_CPD_ITEMS in Package CAJO with the short description 'One-time data of cash journal line items for transfer to a BAPI'.
    a) Via the 'Extras' menu option, select 'Cannot Be Enhanced' as the enhancement category
    b) Create the following fields:
    Field            Data element
    POSITION_NUMBER  CJBUZEI
    ANRED            ANRED
    NAME             NAME1_GP
    NAME_2           NAME2_GP
    NAME_3           NAME3_GP
    NAME_4           NAME4_GP
    SOLE_PROP        STKZN
    REP_NAME         REPRES
    STREET           STRAS_GP
    POSTL_CODE       PSTLZ
    CITY             ORT01_GP
    COUNTRY          LAND1_GP
    COUNTRY_ISO      LAND1_ISO
    PO_BOX           PFACH
    POBX_PCD         PSTL2
    REGION           REGIO
    POBK_CURAC       PSKTO
    BANK_ACCT        BANKN
    BANK_NO          BANKL
    BANK_CTRY        BANKS
    BANK_CTRY_ISO    BANKS_ISO
    CTRL_KEY         BKONT
    BANK_REF         BKREF
    INSTR_KEY        DTAWS
    DME_IND          DTAMS
    TAX_NO_1         STCD1
    TAX_NO_2         STCD2
    TAX_NO_3         STCD3
    TAX_NO_4         STCD4
    SLS_PUR_TX       STKZU
    FITYP            J_1AFITP_D
    TAX_NO_TY        J_1ATOID
    EQUAL_TAX        STKZA
    SPRAS            CHAR_LG_01
    LANGU_ISO        LAISO
    BUS_TYPE         GESTYP
    IND_TYPE         INDTYP
    c) Save and activate your changes.
    5. In Transaction SE11, create the data type (structure) BAPI_CJ_WTAX_ITEMS in Package CAJO with the short description 'Withholding tax in cash journal document for transfer to a BAPI'.
    a) Via the 'Extras' menu option, select 'Cannot Be Enhanced' as the enhancement category.
    b) Create the following fields:
    Field            Data element
    POSITION_NUMBER  CJBUZEI
    VENDOR_NO        LIFNR
    WTAXTYPE         WITHT
    WT_WITHCD        WT_WITHCD
    W_TAX_BASE       BAPIQSSHB
    WI_TAX_AMT       BAPIQBSHB
    c) Save and activate the changes.
    6. In Transaction SE11, create the data type (structure) BAPI_CJ_KEY in Package CAJO with the short description 'Key fields for cash journal documents'.
    a) Via the 'Extras' menu option, select 'Cannot Be Enhanced' as the enhancement category.
    b) Create the following fields:
    Field            Data element
    FISC_YEAR        GJAHR
    POSTING_NUMBER   CJBELNR
    c) Save and activate the changes.
    7. Using Transaction SE91, create the following messages for message class FCJ and select the 'Self-explanatory' field for each one:
    a) 011: 'Document & & & was saved successfully.'
    b) 012: 'Enter a gross amount.'
    c) 013: 'Enter only the disbursement or incoming payment amount for each document.
    d) 014: 'Enter the item numbers for all items or for none of them.'
    e) 015: 'The number of tax items may not be larger than the number of items.'
    f) 016: 'Only one tax item allowed per tax code/jurisdiction code.'
    g) 017: 'Enter the item number for one-time items.'
    h) 018: 'With several line items (split), do not enter any withholding tax items.'
    i) 019: 'Business transaction without G/L account or tax code.'
    j) 020: 'No line item with tax code/jurisdiction code of the tax item.'
    k) 021: 'In company code & taxes without jurisdiction code.'
    l) 022: 'Do not enter any tax item for posting indicator '3' (T007B-STBKZ)'
    m) 023: 'Document could not be saved. Correct the errors listed'
    n) 024: 'Business place + section code only with extended withholding tax.
    o) 025: 'Net/tax base is deleted for several items or tax items'
    p) 026: 'No line item corresponds to one-time item &.'
    q) 027: 'Do not enter any withholding tax info if customer not w.tax-relevant'
    r) 028: 'Do not enter any withholding tax info if vendor not w.tax-relevant'
    s) 029: 'Do not enter any withholding tax info for G/L account posting.'
    t) 030: 'Vendor in withholding tax information is not in line item.'
    u) 031: 'Only one one-time item is allowed per item number.'
    v) 032: 'Only one withholding tax item is allowed per withholding tax type.'
    w) 033: 'Number of assigned withholding tax items deviates from master data.'
    x) 034: 'No vendor required for business transaction.
    y) 035: 'No customer required for business transaction.'
    z) 036: 'Enter only receipts for checks.'
    8. In Transaction SE37, call the FCJ_SAVE and FCJ_SAVE_DOCUMENT function modules in change mode.
    a) Add import parameter I_XBAPI of TYPE BOOLEAN to these function modules. Select the Optional and Pass Value fields and enter the short text 'Indicator whether the call occurs from a BAPI'.
    b) Also add the import parameters I_POSTING_NUMBER, LIKE, ISCJ_POSTINGS-POSTING_NUMBER for the function module FCJ_SAVE_DOCUMENT. Select the Optional and Pass Value fields.
    c) Save and activate the changes.
    9. In Transaction SE37, create the function module FCJ_SAVE_DOCUMENT_BALANCE_BAPI in the function group SAPLFCJ_PROCESS_MANAGER in Package CAJO with the short text 'Save cash journal document and balances for BAPI' as an update module with  'Start immed'.
    a) Enter the following import parameters:
    Parameter Name      Type  Associated Type           Opt Pass Value
    I_COMP_CODE         LIKE  TCJ_C_JOURNALS-COMP_CODE       X
    I_CAJO_NUMBER       LIKE  TCJ_C_JOURNALS-CAJO_NUMBER     X
    I_CURRENCY           LIKE  TCJ_DOCUMENTS-CURRENCY         X
    I_TYP               TYPE   CJTRANSTYP                     X
    I_DISPLAY_PERIOD_LO LIKE  SY-DATUM                        X
    I_DISPLAY_PERIOD_HI LIKE  SY-DATUM                        X
    I_POSTING           LIKE    ISCJ_POSTINGS                  X
    I_POSTING_NUMBER    LIKE  ISCJ_POSTINGS-POSTING_NUMBER   X
    b) Enter the following tables:
    Parameter Name      Type  Associated Type
    ITCJ_POSTINGS       LIKE  ISCJ_POSTINGS
    ITCJ_WTAX_ITEMS     LIKE  TCJ_WTAX_ITEMS
    ITCJ_SPLIT_POSTINGS LIKE  ISCJ_POSTINGS
    ITCJ_CPD            LIKE  TCJ_CPD
    10. In Transaction SE18, define the BADI CJ_DOCUMENT. The corresponding interface is IF_EX_CJ_DOCUMENT.
                   The method has the following 'Changing' parameter: Parameter             Type        Associated Type
    C_ITCJ_SPLIT_POSTINGS Type        ISCJ_POSTINGS
    C_ITCJ_SPLIT_TAXES    Type        ISCJ_POSTINGS
    C_ITCJ_CPD              Type        TCJ_CPD
    C_ITCJ_WTAX_ITEMS     Type        TCJ_WTAX_ITEMS
    C_EXTENSION2           Type        BAPIPAREX
    C_RETURN                Type        BAPIRET2
                  You can use an implementation of this BADI to change the cash journal structures before the data check is processed.
    1. Implement the attached corrections in your system.
    2. In Transaction SE37, release the function module BAPI_CASHJORUNAL_DOC_CREATE via the menu path 'Function module' -> 'Release' -> 'Release'.
    3. In Transaction SWO1, create the object type BUS2023.
    a) Create the following key fields for the object type:
    Key field           Name               Data type reference
    CompanyCode       Company Code        TCJ_DOCUMENTS
                                            -COMP_CODE
    CashJournalNumber Cash Journal Number TCJ_DOCUMENTS
                                            -CAJO_NUMBER
    FiscalYear        Fiscal Year         TCJ_DOCUMENTS
                                            -FISC_YEAR
    CashJournalDocNo  Cash Journal        TCJ_DOCUMENTS
                      Document Number     -POSTING_NUMBER
    b) Create the 'Create' method synchronously and instance-independent as an 'API function' with the name BAPI_CASHJOURNALDOC_CREATE.
                            Create the following parameters for the method: Parameter          Obj Type  Imp.  Man.  Exp.
    Header             BUS2023    X     X
    Testrun            BUS2023    X
    CompanyCode          BUS2023                X
    CashJournalNumber   BUS2023                X
    FiscalYear         BUS2023                X
    CashJournalDocNo   BUS2023                X
    Items               BUS2023    X     X
    TaxItems           BUS2023    X
    CPDItems           BUS2023    X
    WTaxItems          BUS2023    X
    ExtensionIn        BUS2023    X
    Return             BUS2023                X
    a) Create the 'ExistenceCheck' method synchronously and define the following source code:
                            begin_method existencecheck changing container.
                            DATA: l_mandt TYPE sy-mandt.
                            SELECT SINGLE mandt INTO l_mandt
                            FROM tcj_documents
                             WHERE comp_code = object-key-companycode
                               AND cajo_number = object-key-cashjournalnumber
                               AND fisc_year = space
                               AND posting_number = object-key-cashjournaldocno.
                            check sy-subrc <> 0.
                            exit_object_not_found.
                            end_method.
    a) Under the menu option 'Goto' -> 'Documentation', define the following text for object type BUS2023:
                            A cash journal document is assigned to a cash journal and a company code.
                            It contains a unique document number from a company code-dependent number range interval that is independent of the number range interval of the G/L document. Cash journal documents are also numbered sequentially per company code and cash journal.
                            A cash journal document contains the offsetting entries for the G/L account of the cash journal in which G/L or person accounts are posted to for the business transaction.
                            You can save, delete, post or reverse a cash journal document. In the two last cases, there is a corresponding G/L document. This can be a receipt, a disbursement of cash, or the receipt of checks.
    1. In Transaction BDBG, set up the IDOC processing for the object type BUS2023 and the method CREATE.
                   The function module for ALE outbound processing with data refining is ALE_CASHJOURNALDOC_CREATE.
                   The function module for ALE inbound processing is called IDOC_INPUT_CAJODOC_CREATE.
    1. In Transaction 'SALE', maintain the ALE distribution. Here, maintain the steps generally required for a distribution process. Take into account the existing documentation of the operation. Execute the following steps for the BAPI used to save cash journal documents.
    a) Maintain the distribution model under the path 'Model and Implement Business Processes' -> 'Maintain Distribution Model and Distribute Views'. The object name is 'CashJournalDoc' and the method name is 'Create'.
    b) Execute the menu option 'Edit' -> 'Model view' -> 'Distribute' for the selected model view.
    c) Select the path 'Model and Implement Business Processes' -> 'Partner Profiles and Time of Processing' -> 'Generate Partner Profiles'. (See corresponding documentation in document OALE_AUTOPARTN_BD82.) Enter the selected model view in the distribution model and the selected target system as the partner system.
    2. To monitor the distribution of the IDOCs, use Transaction BD87 in both the sender system and the receiver system, and you can reach it via the path 'Tools' -> 'ALE' -> 'ALE Administration' -> 'Monitor' -> 'Status Monitor'.  The relevant message type is CASHJOURNALDOC_CREATE.

Maybe you are looking for