Ale - bapi interface
WE need to create applicant for hr recruitement from external data
via idoc and ale bapi .
<b>first</b> we generate the ale interface
Checking message type Message type ZAPPLICANT_CREATEFROMDATA exists already
Check basic type ZAPPLICANT_CREATEFROMDATA01 Basic type ZAPPLICANT_CREATEFROMDATA01 exists Basic type ZAPPLICANT_CREATEFROMDATA01 is released
Basic type ZAPPLICANT_CREATEFROMDATA01 is linked to logical message ZAPPLICANT_CREATEFROMDATA
No predecessors exist Check segment Z1ZAPPLICANT_CREATEFROMDATA Segment Z1ZAPPLICANT_CREATEFROMDATA consistent Check segment Z1BPEDUC Segment Z1BPEDUC consistent Check segment Z1BPEMPLOY Segment Z1BPEMPLOY consistent Check segment Z1BPQUALI Segment Z1BPQUALI consistent Check segment Z1BPVACASS Segment Z1BPVACASS consistent Checking outbound function module ZALE_APPLICANT_CREATE has been generated Checking inbound function module ZIDOC_INPUT_ZAPPLICANT_CREATEF has been generated
<b>Second</b> we configure the partner profile
<b><u>after that we do a test to create an applicant from an idoc</u></b>but we have this message error
make an entry in all required fields even if we put data in
all fields of all idoc segments.
Best regards
Hi Mohamed,
first of all, welcome to SDN! Sorry, this is the wrong forum for your question, the experts in the <a href="https://www.sdn.sap.com/sdn/collaboration.sdn?node=linkFnode2-3&contenttype=url&content=https%3A%2F%2Fforums.sdn.sap.com%2Fforum.jspa%3FforumID%3D50">ABAP forum</a> will probably help you.
Regards, Stefan
Similar Messages
-
Explain the situation for using ale , bapi ,session ,call transation, di
what is the use of bdcmsgcall,
if any erroe occur in the legacy records how to rectify it?
In what situation we can go for lsmw.
Kindly explain the situation's for using ale , bapi ,session ,call transation, direct input.Hi ashok,
chk this.
the functionality of both idoc and bapi are same.
the main difference in BAPI is it is used for Third party application like JAVA, VB etc.
and IDOC is used transfer data from the SAP to sap or non-sap system.
For details refer the contents below
ALE
ALE is SAP proprietary technology that enables data communications between two or more SAP R/3 systems and/or R/3 and external systems. When a new enterprise resource planning (ERP) solution such as R/3 is implemented, companies have to interface the ERP system with legacy systems or other ERP systems.
ALE provides intelligent mechanisms where by clients can achieve integration as well as distribution of applications and data.
ALE technology facilitates rapid application prototyping and application interface development, thus reducing implementation time.
The ALE components are inherently integrated with SAP applications and are robust, leading to a highly reliable system.
ALE comes with application distribution/integration scenarios as well as a set of tools, programs, data definitions, and methodologies that you can easily configure to get an interface up and running.
BAPI
BAPIs provide a stable, standardized method for third-party applications and components to integrate into the Business Framework. These interfaces are being specified as part of SAP's initiative with customers, partners and leading standards organizations. Also, SAP has implemented the emerging Object Application Group (OAG) specifications with BAPIs.
Session method.
1) synchronous processing.
2) can tranfer large amount of data.
3) processing is slower.
4) error log is created
5) data is not updated until session is processed.
Call transaction.
1) asynchronous processing
2) can transfer small amount of data
3) processing is faster.
4) errors need to be handled explicitly
5) data is updated automatically
Session method is to populate the data by filling BDC structure
and keep as session to process from SM37 to post in appropriate Transaction.
Call transaction method is to post the data directly into the Transaction from an Executable program.
Session method SAP defined Function modules.
U can see more help on the differences in the SAP help.
hope u got an idea.
rgds
anver
<i>if hlped pls mark points</i> -
hi,
first ,i m newhand in ALE BAPI
for the purpose of transfering MatMaster Data from one client to another i want to use BAPI(standardmaterial) in distribution model (BD64).
of course i have set the necessary points in IMG , but what confused me is how can i generate through the method of this object type ?
in the context of ALE/IDOC(MATMAS) we can generate idoc through Tcode bd10 , but in this bapi scenario(standardmaterial/save/idoc type:matmas_bapi) it seems not work .
please kindly suggestHI,
Steps for outbound interface for material master
1, create port
2,create RFC destination
3,create partner profile(here you have to assign process code MATM to mesage MATMAS this prcess code will calls the outbound function module to fill the Idoc)
4 create CDM.
Otherwise refer the below link:
aptechnical.com/Tutorials/ALE/MaterialMaster/Distribute1.htm
Regards,
suresh.d -
Calling SAP BAPI Interface from PL/SQL
Hi,
How can i call BAPI Interface from PL/SQL.
If you have any documents or examples please send me.
Thanks in Advance
Best Regards,
SreekanthHi !
declare
req utl_http.req;
resp utl_http.resp;
v_txt clob;
begin
req := UTL_HTTP.begin_request ('http://rp.yoc.de/http/test/mbInfo/1.0/?smsbalance=total','GET','HTTP/1.1');
resp := UTL_HTTP.get_response (req);
dbms_output.put_line(resp.status_code);
dbms_output.put_line(resp.reason_phrase);
utl_http.read_text(resp,v_txt);
dbms_output.put_line(v_txt);
UTL_HTTP.end_response(resp);
end;I'm not exactly sure what are you looking for .. but that response from your post you can get with my code ( it's tested ).
T
Edited by: ttt on 12.3.2010 5:10
My code is very "poor" , there is no error checks no header setup's no basic authentication no proxy settings ..... -
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
LKHi 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 -
ALE/IDoc interface for Special Ledger Data
Anybody has experience with extracting Special Ledger data from ECC through ALE/IDoc interface?
Because Special Ledger is cutom to any client, I'm thinking we need to create a custom IDoc type. I didn't notice any standard IDoc type. Any documentation or any tips on this will be appreciated.
Thanks,
Srinivasproblem has been solved
thanks -
Hi Experts,
I am working on ALE IDoCS Interfaces... Can anyone send me the step by step procedure for creating a sample ALE,IDOC scenario where i can send a message from client1(800) to client(810).
I need the following
1.complete ALE configuration setting between two clients.
2.Creation of Idoc , segment, filling the idoc from scratch.
3.Dispatching the Idoc on the ALE Interface
4.Handling any exceptions
Is it possible to create an ALE Interface to the same client(800 to 800) for sample testing
Thanks and Regards
AKHai Ashok
Go through the following Steps
ALE IDOC
Sending System(Outbound ALE Process)
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Create Model View
Tcode BD82 ? Generate partner Profiles & Create Ports
Tcode BD64 ? Distribute the Model view
Message Type MATMAS
Tcode BD10 ? Send Material Data
Tcode WE05 ? Idoc List for watching any Errors
Receiving System(Inbound ALE )
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 ? Idoc List for inbound status codes
ALE IDOC Steps
Sending System(Outbound ALE Process)
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Create Model View
Tcode BD82 !V Generate partner Profiles & Create Ports
Tcode BD64 !V Distribute the Model view
This is Receiving system Settings
Receiving System(Inbound ALE )
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 !V Idoc List for inbound status codes
Message Type MATMAS
Tcode BD10 !V Send Material Data
Tcode WE05 !V Idoc List for watching any Errors
1)a Goto Tcode SALE
Click on Sending & Receiving Systems-->Select Logical Systems
Here Define Logical Systems---> Click on Execute Button
go for new entries
1) System Name : ERP000
Description : Sending System
2) System Name : ERP800
Description : Receiving System
press Enter & Save
it will ask Request
if you want new request create new Request orpress continue for transfering the objects
B) goto Tcode SALE
Select Assign Client to Logical Systems-->Execute
000--> Double click on this
Give the following Information
Client : ERP 000
City :
Logical System
Currency
Client role
Save this Data
Step 2) For RFC Creation
Goto Tcode SM59-->Select R/3 Connects
Click on Create Button
RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles
give the information for required fields
RFC Destination : ERP800
Connection type: 3
Description
Target Host : ERP000
System No:000
lan : EN
Client : 800
User : Login User Name
Password:
save this & Test it & RemortLogin
3)
Goto Tcode BD64 -- click on Change mode button
click on create moduleview
short text : xxxxxxxxxxxxxx
Technical Neme : MODEL_ALV
save this & Press ok
select your just created modelview Name :'MODEL_ALV'.
goto add message type
Model Name : MODEL_ALV
sender : ERP000
Receiver : ERP800
Message type :MATMAS
save & Press Enter
4) Goto Tcode BD82
Give Model View : MODEL_ALV
Partner system : ERP800
execute this by press F8 Button
it will gives you sending system port No :A000000015(Like)
5) Goto Tcode BD64
seelct the modelview
goto >edit>modelview-->distribute
press ok & Press enter
6)goto Tcode : BD10 for Material sending
Material : mat_001
Message Type : MATMAS
Logical System : ERP800
and Execute
7)goto Tcode : BD11 for Material Receiving
Material : mat_001
Message Type : MATMAS
and Execute --> 1 request idoc created for message type Matmas
press enter
Here Master Idoc set for Messge type MATMAS-->press Enter
1 Communication Idoc generated for Message Type
this is your IDOC
Change Pointers
I know how to change the description of a material using ALE Change Pointers.
I will give the following few steps
1) Tcode BD61---> check the change pointers activated check box
save and goback.
2) Tcode BD50---> check the MATMAS check box save and comeback.
3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.
4) Tcode BD52---> give message type : matmas press ok button.
select all what ever you want and delete remaining fields.
save & come back.
5) 5) go to Tcode MM02 select one material and try to change the description and save it
it will effects the target systems material desciption will also changes
6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute
give Message type : MATMAS and Executte
Thanks & regards
Sreenivasulu P -
Hi All,
I have a requirement where in i need to create a BAPI as a separate interface and then call this BAPI in a BPM created in another interface. This BAPI interface is to be created in a genaralized format for reusability.
Is it possible to achieve this through BPM? I had checked a blog showing the BAPI that was created as a webservice froim R3 but then my requirement is to create it as a separate interface and then from XI i define it as a web service.
Please advice.
Thanks in advance,
Sai
Edited by: Saikumar on Apr 4, 2010 7:42 AMSOAP --> XI (BPM) --> Target .... where your Target is using/ hosting the BAPI (SAP system)....so now you have exposed the BAPI as a WebService.
Is it possible to achieve this through BPM?
You want to use a BPM just to expose the BAPI or there is really a need to use BPM.....if it is just to expose the BAPI as webservice then a BPM is not needed.
Is there any other functionality involved in your scenario?
Regards,
Abhishek. -
Suitable BAPI interface to upload data intoKP26 T.code (CO)
Hi All I need to know the BAPI interface to upload the data into KP26 Co Activity type /Price Planning
I have these fields to create entries in KP26 t.code.
The Fields are as follows:
Layout (could use the standard layout 1-201)
1.Version --
2. Period from / to --
3. Fiscal Year -
4. Cost Center -
5. Activity type-
6. Fixed price-
7. Variable price-
8. Price unit---
PLease any body help me which BAPI is suitable for KP26 T.Code .. Its Urgent ...
Regards
Purushotham.Ineni.Hi thank you for kind reply i need to create the entries for CO Activity /Price planning .
i have to upload data to KP26 which i have posted the fields ..
i already cheked the function modules which you have been given .. it is not suitable ..
Is there any ohter BAPI is there ... le t me know ...
regards
purushotham.ineni -
Hi,All
I want to find for one BAPI interface which tables is the BAPI data come from ?
Is there a mapping list can supply to me?
BAPI function module: BAPI_GLX_GETDOCITEMS Data from table: A , B
thanksHi,
If u run a Transaction code of any module the data will sit in different tables in will not *** from Single table.ask ur functional cionsultant the table and fields you want to fetch.
If you are experienced ABAPER u urself can go to the T code and find the tables
as u said for PO ekko,ekpo etc.
REgards -
Post AccountngEmployeeExpnses ALE/BAPI
Hi all,
I have to send Employee expenses fro HR to FI using ALE/BAPI.
I configured ALE/BAPI and added object AcctngEmplyeeExpnses in distribution model.
I want to know what is transaction to post data from Sending system to reciever system.
Thanks
ShashHi Kanth,
You can use process code <b>BAPI</b> for your inbound message type ACC_EMPLOYEE_EXP.
This process code will call function module IDOC_INPUT_ACC_EMPLOYEE_EXP to post the above IDoc.
If you set to trigger by background job in the inbound partner profile (t/code WE20)then you need to run/schedule a job for program RBDAPP01. Otherwise, the IDoc will be process immediately.
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful. -
RFC, IDOC, ALE, BAPI
HI everybody,
anybody can tell me
1.what is RFC and its use?
2.What is IDOC and its purpose?
3.What ie ALE and BAPI? please tell me their functions.
points will be rewared.IDocs are simple ASCII data streams. When they are stored to a disk file, the IDocs
are simple flat files with lines of text, where the lines are structured into data fields.
The typical structured file has records, each record starting with a leading string that
identifies the record type. Their specification is stored in the data dictionary.
IDocs is the acronym for Interchange Document. This indicates a set of (electronic)
information which builds a logical entity. An IDoc is e.g. all the data of a single
customer in your customer master data file, or the IDoc is all the data of a single
invoice.
IDoc data is usually exchanged between systems and partners that are completely
independent. Therefore, the data should be transmitted in a format that can easily be
corrected by the computer operators. It is therefore mandatory to post the data in a
human readable form.
Nowadays, this means that data is coded in ASCII format, including numbers which
are sent as a string of figures 0 to 9. Such data can easily be read with any text editor
on any computer, be it a PC, Macintosh, UNIX System, S/390 or any internet
browser.
The information which is exchanged by IDocs is called a message and the IDoc is
the physical representation of such a message. The name messages for the
information sent via IDocs is used in the same ways as other EDI standards. .
Everybody who has ever dealt with interface programming, will find IDocs very
much like the hierarchical data files used in traditional data exchange.
International standards like the ODETTE or VDA formats are designed in the same
way as IDocs are.
Other EDI standards like XML, ANSI X.12 or EDIFACT/UN are based on a data
description language. They differ principally from the IDocs concept, because they
use a programming language syntax (e.g. like Postscript or HTML) to embed the
data. -
PURCHASE ORDER CREATION USING ALE ( BAPI )...
HI,
I DESPERATELY NEED SOME ADVISE IN CREATING A PURCHASE ORDER USING ALE....I AM VERY NEW TO ALE SO CAN ANYONE EXPLAIN IN STEPS WHAT TO BE DONE IN DETAIL....PLS HELP ME OUT IN THIS REGARD....I WILL GET SOME DATA AS INBOUND IDOCS AND I NEED TO CREATE A PURCHASE ORDER USING ALE USING BAPI( BAPI_PO_CREATE1 ).......HOPING A QUICK REPLY ASAP.....Hi Gianluca,
I need to do the same as per the original post and your answers gets me halfway there. My remaining question is how to get the PO to output the PORDCR messgage on the outbound side (also a SAP system)? Or do you have to output the PO as an ORDERS message and map that to the PORDCR message in something like XI or other middleware?
Thanks for the help.
Johan -
Regarding ( ALE-BAPI ) Configuration
Hello all............
Iam working on ALE & EDI for some time.
In the Distribution Model View ( BD64 ) there is a option <b>'ADD BAPI'</b>.
I have gone through the documentation regarding this issue but could not get the exact break through which I was looking for.
Can anyone give me the exact steps for configuration to be followed right from creation of PORTS for Outbound & Inbound configuration of Purchase Orders using <b>ADD BAPI</b>.
Thanks in advance,
Ajay.Hi Ajay,
The distribution model is used in ALE scenarios, which is basically master data replication. For transaction data like Purchase Orders there is no need to maintain the distribution model. Just maintain the partner profiles (WE20)!
Regards,
John. -
ALE-BAPI-Scenario to XI with several BAPIs
Hello
<b>Descritpion of the current situation:</b>
I configured an ALE Distribution model to transfer the HR payroll accounting data from an single SAP 4.7 system (WebAS 6.20) into 8 different SAP-Accounting-Systems (SAP R/3 4.6C). The model contains 14 BAPIs-Calls which are sent to SAP XI (3.0 SP17) and forwarded to the corresponding SAP-R/3-System, depending on the company-code.
SAP XI demands for each BAPI an RFC-Sender-Adapter which contains a programID. For each programID I have to configure an TCP/IP-RFC destination in the sender system which contains the corresponding programID. The ALE distribution model configuration (BD64) allows only to use logical systems as receiver. So I have to create 14 logical systems with the same identification as the 14 TCP/IP-RFC destinations. In addition I was only allowed to create TCP/IP-RFC destinations with a length of 10 characters, because the field for the logical system isn't longer.
<b>My questions are the following</b>:
1) Is there a possibility to avoid the creation of 14 logical systems in this situation?
2) Are there User-Exits or BADIs to map a different RFC-Destination in ALE before executing the BAPI-Call (i.e. depending on the logical system AND the BAPI)?
3) Does anybody have a similar model and what are the experiences?
Thanks
Beat MuellerHi
Here's the List of the Object-Methots and BAPIs for Checking:
CompanyCode.GetPeriod:
- BAPI_COMPANYCODE_GET_PERIOD
CostType.GetFixaccountList:
- BAPI_FIXACCOUNT_GETLIST
GeneralLedgerAccount.GetDetail:
- BAPI_GL_ACC_GETDETAIL
AcctngServices.DocumentDisplay:
- BAPI_ACC_DOCUMENT_DISPLAY
AcctngServices.PreCheckPayrollAccountAssign:
- BAPI_CODINGBLOCK_PRECHECK_HR
AcctngEmplyeeExpnses.Check:
- BAPI_ACC_EMPLOYEE_EXP_CHECK
AcctngEmplyeeExpnses.Post:
- BAPI_ACC_EMPLOYEE_EXP_POST
AcctngEmplyeeRcvbles.Check:
- BAPI_ACC_EMPLOYEE_REC_CHECK
AcctngEmplyeeRcvbles.Post:
- BAPI_ACC_EMPLOYEE_REC_POST
AcctngEmplyeePaybles.Check:
- BAPI_ACC_EMPLOYEE_PAY_CHECK
AcctngEmplyeePaybles.Post:
- BAPI_ACC_EMPLOYEE_PAY_POST
Customer.Find:
- BAPI_CUSTOMER_FIND
Customer.GetDetail2:
- BAPI_CUSTOMER_GETDETAIL2
Vendor.Find:
- BAPI_VENDOR_FIND
Vendor.GetDetail:
- BAPI_VENDOR_GETDETAIL
and here are the IDocs for Posting the Documents:
ACC_EMPLOYEE_EXP.ACC_EMPLOYEE_EXP02
ACC_EMPLOYEE_PAY.ACC_EMPLOYEE_PAY02
ACC_EMPLOYEE_REC.ACC_EMPLOYEE_REC02
Documentation:
4.6c:
http://help.sap.com/saphelp_46c/helpdata/en/ae/1c4b6e5733d1118b3f0060b03ca329/frameset.htm
Our project had been stopped until now and will be reactivated in April. Have you been successfull posting the payroll form HR to FI/CO via SAP XI? How did you solve it?
Greetings
Beat Muller
Maybe you are looking for
-
Macbook Pro Early 2008 running slow, hot even with upgrades - what to do?
Hello! Specs: I have a Macbook Pro Early 2008 (Model A1260). I have upgraded both the RAM (from 2GB to 4GB DDR2 667) and the HDD (from the factory installed 200GB 5400 to a 750GB 5400). Previous to this, I was running Leopard, and upgraded to Snow L
-
Using a photo gallery in a page generated through a WebApp
Guys I have a photo gallery created using Juiceboxbuilder pro. The backend resource, images css etc need to go in the folder that the page is saved in to make it work ( Copy the entire contents of your Juicebox gallery folder into the folder that co
-
How do I make this custom Style property work correctly?
I'm trying to create a CSS style property that expects an mx:Effect object to be used in a custom AS class. I want to detect changes being made to the style property and assign the specified effect to an effect trigger belonging to a child of my cust
-
Correct UI element for multiple selection.
Hi All, I have a requirement where I need to select multiple cost centers(KOSTL) against single object id(OBJID).Or can we select multiple entries in f4 help provided on wd abap. I need it eargently, please help. Points will be rewarded. Cheer
-
Landline Not Working, Can't report fault.
Got up this morning and had to make an important phonecall only to find we had no dial tone, our broadband was also off but that problem seems to have been fixed. Our landline on the other hand hasn't and i can't report the fault as we have to do a l