Configurations required to import BAPI/RFC definitions into IR
Hi,
I'm a beginner in XI, and I need some help to deliver my project on time.
I have an interface as below:
Source: Custom built J2EE system
Target: SAP R/3 I-SH v4.71
1. Source system initiates a SOAP request to XI, requesting for information from the target system.
2. XI map the SOAP message format to the required format expected by the target system.
3. XI invokes an existing RFC/BAPI in the target system with the transformed message as input.
To perform step 2, I need to import the BAPI definition.
My question is:
What configurations are required on the target system (SAP) and XI and SLD, before I can import the BAPI definition into IR and start doing the mapping?
Please help.
Thank you in advance.
Regards,
Ron
Hey
i m not sure wat u exactly mean by importin BAPI,but to import RFC u dont need any special configuration,u can simply do that in IR and to import IDoc u need the followin
In R3...
RFC dest to XI (sm59)
Logical system (bd54)
Port to XI (we21)
Partner profile for the logical system (we20)
In XI...
RFC dest to R3 (sm59)
Port to R3 (idx1)
create metadata for the idoc (idx2)
In sld...
create business system for R3.
thanx
ahmad
Pl:Reward with points for helpful answers
Similar Messages
-
Is there a way to import cakewalk INS definitions into garageband?
I have an Alesis QSR sound module, and want to import the sounds into garageband. I don't really know anything about midi, apart from hooking up a controller when I play out. I can download the instrument definitions as an INS file for cakewalk, but don't know how to import that into garageband, or if this is even supported. Any help would be greatly appreciated. Thanks!
Hi Patrick,
I am addressing the similar issue. "Getting data from huge XMLs into Hana."
Using Odata services can we handle huge data (i.e create schema/load into Hana) On-the-fly ?
In my scenario,
I get a folder of different complex XML files which are to be loaded into Hana database.
Then I gotta transform & cleanse the data.
Can I use oData services to transform and cleanse the data ?
If so, how can I create oData services dynamically ?
Any help is highly appreciated.
Thank you.
Regards,
Alekhya -
A way to import all site definitions into CS4 from MX2004?
Is there a way to do this? I have the site definition
registry keys backed up for MX2004. Is there a way to load these
all at once into CS4?
I appreciate any help you can give me!
Stacey> I need a way to export the .ste files from MX2004 all at
once
MX2004 didn't have this capability.
> Or, is there a way I can use the registry keys to get
the site info. into
> CS4?
I wouldn't try this, as the key ID would be different.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"stacey.dyer" <[email protected]> wrote in
message
news:gir3dv$dcu$[email protected]..
> Thanks so much for your quick reply. I think I wasn't
clear enough. I
> need a
> way to export the .ste files from MX2004 all at once. I
can only select
> one
> site at a time there.
>
> Or, is there a way I can use the registry keys to get
the site info. into
> CS4?
>
>
> Thanks so much!
> -
Questions on Importing an Enterprise Service Definition into PI via ESR
Hi all,
I 've just created a service definition for BAPI_CUSTOMER_GETDETAIL2 and imported it into ESR and PI (steps below)
1) ERP - Created a Service Definition for BAPI_CUSTOMER_GETDETAIL2 called ZSD_ACCOUNT_GET_DETAIL
2) Configured the EndPoint in SOAMANAGER (tested the service works fine)
3) Published the Service in ESR (cut and paste the WSDL URL into the Publish Wizard in ESR)
--- Question1 - is there a way to publish from ERP directly
- (something simiar to how in PI Integration Builder you can publish a Sender Agreement
by opening the Sender Agreement and selecting Sender Agreement -> Publish in SR)
4) Created External Definition for the Message Definitions in PI
- I did this by downloading the WSDL from the ZSD_ACCOUNT_GET_DETAIL in ERP
- manually editing the WSDL to remove the policy defintions
- Imported the external definition into PI
--- Question 2 - Is there an easier way to get the WSDL or XSD in ERP (e.g. from the BAPI without the policy statements)?
--- Question 3 - Is there a way for PI Enterpise Service builder to import the definition straight from ESR (a menu option)?
--- Question 4 - Is there a way to export the WSDL from ESR to a file.
As I said I have it working but it definitely appeared to be a "clunky" process.
Any answers or tips in streamlining this would be appreciated.
Cheers,
JohnHi Mark,
Thanks for your response. I was aware of the functionality and I appreciate the link.
In hindsight I could have used this to import the data structures into the Enterprise Service Builder, which answers Questions 1 and 2.
For Questions 3 and 4, I guess I'm still looking for a better understanding of how the service registry and the Enterprise Service Builder interact.
Right now I'm publishing the service in the service registry and importing external defintions in the Enterprise Service builder.
I think this is cumbersome and ideally would think that the Enterprise Service Builder could "pull" external definitions from the service registry.
Thanks again for clarifying questions 1 and 2. The updated question list is below.
Regards,
John
Question1 - is there a way to publish from ERP directly
- no, instead use the import rfc and idoc functionality built into the Enterprise Service Builder
Question 2 - Is there an easier way to get the WSDL or XSD in ERP (e.g. from the BAPI without the policy statements)?
- Rather than use the WSDL use theimport rfc and idoc functionality built into the Enterprise Service Builder
Question 3 - Is there a way for PI Enterpise Service builder to import the definition straight from ESR (a menu option)?
Question 4 - Is there a way to export the WSDL from ESR to a file. -
How to import BAPI into XI?
-Naveen.Hi Naveen,
It is similar like importing RFC into the Repository.
For this go to Integratio Repository->SWCV->Imported Objects->RFCs->right click to import.
For this your SWCV should have permited to access SAP Application systems. For this go to SWCV ->open that->there are 2 option buttons. Once you select , tehn it will ask you to enter SAP system details.
More clearly-
After importing the software component from SLD select the option Import of RFC and IDoc Interfaces from SAP Systems Permitted.. Under this software component and under Imported Objects RFCs and IDocs can be imported. Right click on it which will launch a wizard in which provide the details to connect to the R/3 system and choose the BAPI/RFC. And continue
Hope this helps,
Regards,
Moorthy
Message was edited by: Krishna Moorthy P -
Hi All, We are in to Release 11.5.10.2.There is a specific requirement to Prevent users from creating Manual Sales Orders in Oracle and yet users should be able to book the Sales Orders Imported from CRM system into Orcale.Please advise.
Thanks for your advise.
However, I missed to mention that we have two set of users One is for Finished Goods and another for Spares.
Only Spares users need to be prevented from creating Direct/Manual Sales Orders in Oracle.
As you suggested, if this will be done at Form level, that may Disallow FG users also to create Manula Sales Orders which should not be the case.
Further, I tried to test one scenario through Processing Constraints but it did not work.
Application
OM
Validation Type
Entity
Temp
Short Name
TBL
Validation Semantics
Created By
Equal To
User(Myself)
Processing Cosntraint
Application
OM
Entity
Order Header
Constraint
Operation
User Action
Create
Not Allowed
Conditions
Group
Scope
Validation Entity
Record Set
Validation Template
101
Any
Order Header
Order
Above Created
Please advise. -
RFC or Bapi RFC ? to import RFC Adaptive Model - Is the same one or other?
Hi:
I want to know if is exactly the same to import a RFC not a (BAPI marked as RFC) to use the model, since I'm getting this error:
[Info]: Creating Model: PepueModel
[Info]: Creating Model Class: Z_Psim_Ngc_Pep_Ue_Input
[Info]: Creating Model Class: Z_Psim_Ngc_Pep_Ue_Output
[Error]: RFC Import Failed. The import has been terminated.
[Fatal]: com.sap.mw.jco.JCO$Exception: The function module "DD_DOMA_GET" not released for 'remote' calls.
[Fatal]: com.sap.ide.metamodel.importers.rfcmodel.RFCImportFailedException: RFC Import failed. Cause: class com.sap.mw.jco.JCO$Exception:The function module "DD_DOMA_GET" not released for 'remote' calls.
com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: The function module "DD_DOMA_GET" not released for 'remote' calls.
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeExecute(Native Method)
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.execute(MiddlewareRFC.java:1221)
at com.sap.mw.jco.JCO$Client.execute(JCO.java:3691)
at com.sap.mw.jco.JCO$Client.execute(JCO.java:3136)
at com.sap.mdi.ddtypes.DDFactory.execute(DDFactory.java:173)
at com.sap.mdi.ddtypes.DDFactory.execute(DDFactory.java:164)
at com.sap.mdi.ddtypes.DDDomain.<init>(DDDomain.java:45)
at com.sap.mdi.ddtypes.DDDataelement.<init>(DDDataelement.java:59)
at com.sap.mdi.ddtypes.DDFactory.analyseJCOReturn(DDFactory.java:451)
at com.sap.mdi.ddtypes.DDFactory.getDDObject(DDFactory.java:434)
at com.sap.mdi.ddtypes.DDFactory.getDDObject(DDFactory.java:372)
at com.sap.mdi.ddtypes.DDFactory.getDDObjectWithSubtree(DDFactory.java:262)
at com.sap.mdi.RfmParameter.getDDObject(RfmParameter.java:602)
at com.sap.dictionary.types.mdi2metamodel.R3ToMetamodelDictionaryConverterWithNestedStructures.getDdicObject(R3ToMetamodelDictionaryConverterWithNestedStructures.java:206)
at com.sap.ide.metamodel.importers.rfcmodel.DynamicRFCModelImporter.ImportRFC(DynamicRFCModelImporter.java:341)
at com.sap.ide.metamodel.importers.rfcmodel.DynamicRFCModelImporter.doImport(DynamicRFCModelImporter.java:196)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$3.run(ModelWizard.java:706)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
The tutorial:
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/11/e2bc3d9ecc6b3be10000000a114084/frameset.htm">click here</a>
says "not-released function modules with a yellow icon."
My RFC (NOT BAPI MARKED AS RFC) is display with a yellow icon.
Searching the error <b>"DD_DOMA_GET" not released for 'remote' calls</b> I found the SAP note: 717836, it says <b>The function module DD_DOMA_GET should be changed to remote-enabled.</b> Where Should I find this function? I guess that is at the R3 System, what should I do to make it remote-enabled?. The other note I found was the SAP note 672745. But I really don't know it those notes apply to my problem.
What is the meaning of: <b>not released</b>? what should be done to make it <b>RELEASE</b>?.
Who made it told me that can't make me a BAPI to bring me the data, he only can do a RFC to get the list I need. The RFC (NOT BAPI MARKED AS RFC) was tranported and can be executed without any problem inside the R3 4.6
The RFC has a parameter, but I think that at import time it doesn't care.
Thanks for the time and interest on this thread.Rodrigo:
The yellow or green icon it doesn't have to be if its a RFC or BAPI, it have to be with the release state of the function (BAPI or RFC, in this case seems to be the same).
This is the documentation abut it (it's at my original post too) see: http://help.sap.com/saphelp_nw04/helpdata/en/11/e2bc3d9ecc6b3be10000000a114084/frameset.htm
Hope it helps you -
Migrating BAPI & RFC function modules into web services
What is the advantage of migrating BAPI & RFC function modules into web services?
Hi.
That's a very good question. Why did you ask it, are you considering doing so?
I wouldn't think there would be any performance advantages using WebServices.
You could make your BAPI's available for other systems than Web Dynpro or SAP systems by turning them into WebServices.
That could be an issue when you want to use different integration engines perhaps.
A WebService might also be better for dealing with large number of requests I guess.
When dealing with XML you can also use the advantage of XSLT for validating your data.
The main advantages would still be the availability of your service for non-SAP systems.
/Mikael -
Import of SAP Objects into Integration Repository in XI 3.0
Hi all,
I am not able to import SAP objects into the Integration Repository in XI 3.0. This option is under any Software Component Version. I have selected the radio button "Import of RFC and IDoc interfaces from SAP systems permitted", in the Software Component Version settings. After the connection data is specified for the SAP system nothing appears under the IDoc, Whereas the import of RFCs is successfull.
We also have another installation of SAP XI 3.0, here this option is working properly. Can anyone tell me what is the problem, is is there something else to be configured inorder to do this.
Best regards,
NorwayHi Stephan
Thank you for your answer. We have followed your instructions but did only get half a success. Here is what we have done:
1) Created "External Definitions" for all related xsd-files with the same name as the xsd-filename and in our own namespace. Our namespace is different from those specified in the xsd-files. We have not change the namespaces in the xsd-files.
2) Maintained the "source"-field with the name for the xsd-file and not the url as specified in our answer. When we used the filename only we got a value the field "name" in the "External References".
3) We made a message mapping and imported the "top-level-xsd-element" from the "External Definition". This resulted in only the top level element and nothing else. What we expected was the possibility to drill down through the complete structure.
What did we doe wrong? Perhaps I could talk you into spending 10 min. and try it your self? This url leads to a zip file with all the related xsd files: http://rep.oio.dk/ubl/xml/schemas/0p71/documentation/resources.html
Do you know if it will be possible to make references across namespaces in a later version of XI?
Regards
Christian -
How to create BAPI-RFC?wht is the purpose of bapi rfc?
plz send me urgently.........Hi,
Programming a BAPI consists of some tasks like: Defining BAPI Data structures ( using SE11 )
Creating BAPI Function Modules (For each method)
Defining BAPI Methods in the BOR
Documentation of the BAPI
Generate ALE interface for asynchronous BAPIs
Generate and release
NOTE:
Here we will not be covering the two points Documentation of BAPI and Generating ALE Interface for asynchronous BAPIs.
NOTE: You can use the BAPI explorer (T-code BAPI) to get a step-by-step instruction / checklist in how to create a BAPI. In the BAPI explorer select the Project tab.
EXAMPLE HOW TO CREATE A BAPI
In the example we will create a BAPI that reads some information about the line items for a Sales Invoice from table VBRP based on the Invoice No. that is supplied to the import parameter of the BAPI Function Module.
BAPI Name ZGetInvoiceItems
Function group ZBAPIVIN
Function module: ZBAPI_GET_BILL_ITEMS
FM Import parameters : IV_BILLNO TYPE ZBAPI_BILL_ITEMS-VBELN
FM Tables :IT_VBRP LIKE ZBAPI_BILL_ITEMS
FM Export parameters : RETURN LIKE BAPIRETURN
Defining BAPI Structures
This is the basic step followed while creating BAPIs. All the relevant structures that are required for BAPI have to be created using T-Code SE11. The structures can be created for Import/Tables parameters. Use Data type -> Structure
In our case we do not have multiple inputs but just one input i.e. Sales Invoice No. and so we have not made use of any structure for the purpose. But if required, structure can be used for import parameter also.
The following are the components of structure ZBAPI_BILL_ITEMS:
Field Name Description
VBELN Invoice Number
POSNR Invoice Item Number
MATNR Material Number
FKIMG Quantity
VRKME Sales Units (Quantity)
NETWR Amount
Point of Caution
It is required to define a structure for every parameter in the BAPI and use of same structures which are used in existing applications cannot be done because BAPI structures are frozen when BAPIs are released and then there are restrictions on changing them.
Screenshot of Structure ZBAPI_BILL_ITEMS
Creating BAPI Function Modules (For each method)
We must create new function group for each BAPI. If the BAPIs are related then the same can be grouped under the same FUNCTION GROUP to enable the sharing of global data amongst the related BAPIs
Screenshot of Attributes Tab in the FM ZBAPI_BILL_ITEMS
Screenshot of Import Parameters Tab in the FM ZBAPI_BILL_ITEMS
Screenshot of Export Parameters Tab in the FM ZBAPI_BILL_ITEMS
NOTE:
Since Remote Enabled module processing type is selected and the Import/Export parameters can only be BY VALUE for an RFC enabled function module, select the checkbox for Pass Value for each IMPORT/EXPORT parameter.
Screenshot of Tables Tab in the FM ZBAPI_BILL_ITEMS
Code in the Function Module ZBAPI_BILL_ITEMS &
related Includes in the Function Group
INCLUDE LZBAPISTATUSUXX
THIS FILE IS GENERATED BY THE FUNCTION LIBRARY. *
NEVER CHANGE IT MANUALLY, PLEASE! *
INCLUDE LZBAPIVINU01.
"ZBAPI_GET_BILL_ITEMS
INCLUDE LZBAPIVINTOP Global data
FUNCTION-POOL ZBAPIVIN. "MESSAGE-ID
TABLES: VBRK, VBRP.
DATA: T_VBRP LIKE ZBAPI_BILL_ITEMS OCCURS 0.
STRUCTURE FOR RETURN MESSAGES BY BAPI FUNCTION MODULE
DATA:
BEGIN OF MESSAGE,
MSGTY LIKE SY-MSGTY,
MSGID LIKE SY-MSGID,
MSGNO LIKE SY-MSGNO,
MSGV1 LIKE SY-MSGV1,
MSGV2 LIKE SY-MSGV2,
MSGV3 LIKE SY-MSGV3,
MSGV4 LIKE SY-MSGV4,
END OF MESSAGE.
INCLUDE LZBAPIVINU01 - Subroutines
***INCLUDE LZBAPIVINU01.
FUNCTION ZBAPI_GET_BILL_ITEMS.
""Local interface:
*" IMPORTING
*" VALUE(IV_BILLNO) TYPE VBELN
*" EXPORTING
*" VALUE(RETURN) TYPE BAPIRETURN
*" TABLES
*" IT_VBRP STRUCTURE ZBAPI_BILL_ITEMS
Check if the Invoice exists
select single *
from vbrk
where vbeln eq iv_billno.
if sy-subrc ne 0.
If not return the error message
clear message.
message-msgty = 'E'.
message-msgid = 'Z3'.
message-msgno = '001'.
message-msgv1 = iv_billno.
perform return_bapi_message using message
changing return.
exit.
endif.
If the Invoice exists, get all the required item lines information
in the table it_vbrp
refresh it_vbrp.
clear vbrp.
select vbeln posnr matnr fkimg vrkme netwr
into table it_vbrp
from vbrp
where vbeln eq iv_billno.
ENDFUNCTION.
FORM RETURN_BAPI_MESSAGE *
--> VALUE(IV_MESSAGE) *
--> XV_RETURN *
form return_bapi_message using value(iv_message) like message
changing xv_return like bapireturn.
check not message is initial.
call function 'BALW_BAPIRETURN_GET'
exporting
type = iv_message-msgty
cl = iv_message-msgid
number = iv_message-msgno
par1 = iv_message-msgv1
par2 = iv_message-msgv2
par3 = iv_message-msgv3
par4 = iv_message-msgv4
importing
bapireturn = xv_return
exceptions
others = 1.
endform.
Regards,
Vineela. -
What are idocs, BAPI, RFC?
Hi,
What are idocs, BAPI, RFC?
Regards,
anujHii,
BAPIs and RFCs are the functions exposed by SAP, when it comes to the integration part, you have to know that particular BAPI or RFC. For example, if you want to get table data or want to query to the SAP table then you use RFC_READ_TABLE. Similarly if you want to know whether customer is existing, you need to know which RFC/BAPI has this info. May I know which tool are you using, are you talking about generating a proxy and playing around that.
Data Creation in Idoc
IDocs are text encoded documents with a rigid structure that are used to exchange data between R/3 and a foreign system. Instead of calling a program in the destination system directly, the data is first packed into an IDoc and then sent to the receiving system, where it is analyzed and properly processed. Therefore an IDoc data exchange is always an
asynchronous process. The significant difference between simple RFC-calls and IDoc data exchange is the fact, that every action performed on IDocs are protocolled by R/3 and IDocs can be reprocessed if an error occurred in one of the message steps.
While IDocs have to be understood as a data exchange protocol, EDI and ALE are typical use cases for IDocs. R/3 uses IDocs for both EDI and ALE to deliver data to the receiving system. ALE is basically the scheduling mechanism that defines when and between which partners and what kind of data will be exchanged on a regular or event triggered basis. Such a set-up is called an ALE-scenario.
IDoc is a intermediate document to exchange data between two SAP Systems.
*IDocs are structured ASCII files (or a virtual equivalent).
*Electronic Interchange Document
*They are the file format used by SAP R/3 to exchange data with foreign systems.
*Data Is transmitted in ASCII format, i.e. human readable form
*IDocs exchange messages
*IDocs are used like classical interface files
IDOC types are templates for specific message types depending on what is the business document, you want to exchange.
WE30 - you can create a IDOC type.
An IDOC with data, will have to be triggered by the application that is trying to send out the data.
FOr testing you can use WE19.
How to create idoc?
*WE30 - you can create a IDOC type
For more information in details on the same along with the examples can be viewed on:
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm#_Toc8400404
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a6620507d11d18ee90000e8366fc2/frameset.htm
http://www.sappoint.com/presentation.html
http://www.allsaplinks.com/idoc_search.html
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://www.erpgenie.com/sapedi/idoc_abap.htm
To Create Idoc we need to follow these steps:
Create Segment ( WE31)
Create Idoc Type ( WE30 )
Create Message Type ( WE81 )
Assign Idoc Type to Message Type ( WE82 )
Creating a Segment
Go to transaction code WE31
Enter the name for your segment type and click on the Create icon
Type the short text
Enter the variable names and data elements
Save it and go back
Go to Edit -> Set Release
Follow steps to create more number of segments
Create IDOC Type
Go to transaction code WE30
Enter the Object Name, select Basic type and click Create icon
Select the create new option and enter a description for your basic IDOC type and press enter
Select the IDOC Name and click Create icon
The system prompts us to enter a segment type and its attributes
Choose the appropriate values and press Enter
The system transfers the name of the segment type to the IDOC editor.
Follow these steps to add more number of segments to Parent or as Parent-child relation
Save it and go back
Go to Edit -> Set release
Create Message Type
Go to transaction code WE81
Change the details from Display mode to Change mode
After selection, the system will give this message The table is cross-client (see Help for further info). Press Enter
Click New Entries to create new Message Type
Fill details
Save it and go back
Assign Message Type to IDoc Type
Go to transaction code WE82
Change the details from Display mode to Change mode
After selection, the system will give this message The table is cross-client (see Help for further info). Press Enter.
Click New Entries to create new Message Type.
Fill details
Save it and go back
Check these out..
Re: How to create IDOC
Check below link. It will give the step by step procedure for IDOC creation.
http://www.supinfo-projects.com/cn/2005/idocs_en/2/
ALE/ IDOC
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.docs
go trough these links.
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
http://http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
An IDoc is simply a data container that is used to exchange information between any two processes that can understand the syntax and semantics of the data...
1.IDOCs are stored in the database. In the SAP system, IDOCs are stored in database tables.
2.IDOCs are independent of the sending and receiving systems.
3.IDOCs are independent of the direction of data exchange.
The two available process for IDOCs are
Outbound Process
Inbound Process
AND There are basically two types of IDOCs.
Basic IDOCs
Basic IDOC type defines the structure and format of the business document that is to be exchanged between two systems.
Extended IDOCs
Extending the functionality by adding more segments to existing Basic IDOCs.
To Create Idoc we need to follow these steps:
Create Segment ( WE31)
Create Idoc Type ( WE30)
Create Message Type ( WE81)
Assign Idoc Type to Message Type ( WE82)
imp links
http://www.allsaplinks.com/idoc_sample.html
http://www.sapgenie.com/sapedi/idoc_abap.htm
www.sappoint.com
--here u can find the ppts and basic seetings for ALE
http://sappoint.com/presentation.html
www.sapgenie.com
http://www.sapgenie.com/ale/index.htm
WE30 - you can create a IDOC type.
An IDOC with data, will have to be triggered by the application that is trying to send out the data.
Try this..Hope this will help.
SAP ALE & IDOC<<<<
Steps to configuration(Basis) >>
1. Create Logical System (LS) for each applicable ALE-enabled client
2. Link client to Logical System on the respective servers
3. Create background user, to be used by ALE(with authorizaton for ALE postings)
4. Create RFC Destinations(SM59)
5. Ports in Idoc processing(WE21)
6. Generate partner profiles for sending system
The functional configuration(Tcode: SALE)
Create a Customer Distribution Model (CDM);
Add appropriate message types and filters to the CDM;
Generate outbound partner profiles;
Distribute the CDM to the receiving systems; and
Generate inbound partner profiles on each of the clients.
Steps to customize a new IDoc >>>
1. Define IDoc Segment (WE31)
2. Convert Segments into an IDoc type (WE30)
3. Create a Message Type (WE81)
4. Create valid Combination of Message & IDoc type(WE82)
5. Define Processing Code(WE41 for OUT / WE42 for IN)
6. Define Partner Profile(WE20)
Important Transaction Codes:
SALE - IMG ALE Configuration root
WE20 - Manually maintain partner profiles
BD64 - Maintain customer distribution model
BD71 - Distribute customer distribution model
SM59 - Create RFC Destinations
BDM5 - Consistency check (Transaction scenarios)
BD82 - Generate Partner Profiles
BD61 - Activate Change Pointers - Globally
BD50 - Activate Change Pointer for Msg Type
BD52 - Activate change pointer per change.doc object
BD59 - Allocation object type -> IDOC type
BD56 - Maintain IDOC Segment Filters
BD53 - Reduction of Message Types
BD21 - Select Change Pointer
BD87 - Status Monitor for ALE Messages
BDM5 - Consistency check (Transaction scenarios)
BD62 - Define rules
BD79 - Maintain rules
BD55 - Defining settings for IDoc conversion
WEDI - ALE IDoc Administration
WE21 - Ports in Idoc processing
WE60 - IDoc documentation
SARA - IDoc archiving (Object type IDOC)
WE47 - IDoc status maintenance
WE07 - IDoc statistics
BALE - ALE Distribution Administration
WE05 - IDoc overview
BD87 - Inbound IDoc reprocessing
BD88 - Outbound IDoc reprocessing
BDM2 - IDoc Trace
BDM7 - IDoc Audit Analysis
BD21 - Create IDocs from change pointers
SM58 - Schedule RFC Failures
Basic config for Distributed data:
BD64: Maintain a Distributed Model
BD82: Generate Partner Profile
BD64: Distribute the distribution Model
Programs
RBDMIDOC Creating IDoc Type from Change Pointers
RSEOUT00 Process all selected IDocs (EDI)
RBDAPP01 - Inbound Processing of IDocs Ready for Transfer
RSARFCEX - Execute Calls Not Yet Executed
RBDMOIND - Status Conversion with Successful tRFC Execution
RBDMANIN - Start error handling for non-posted IDocs
RBDSTATE - Send Audit Confirmations
FOr testing you can use WE19.
BAPI
BAPI Programming guide: -
http://help.sap.com/saphelp_nw04/helpdata/en/e0/9eb2370f9cbe68e10000009b38f8cf/frameset.htm
BAPI user guide: -
http://help.sap.com/saphelp_46c/helpdata/en/7e/5e115e4a1611d1894c0000e829fbbd/frameset.htm
BAPI STEP BY STEP PROCEDURE: -
http://www.sap-img.com/abap/bapi-step-by-step-guidance.htm
Example:-
http://www.erpgenie.com/abap/bapi/example.htm
PDF download: -
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/200dd1cc-589e-2910-98a9-bb2c48b78dfa
list of all bapis
http://www.planetsap.com/LIST_ALL_BAPIs.htm
for BAPI's
http://www.sappoint.com/abap/bapiintro.pdf
http://www.sappoint.com/abap/bapiprg.pdf
http://www.sappoint.com/abap/bapiactx.pdf
http://www.sappoint.com/abap/bapilst.pdf
http://www.sappoint.com/abap/bapiexer.pdf
http://service.sap.com/ale
http://service.sap.com/bapi
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
http://www.planetsap.com/Bapi_main_page.htm
http://www.topxml.com/sap/sap_idoc_xml.asp
http://www.sapdevelopment.co.uk/
http://www.sapdevelopment.co.uk/java/jco/bapi_jco.pdf
Also refer to the following links..
http://www.sap-img.com/bapi.htm
http://www.sap-img.com/abap/bapi-conventions.htm
http://www.planetsap.com/Bapi_main_page.htm
http://www.sapgenie.com/abap/bapi/index.htm
Checkout !!
http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
http://techrepublic.com.com/5100-6329-1051160.html#
BADI
Check these links on BADI
http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
http://www.esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt
Check this link for advantage of BADIs over User exits
http://www.sap-img.com/abap/difference-between-badi-and-user-exits.htm
Reward points if useful.
Regards,
Sushama -
How can I import db column comments into the OBIEE presentation layer?
We have a very well designed data mart - it is a star schema and all the fact and dimension table columns have comments in them with their definition and use. There is virtually no change required in the physical or business layer. The only modifications done in the presentation layer was to hide the Pk/Fk columns.
Is there a way to import these column comments into the presentation layer so that the business user can see this comment in the tool tip while hovering over the presentation column in Answers?
Thanks for your help!Hi,
I assume the comments you mean are stored in user_tab_comments and user_col_comments.
When this is the case you should do the following:
Go to your subject area in your presentation layer. For now I assume the name of this subject area is "Subject Area".
Then right click on this subject area and check "Externalize Descriptions".
Then create an initialization block (session) using this query:
(select 'CD_Subject_Area_' || table_name, comments from user_tab_comments)
union all
(select 'CD_Subject_Area_' || table_name || '_' || column_name, comments from user_col_comments)
Use "Row-wise initialization" for this initialization block.
Two comments:
1) Like I said, I assume Subject Area is the name of your subject area in your presentation layer, so I guess you need to replace this with the name of your Subject Area.
But be sure that you replace each space ' ' with an underscore '_'.
2) Maybe you need to refine above querys by filtering on table_name for those table_names you are using.
Good luck.
Regards,
Stijn -
Error in Import Adaptive RFC Model
Hi SDN,
I am trying to develop an application using Import Adaptive RFC Model, while creating a model i could not able to connect to the backend system after giving the single server parameters. When i click on the next button a pop up is displayed with an error message *"User Name or Password wrong" *.
But i could able to login to R/3 with the same userid and password from SAP logon pad.
Really i am at Six and Seven's to trace out this error. Please suggest me how to overcome this error and create the model succesfully.
Regards
BashaHi Praveen & Chaitanya
Thanks for your quick response and informative threads.
Actually in order to import an adaptive rfc model
I have right clicked the model node to create a model and given the model name,package name,model data and metadata names and clicked next button. Then in the next screen
Tab Strip -> Single Server:
Host name :
System Number :
client details:
Tab Strip -> Load balancing:
System :
Message Server:
System Name:
Group:
(in Tcode: SLMG i have added the group public also)
client details:
After entering the required details either in Single Server or Load balancing and clicked the next button I could not able estabilish a connection to the backend R/3 and get the list of Bapi's or RFc's. Instead i am getting a pop up message "User Name or Password Wrong". I could not able to proceed from here.
But with the same above parameters i could able to logon to R/3 from SAP Logon Pad. I have tried by giving the user name in Cap's and small letters but no use.
As i was strucked at the intial step while creating the model but not during the execution of the program, as far as my knowledge is concerned i think we no need to worry on SLD or JCO connections during the creation of the model. Please correct me if i am wrong and suggest me to rectify the error.
Regards
Basha -
How to Simultaneous import of a request into two clients in QAS
Hi All,
We've implemented ECC 6.0. Our landscape is like:
Development 100 -
QAS 200 -
QAS 250------Production 400
We've a requirement to Simultaneous import into QAS 200 & QAS 250.
How can I configure TMS to import automatically one order in QAS 200 and 250 without any manual intervention?
Regards,
MikeMark
thank for your fast answer.
I follow tjis step:
1. Log on to client 000 of your TMS Domain Controller SAP Instance.
2. Go to transaction STMS.
3. On the Transport System Management screen, click Overview -> Transport
Routes.
4. On the Display Transport Routes screen, click the Display<>Change button to
toggle into Change mode. Click on the Target Groups line and click the
Create button.
5. In the Create Transport Group popup, fill in the Target Group as /XXXCLNTS/,
give a Short Description and click the Client Assignment button. Be aware
that the Target Group name must start and end with a u201C/u201D.
6. Enter each Target system and Target client you need. For our example, we will
DEV 100, QAS 200, and QAS 210. Click the green check mark to Transfer. You
now have a target group. Now you must create a Consolidation Layer.
7. Back on the Change Transport Routes screen, click on Transport Routes and
click Create.
8. In the Create Transport Route popup, click the Extended Transport Control
button at the bottom of the popup. Make sure Consolidation is "on" and fill
in the information using our Target Group as the Consolidation Target.
9. Click the green check button to Save the change.
But ,the the problem is:
I need to import orders individually, not through a JOB.
When I perform the QAS IMPORT via STMS transaction, the system requires one client. I seek is that no client request, ie the possibility of "ALL" or simply do not request a client and the import for the customizing order be made to all.
Thank in advance for yours help
Mike -
Error MAM25_095 - BAPI RFC
Hi!
Can anyone help me to get this error message solved ? This error is displayed after the replication of SyncBO MAM_095 is run.
020 128
1 10.2007 09:02:04 Z_MEREP_GEN_T01_____MAM25_095 iniciado para número de ejecución 0000128506 y contador tiempo ejecución 1
2 10.2007 09:02:09 Código de retorno de llamada BAPI RFC: Entrada A_LMES2L21 ALM_ME_C011PRF no existe en (Verifique la entrada)
3 10.2007 09:02:10 Z_MEREP_GEN_T01_____MAM25_095 finalizado para número ejecución 0000128506 y contador tiempo ejecución 1
Thank you very much for your help
XiomaraHi Xiomara,
how have you started the replicator? From MEREP_PD? And I guess the trafficlight n MEREP_PD is still yellow for the MAM25_095 SyncBO?
Have you tried to run the getlist handler for MAM25_090 on the backend? Does it return Data? If you then take one key from the result set of the getlist handler and run the getdetil handler with it, does it return data then as well?
How to do that in detail:
- On the backend, go to SE37
- run the function module ALM_MEREP_095_GETLIST
- no values needed, just start the function
Now you should see the result screen of the function. The first line of the result set, tells you MAM_SCENARIO_LIST and the next line the result. If you see a number in line 4 only and not in line 2 of that table, you have an error. Send me the result of that line, I will have a look into it. Ok, hopefully in the second line you see a number >0. If this is the case, double click on that number and you should see a table with these X number of lines. In there take a line and write down the value for MYALM_SCEN. If you see the code from the error message, take that code as well. There should no be that many lines - normally two or three.
Ok, we go back to the startscreen of SE37. In there we now run the Function module:
ALM_MEREP_095_GETDETAIL
Enter the value you have written down above as MAM_SCENARIO and then execute. It should give you a whole bunch of items. If you run into an exception, please have a lok into the config guide of MAM, backend settings - you missed the userand profile definition in SPRO on the backend then.
If this above is fine and you see no error, can you please log on to your middleware using language EN instead of SP? Then run transaction MEREP_EX_REPLIC on the middleware? You have to enter the name of the syncBO and set the trace level to 7. This gives you a better overview over what happens at replication.
Post the error message, this should give us a better overview about the issue.
Hope this is a step forward for you.
Regards,
Oliver
Maybe you are looking for
-
Show RMAN message in log file and screen at same time
Is there any way I can save all RMAN message in a log file and also show on standar out (screen). Thanks
-
HT201328 How wil I know if my phone has been unlocked?
I've just phoned t-mobile to have my phone unlocked, how will I know when this has happened
-
How to Preset the Web Page resolution
Hello to all. I tried searching but came with nothing. I wanted to know if there is a way in preseting the page to a resolution, say 1024x768 Or is it better having the width set at 100% and go from there? thank you for the help
-
I am having issues playing videos. There is audio but the screen appears green. I went step by step and tried the possible issues such as enabling flash player and disabling activex but nothing works. What else could be an issue? Flash version: 11.8
-
Would you like to see a "gaming cradle" for advanced gaming on iPhone?
I would love to have a device that the iPhone plugged into that had analog sticks and buttons needed for modern games. You could also have memory built in to hold multiple titles.