ABAP Proxy Real time
Hi gurus,
I do know what abap proxies are(both client and server) i do know how to create both client and server proxies.
[all thanks to SDN for that...but i quiet haven't been able to relate it to real world scenario]
Just imagine a scenario for example PO goods recpt---> File...
how to i go about this, what are the things i need to get done apart from generation of the proxy from the o/b interface?
I mean
1. how/when does it get triggered?
2. If I've analyzed how/when to trigger it how can i trigger it? do i need to write seperate reports?
{I don't have a proper abap bckground, please suggest mechanisms like rfc's or other options to reports}
3. When to opt for report/ when for rfc?
Similarly for an Inbound async proxy interface: I'm unable to think of a real world scenario: could some1 help me out?
1. There is no need to schedule reports here?
> I've heard of some standard delivered proxies for integration. How can i access these?
> When is the best time i need to go in for proxies? wouldn't it take much time for coding it?
i may sound unreasonable in asking all my questions with respect to proxies in just one thread.
I would appreciate anybody's inputs on this
thanks
Hi,
>>>could you give me a use-case that you've encountered where there were no standard idocs?
in most cases like this I developed a custom IDOC to handle it:)
>>>If you did use a proxy- then how was it triggered? a report?
the only standard component of SAP which I used with proxies
was SAP AII (autoid) and all the client proxies where standard from special function modules inside it
server proxies were called from XI in in a normal way
(for business partner, product replications)
if you want to use proxies in ECC the easiest standard object (flow) that
can handle them is sending the business partner I believe
Regards,
Michal Krawczyk
Similar Messages
-
hi friends
kindly send me ABAP-HR REAL TIME QUESTION to my mail [email protected]
Thanks&Regards
babasishHi
Logical database
A logical database is a special ABAP/4 program which combines the contents of certain database tables. Using logical databases facilitates the process of reading database tables.
HR Logical Database is PNP
Main Functions of the logical database PNP:
Standard Selection screen
Data Retrieval
Authorization check
To use logical database PNP in your program, specify in your program attributes.
Standard Selection Screen
Date selection
Date selection delimits the time period for which data is evaluated. GET PERNR retrieves all records of the relevant infotypes from the database. When you enter a date selection period, the PROVIDE loop retrieves the infotype records whose validity period overlaps with at least one day of this period.
Person selection
Person selection is the 'true' selection of choosing a group of employees for whom the report is to run.
Sorting Data
· The standard sort sequence lists personnel numbers in ascending order.
· SORT function allows you to sort the report data otherwise. All the sorting fields are from infotype 0001.
Report Class
· You can suppress input fields which are not used on the selection screen by assigning a report class to your program.
· If SAP standard delivered report classes do not satisfy your requirements, you can create your own report class through the IMG.
Data Retrieval from LDB
1. Create data structures for infotypes.
INFOTYPES: 0001, "ORG ASSIGNMENT
0002, "PERSONAL DATA
0008. "BASIC PAY
2. Fill data structures with the infotype records.
Start-of-selection.
GET PERNR.
End-0f-selection.
Read Master Data
Infotype structures (after GET PERNR) are internal tables loaded with data.
The infotype records (selected within the period) are processed sequentially by the PROVIDE - ENDPROVIDE loop.
GET PERNR.
PROVIDE * FROM Pnnnn BETWEEN PN/BEGDA AND PN/ENDDA
If Pnnnn-XXXX = ' '. write:/ Pnnnn-XXXX. endif.
ENDPROVIDE.
Period-Related Data
All infotype records are time stamped.
IT0006 (Address infotype)
01/01/1990 12/31/9999 present
Which record to be read depends on the date selection period specified on the
selection screen. PN/BEGDA PN/ENDDA.
Current Data
IT0006 Address - 01/01/1990 12/31/9999 present
RP-PROVIDE-FROM-LAST retrieves the record which is valid in the data selection period.
For example, pn/begda = '19990931' pn/endda = '99991231'
IT0006 subtype 1 is resident address
RP-PROVIDE-FROM-LAST P0006 1 PN/BEGDA PN/ENDDA.
Process Infotypes
RMAC Modules - RMAC module as referred to Macro, is a special construct of ABAP/4 codes. Normally, the program code of these modules is stored in table 'TRMAC'. The table key combines the program code under a given name. It can also be defined in programs.The RMAC defined in the TRMAC can be used in all Reports. When an RMAC is changed, the report has to be regenerated manually to reflect the change.
Reading Infotypes - by using RMAC (macro) RP-READ-INFOTYPE
REPORT ZHR00001.
INFOTYPE: 0002.
PARAMETERS: PERNR LIKE P0002-PERNR.
RP-READ-INFOTYPE PERNR 0002 P0002 .
PROVIDE * FROM P0002
if ... then ...endif.
ENDPROVIDE.
Changing Infotypes - by using RMAC (macro) RP-READ-INFOTYPE.
· Three steps are involved in changing infotypes:
1. Select the infotype records to be changed;
2. Make the required changes and store the records in an alternative table;
3. Save this table to the database;
The RP-UPDATE macro updates the database. The parameters of this macro are the OLD internal table containing the unchanged records and the NEW internal table containing the changed records. You cannot create or delete data. Only modification is possible.
INFOTYPES: Pnnnn NAME OLD,
Pnnnn NAME NEW.
GET PERNR.
PROVIDE * FROM OLD
WHERE .... = ... "Change old record
*Save old record in alternate table
NEW = OLD.
ENDPROVIDE.
RP-UPDATE OLD NEW. "Update changed record
Infotype with repeat structures
· How to identify repeat structures.
a. On infotype entry screen, data is entered in table form.
IT0005, IT0008, IT0041, etc.
b. In the infotype structure, fields are grouped by the same name followed by sequence number.
P0005-UARnn P0005-UANnn P0005-UBEnn
P0005-UENnn P0005-UABnn
Repeat Structures
· Data is entered on the infotype screen in table format but stored on the database in a linear
structure.
· Each row of the table is stored in the same record on the database.
· When evaluating a repeat structure, you must define the starting point, the increment and the
work area which contains the complete field group definition.
Repeat Structures Evaluation (I)
· To evaluate the repeat structures
a. Define work area.
The work area is a field string. Its structure is identical to that of the field group.
b. Use a DO LOOP to divide the repeat structure into segments and make it available for
processing in the work area, one field group (block) at a time.
Repeat Structures Evaluation(II)
Define work area
DATA: BEGIN OF VACATION,
UAR LIKE P0005-UAR01, "Leave type
UAN LIKE P0005-UAN01, "Leave entitlement
UBE LIKE P0005-UBE01, "Start date
UEN LIKE P0005-UEN01, "End date
UAB LIKE P0005-UAB01, "Leave accounted
END OF VACATION.
GET PERNR.
RP-PROVIDE-FROM-LAST P0005 SPACE PN/BEGDA PN/ENDDA.
DO 6 TIMES VARYING VACATION
FROM P0005-UAR01 "Starting point
NEXT P0005-UAR02. "Increment
If p0005-xyz then ... endif.
ENDDO.
Processing 'Time Data'.
· Dependence of time data on validity period
· Importing time data
· Processing time data using internal tables
Time Data and Validity Period
· Time data always applies to a specific validity period.
· The validity periods of different types of time data are not always the same as the date selection period specified in the selection screen.
Date selection period |----
|
Leave |----
|
· PROVIDE in this case is therefore not used for time infotypes.
Importing Time Data
· GET PERNR reads all time infotypes from the lowest to highest system data, not only those within the date selection period.
· To prevent memory overload, add MODE N to the infotype declaration. This prevents the logical database from importing all data into infotype tables at GET PERNR.
· Use macro RP-READ-ALL-TIME-ITY to fill infotype table.
INFOTYPES: 2001 MODE N.
GET PERNR.
RP-READ-ALL-TIME-ITY PN/BEGDA PN/ENDDA.
LOOP AT P0021.
If P0021-XYZ = ' '. A=B. Endif.
ENDLOOP.
Processing Time Data
· Once data is imported into infotype tables, you can use an internal table to process the interested data.
DATA: BEGIN OF ITAB OCCURS 0,
BUKRS LIKE P0001-BUKRS, "COMPANY
WERKS LIKE P0001-WERKS, "PERSONNEL AREA
AWART LIKE P2001-AWART, "ABS./ATTEND. TYPE
ASWTG LIKE P2001-ASWTG, "ABS./ATTEND. DAYS
END OF ITAB.
GET PERNR.
RP-PROVIDE-FROM-LAST P0001 SAPCE PN/BEGDA PN/ENDDA.
CLEAR ITAB.
ITAB-BUKRS = P0001-BURKS. ITAB-WERKS = P0001-WERKS.
RP-READ-ALL-TIME-ITY PN/BEGDA PN/ENDDA.
LOOP AT P2001.
ITAB-AWART = P2001-AWART. ITAB-ASWTG = P2001-ASWTG.
COLLECT ITAB. (OR: APPEND ITAB.)
ENDLOOP.
Database Tables in HR
· Personnel Administration (PA) - master and time data infotype tables (transparent tables).
PAnnnn: e.g. PA0001 for infotype 0001
· Personnel Development (PD) - Org Unit, Job, Position, etc. (transparent tables).
HRPnnnn: e.g. HRP1000 for infotype 1000
· Time/Travel expense/Payroll/Applicant Tracking data/HR work areas/Documents (cluster
PCLn: e.g. PCL2 for time/payroll results.
Cluster Table
· Cluster tables combine the data from several tables with identical (or almost identical) keys
into one physical record on the database.
. Data is written to a database in compressed form.
· Retrieval of data is very fast if the primary key is known.
· Cluster tables are defined in the data dictionary as transparent tables.
· External programs can NOT interpret the data in a cluster table.
· Special language elements EXPORT TO DATABASE, IMPORT TO DATABASE and DELETE
FROM DATABASE are used to process data in the cluster tables.
PCL1 - Database for HR work area;
PCL2 - Accounting Results (time, travel expense and payroll);
PCL3 - Applicant tracking data;
PCL4 - Documents, Payroll year-end Tax data
Database Tables PCLn
· PCLn database tables are divided into subareas known as data clusters.
· Data Clusters are identified by a two-character code. e.g RU for US payroll result, B2 for
time evaluation result...
· Each HR subarea has its own cluster.
· Each subarea has its own key.
Database Table PCL1
· The database table PCL1 contains the following data areas:
B1 time events/PDC
G1 group incentive wages
L1 individual incentive wages
PC personal calendar
TE travel expenses/payroll results
TS travel expenses/master data
TX infotype texts
ZI PDC interface -> cost account
Database Table PCL2
· The database table PCL2 contains the following data areas:
B2 time accounting results
CD cluster directory of the CD manager
PS generated schemas
PT texts for generated schemas
RX payroll accounting results/international
Rn payroll accounting results/country-specific ( n = HR country indicator )
ZL personal work schedule
Database Table PCL3
· The database table PCL3 contains the following data areas:
AP action log / time schedule
TY texts for applicant data infotypes
Data Management of PCLn
· The ABAP commands IMPORT and EXPORT are used for management of read/write to
database tables PCLn.
· A unique key has to be used when reading data from or writing data to the PCLn.
Field Name KEY Length Text
MANDT X 3 Client
RELID X 2 Relation ID (RU,B2..)
SRTFD X 40 Work Area Key
SRTF2 X 4 Sort key for dup. key
Cluster Definition
· The data definition of a work area for PCLn is specified in separate programs which comply
with fixed naming conventions.
· They are defined as INCLUDE programs (RPCnxxy0). The following naming convention applies:
n = 1 or 2 (PCL1 or PCL2)
xx = Relation ID (e.g. RX)
y = 0 for international clusters or country indicator (T500L) for different country cluster
Exporting Data (I)
· The EXPORT command causes one or more 'xy' KEY data objects to be written to cluster xy.
· The cluster definition is integrated with the INCLUDE statement.
REPORT ZHREXPRT.
TABLES: PCLn.
INCLUDE: RPCnxxy0. "Cluster definition
Fill cluster KEY
xy-key-field = .
Fill data object
Export record
EXPORT TABLE1 TO DATABASE PCLn(xy) ID xy-KEY.
IF SY-SUBRC EQ 0.
WRITE: / 'Update successful'.
ENDIF.
Exporting Data (II)
. Export data using macro RP-EXP-Cn-xy.
· When data records are exported using macro, they are not written to the database but to a
main memory buffer.
· To save data, use the PREPARE_UPDATE routine with the USING parameter 'V'.
REPORT ZHREXPRT.
*Buffer definition
INCLUDE RPPPXD00. INCLUDE RPPPXM00. "Buffer management
DATA: BEGIN OF COMMON PART 'BUFFER'.
INCLUDE RPPPXD10.
DATA: END OF COMMON PART 'BUFFER'.
RP-EXP-Cn-xy.
IF SY-SUBRC EQ 0.
PERFORM PREPARE_UPDATE USING 'V'..
ENDIF.
Importing Data (I)
· The IMPORT command causes data objects with the specified key values to be read from
PCLn.
· If the import is successful, SY-SUBRC is 0; if not, it is 4.
REPORT RPIMPORT.
TABLES: PCLn.
INCLUDE RPCnxxy0. "Cluster definition
Fill cluster Key
Import record
IMPORT TABLE1 FROM DATABASE PCLn(xy) ID xy-KEY.
IF SY-SUBRC EQ 0.
Display data object
ENDIF.
Importing data (II)
· Import data using macro RP-IMP-Cn-xy.
· Check return code SY-SUBRC. If 0, it is successful. If 4, error.
· Need include buffer management routines RPPPXM00
REPORT RPIMPORT.
*Buffer definition
INCLUDE RPPPXD00.
DATA: BEGIN OF COMMON PART 'BUFFER'.
INCLUDE RPPPXD10.
DATA: END OF COMMON PART 'BUFFER'.
*import data to buffer
RP-IMP-Cn-xy.
*Buffer management routines
INCLUDE RPPPXM00.
Cluster Authorization
· Simple EXPORT/IMPORT statement does not check for cluster authorization.
· Use EXPORT/IMPORT via buffer, the buffer management routines check for cluster
authorization.
Payroll Results (I)
· Payroll results are stored in cluster Rn of PCL2 as field string and internal tables.
n - country identifier.
· Standard reports read the results from cluster Rn. Report RPCLSTRn lists all payroll results;
report RPCEDTn0 lists the results on a payroll form.
Payroll Results (II)
· The cluster definition of payroll results is stored in two INLCUDE reports:
include: rpc2rx09. "Definition Cluster Ru (I)
include: rpc2ruu0. "Definition Cluster Ru (II)
The first INCLUDE defines the country-independent part; The second INCLUDE defines the country-specific part (US).
· The cluster key is stored in the field string RX-KEY.
Payroll Results (III)
· All the field string and internal tables stored in PCL2 are defined in the ABAP/4 dictionary. This
allows you to use the same structures in different definitions and nonetheless maintain data
consistency.
· The structures for cluster definition comply with the name convention PCnnn. Unfortunately,
'nnn' can be any set of alphanumeric characters.
*Key definition
DATA: BEGIN OF RX-KEY.
INCLUDE STRUCTURE PC200.
DATA: END OF RX-KEY.
*Payroll directory
DATA: BEGIN OF RGDIR OCCURS 100.
INCLUDE STRUCTURE PC261.
DATA: END OF RGDIR.
Payroll Cluster Directory
· To read payroll results, you need two keys: pernr and seqno
. You can get SEQNO by importing the cluster directory (CD) first.
REPORT ZHRIMPRT.
TABLES: PERNR, PCL1, PCL2.
INLCUDE: rpc2cd09. "definition cluster CD
PARAMETERS: PERSON LIKE PERNR-PERNR.
RP-INIT-BUFFER.
*Import cluster Directory
CD-KEY-PERNR = PERNR-PERNR.
RP-IMP-C2-CU.
CHECK SY-SUBRC = 0.
LOOP AT RGDIR.
RX-KEY-PERNR = PERSON.
UNPACK RGDIR-SEQNR TO RX-KEY-SEQNO.
*Import data from PCL2
RP-IMP-C2-RU.
INLCUDE: RPPPXM00. "PCL1/PCL2 BUFFER HANDLING
Function Module (I)
CD_EVALUATION_PERIODS
· After importing the payroll directory, which record to read is up to the programmer.
· Each payroll result has a status.
'P' - previous result
'A' - current (actual) result
'O' - old result
· Function module CD_EVALUATION_PERIODS will restore the payroll result status for a period
when that payroll is initially run. It also will select all the relevant periods to be evaluated.
Function Module (II)
CD_EVALUATION_PERIODS
call function 'CD_EVALUATION_PERIODS'
exporting
bonus_date = ref_periods-bondt
inper_modif = pn-permo
inper = ref_periods-inper
pay_type = ref_periods-payty
pay_ident = ref_periods-payid
tables
rgdir = rgdir
evpdir = evp
iabkrs = pnpabkrs
exceptions
no_record_found = 1.
Authorization Check
Authorization for Persons
· In the authorization check for persons, the system determines whether the user has the
authorizations required for the organizational features of the employees selected with
GET PERNR.
· Employees for which the user has no authorization are skipped and appear in a list at the end
of the report.
· Authorization object: 'HR: Master data'
Authorization for Data
· In the authorization check for data, the system determines whether the user is authorized to
read the infotypes specified in the report.
· If the authorization for a particular infotype is missing, the evaluation is terminated and an error
message is displayed.
Deactivating the Authorization Check
· In certain reports, it may be useful to deactivate the authorization check in order to improve
performance. (e.g. when running payroll)
· You can store this information in the object 'HR: Reporting'.
these are the main areas they ask q? -
Abaphr real time question with answer
hi friends
kindly send me ABAP-HR real time questions to my mail [email protected]
Thanks&Regards
Babasishhttp://www.sapgenie.com/faq/hr.htm
http://www.sapgenie.com/workflow/scenarios.htm
http://www.sapgenie.com/mysap/mysap_hr.htm
http://www.sap-img.com/human/hr-faq.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAPA/PAPA.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAPD/PAPD.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PYINT/PYINT_BASICS.pdf
http://www.sapdevelopment.co.uk/programs/programshr.htm
HR ABAP
Re: ABAP HR Overview
Take a look at these links....
http://www.sap-basis-abap.com/saphr.htm
http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci1030179,00.html?track=NL-142&ad=500911#Transactions
http://help.sap.com/saphelp_47x200/helpdata/en/4f/d5275f575e11d189270000e8322f96/content.htm
http://help.sap.com/saphelp_47x200/helpdata/en/4f/d5275f575e11d189270000e8322f96/content.htm
http://www.saptips.com/Previews/SAPtipsAugust-September2004TableOfContents.pdf
http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci1030179,00.html?track=NL-142&ad=500911#Transactions
http://help.sap.com/saphelp_46c/helpdata/en/4f/d528be575e11d189270000e8322f96/frameset.htm.
You can also have a look at the following :
http://www.sap-basis-abap.com/saphr.htm.
http://www.sapgenie.com/faq/hr.htm
http://www.sapgenie.com/workflow/scenarios.htm
Pls go thru following FAQ links. It will be useful :
http://www.sap-img.com/human/sap-hr-interview-questions.htm
http://www.sap-img.com/human/questions-and-answers-for-sap-hr.htm
http://www.sap-img.com/human/hr-faq.htm
http://www.sapdevelopment.co.uk/hr/hrhome.htm
http://www.sapgenie.com/mysap/mysap_hr.htm -
Problem with Synchronous abap proxy time out
Hi there.
I have the following scenario:
sync sync
3rd party <--> PI <--
> ERP
http abap proxy
In the implementing class on the abap proxy i'm calling an standard BAPI, followed by a commit and returning the result.
The 3rd party app has a mechanism that when a message fails, he'll retry each 5 mins until it gets the response.
Last night there where some delays on ERP that cause the sync mesages to timeout, the 3rd party retried about 10 times to send the message until it finally went off. This morning i check and i have the same message 11 times on ERP!!, to my understanding if the sync comm timed out the process will abort and the message will not be processed on ERP, does anybody knows if im missing some configuration for this to work this way??.
Kind Regards,
Roberto.Hi Roberto.
There are a lot of time out configures in PI .
Follow the link that explain about this:
How to Investigate Timeouts In Synchronous XI PI Scenarios
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c059d583-a551-2c10-e095-eb5d95e03747
I hope to help you.
If you still keep this problem, you can ask me more about it.
Regards..
Bruno. -
What are the important concepts in ABAP which are used in real time
Hi,
This suresh i'm learning sap/abap just i want to know the
important concepts sap/abap which will be used in real time.Hi,
Refer.
/people/thomas.jung/blog/2007/12/19/update-your-abap-development-skills-to-sap-netweaver-70
/people/horst.keller/blog/2007/03/21/1000-pages-full-of-abap
/people/anubhav.mishra/blog/2007/11/20/first-experience-with-abap
Also
Re: Any Bw abap course for writing routines?
Re: ABAP for BW
Re: Seeking advice ABAP With BW
Re: ABAP in BW
Hope this helps.
Thanks,
JituK -
Real time in webdynpro ABAP?
Hello Frends,
I am new to webdynpro fr ABAP. I have been working from the past 2 yrs on ABAP R/3. Recently I have been trained on OOPS, BSP and Webdynpro fr ABAP fr a CRM project. Before I get in to the project, i just wanted to know, how and what exactly I need to do in real time. How the requirement comes for a webdynpro and how different is it from R/3. If I can get the information more on what will be done in real time, would be appreciated.
Thanks,
Regards.Hi Rao,
Wrong place to be looking for Interview questions my friend try google instead , if you are looking for some excercises than try this link Web Dynpro ABAP exercises from TechEd 2007 for ABAP Trial Version
Happy Learning,
Chaitanya. -
hello ABAP gurus,
i am a fresh ABAper, technically very sound, but not getting job as a fresh ABAPer. So i am showing +2 years fake exp.
I usually clear the ABAP tech round, but always being rejected because of the lack of real time ABAP questions those r usually put/asked by the interviewers to trap the fake candidates.
If anybody having such question and answers, plz open to the SAP community.
it will be really the most rewardable help to all ABAP freshers.You'd think so, but in some countries it can be very messy and costly to get rid of someone even if they did get the job dishonestly or under false pretences.
It also means that the person who made the decision to hire them has to admit he was wrong ...
I once saw a guy who'd been on two projects with a consulting firm - kicked off both within a few weeks and spenmt a year on the bench - get hired as develpment manager. Now there were three guys from his ex-firm already on site and the dork who hired him didn't even think to informally ask them. When the penny dropped they tried demoting him and he threatined to sue.
You think Dilbert is fiction? -
ABAP Real Time Questions..
Dear Friends,
please help me out in getting some real time question and answers related to ABAP.Dear Hazi Valli,
Post ABAP related queries in ABAP Forums. Search the forum for generic queries.
Wiki link for ABAP:
https://wiki.sdn.sap.com/wiki/display/ABAP
Have moved the thread to ABAP General.
Regards,
Naveen. -
How to call abap proxy at run time?
hello frnds,
i m working on a scenario in which whenever Invoice is saved in SAP R/3 at that time same data should go to Oracle DB. i m using ABAP proxy on SAP R/3 side and JDBC receicver adapter on oracle side of XI.
so to post data i need to call ABAP Proxy whenever invoice is saved.. i have tried to find out save event for invoice but not able to get... can anybody tell me the solution that how i can call proxy at run time?
thanx in advance.
Regards,
Hetal.....Hi Audumbar,
Check these ...
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
/people/siva.maranani/blog/2005/04/03/abap-server-proxies
/people/vanita.thareja2/blog/2006/05/23/bpm-sending-message-asynchronously-and-getting-the-response-from-synchronous-system-using-abap-proxies
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
cheers,
Prashanth
P.S Please mark helpful answers -
What are the main parts in ABAP Programing to work in Real Time ?
Hi
I would like to know hat are the main/important parts in ABAP Programing to work in real time environment.
Moderator message : Search for available information. Thread locked.
Edited by: Vinod Kumar on Aug 1, 2011 9:50 AMHi Ashok,
There are so many programming parts such as Function modules, report programs, workflows, smartforms, webdynpro, adobe forms, scripts etc.
In which context you want answer can you please tell ?
Regards,
Aabha -
Dear all,
Hereafter is my scenario;
My customer after sales system works on AS400. Assuming that I would manage spare parts (required for after sales) inventory, including goods entry, goods issue as well as the company financial accounting in SAP, I have to interface the two system.
From SAP to AS400: (flow1) Master files + (flow2) goods entry
From AS400 to SAP: (flow3) AR postings, (flow4) goods consumption
Then my two systems will be in line in terms of referential data (flow1), stock movement (flow2 + flow4), invoicing (flow3).
1) My question is to know what would be the best way to flow2 knowing that stock movement following a goods entry (done in SAP) should be visible in real time from AS400?
2) Regarding other flows, no need for real time. So I guess flat file should be ok. However, would master data for instance sent from SAP to AS400 require a mapping table in order to be properly integrated in AS400?
Regards.Real Time doesn't mean always fast. It depends on your application requirements.
Anyway, don't think too much about Real Time in Windows. If it's possible, try to do all "time critical" operations in Matlab and after that pull data with LV. -
Problem with Inbound Abap Proxy
Hi Experts,
I have an Inbound ABAP proxy scenario that insert data into a ztable. The whole process from XI to R/3 works fine, except it does not update my ztable.
The only time the ztable gets updated is when i debug it. I used this report "SPRX_TEST_INBOUND" to debug
Anyone who's had a similar problem.
Thank you in Advance,
DannyHi,
did you use the same XML from SXMB_MONI that gets posted during message flow?
you can check inside your inbound proxy if the values are not empty etc
and then raise an exception to see what's going on
you can also do an endless loop and get inside it to see the real values
that get passed into the proxy
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
could you please provide me some real time questions on sap-xi,
thank you1. What are the Three types of XI Cache? How are they used?
2. Where would you look to find Logical System in the SLD.
ANS Business system wizard
3. What 2 Data Types are automatically created when the Namespace is saved in the Integration Repository?
ANS. ExchangeFaultdata and Exchange log data.
4 Which Development Object in SAP XI forms the "ROOT NODE" of an XML document when an XI message is generated?
ANS MESSAGE TYPE
5. Describe the setting to "Permit Importing of SAP IDOCs or BAPI/ RFCs". Where is this configured?
ANS.
6. What are the valid types of Message Mappings? Which is configured with the Graphical User Interface and requires no coding?
ANS. MESSAGE MAPPING, XSLT MAPPING, ABAP MAPPING AND JAVA MAPPING, MESSAGE MAPPING REQUIRES no coding
7. What actions should you take if your Business System does not show when attempting to "Transfer from the SLD"?
8. What is the relationship between Product, Product Version, Software Component and Software Component Version? Give an example.
ANS. PRODUCT: Represents a collection of all versions of a product . In SAP environment , a product corresponds to an SAP technical Component, eg 4.6c,4.6d,4.7
COMPONENT: Represents a collection of all versions of a software components Examples of Software components are SAP_APPL,SAP_ABA,SAP_HR Software
9. Describe the Design Repository (DR) objects you created to configure a scenario.
10. What are the different design time components used by XI?
11. What monitoring service does the integration server provide?
12. Describe the alert functionality of the runtime workbench.
ANS Message alerting allows to set conditions for triggering Alerts. This allows notification of the correct parties for a specific classes of errors.
13. In BPM, if you have async-sync bridge, does the QOS change?
14. What is logging/ trace? List 4 ways to enable logging/ trace?
15. Properties of an async message?
16 Inbound XI message has problem, where do you look for solution?
17. Describe XI message format.
18. Describe end-to-end monitoring. What is it? How is it configured? What are the different views?
ANS It is a tool for monitoring end to end technical processes involving multiple components.
to configure end to end monitoring :1. On initial screen of runtime work bench ,select configuration tab page.
2.enter the logon data for the monitoring server.
3.choose display.
4.system displays the components of the correct domain and the integration server is selected as default.
5.select the other components that you want to use and configure them as sender or receiver ,or both depending on the component type.
6.we can select monitorin level that we want to use for each of the selected component.
7.Choose save configuration .
Processes overview and the instance view are the two different views
19. Different steps to make a Sender IDOC adapter work?
20. JMS adapter can talk with what type of systems? Give some examples...
ANS Messaging systems to the integration engine
21.What format can JDBC adapter communicate in? Should you use native SQL?
ANS. JDBC adapter converts data base content to XML messages and the other way around.
22.If communications with JDBC using XML format, what are 4 actions you could do?
ANS. SELECT, INSER, DELETE , UPDATE.
23. How does PCK and adapter framework engine differ?
ANS.
24. Can JDBC adapter query DB tables? Can it insert?
ANS. Yes
25. JMS adapter scenario messaging system provider needs to submit what?
26. List some properties of receiving IDOC adapter.
27. JDBC/ JMS required certain steps before they can work?
ANS vender specific JMS driver must be deployed on to the J2EE engine using SDM
Appropriate JDBC driver must be deployed on the system
28. What is ALEAUDIT with respect to IDOCS? When will they use it?
29. Properties of the HTTP adapter, does it use or need a sender or receiver communications channel or agreement?
30. What does a RFC adapter support?
ANS sRFCs and tRFCs
31. Is EOIO supported by RFC?
ANS No
32. What are the advantages of using a decentralized adapter engine?
ANS.
33. What are the different monitoring statuses? Where do you find them?
ANS Different monitoring statuses are Message Monitoring, Component monitoring , performance Analysis and Alerting and we find this in Runtime Workbench.
34. What adapters are not in adapter engine? code you can type in,
ANS HTTP and IDOC adapters are not in adapterengine and we can type code in IDOC
A. Which ABAP proxy, in or outbound has Which one used classes with regards to Sync/ Async what is the method call?
36. With an optional node what would be the cardinality? How do you make sure the subordinate fields get mapped?
37. WSDL what is it? Where do you find it in Repository? Is it used in Java or ABAP proxy?
38. XI 3.0, what are the supported mapping types?
ANS Message mapping, ABAP mapping, JAVA mapping and XSLT mapping
39. What are the prerequisites for importing customer defined IDOC?
ANS
40. What are the three IDOC transactions in XI?
ANS SM59, IDX1and IDX2.
41. Context object replace what?
ANS Xpath
42. Two things can make up a collaboration agreement, what are they?
ANS Sender agreement and receiver agreement
43. What is a logical system, with respect to SLD? Where would you assign it?
ANS
44. What is the sender communications channel?
ANS specify the potential senders of messages and the technical communication path
45. If error during inbound or outbound binding, where do you look to solve?
46. URI, URL and URN what are they and what are their differences?
47. To perform content based (logical) routing, two places it can be done. What are the two places?
48. What is an integration process? Where is it executed? What stake?
49. In a message mapping you have advanced user defined function, can you test for context changes, if yes how?
50. What is multi-mapping? Where is it used? What are the advantages?
ANS Multimappping is any mapping that involves N messages either or source or target side Multimapping can be used in ccBPM
1.used to map abstract interfaces
2. Development is same as message mappings.
3.n:1 transformation
4.1:n transformation
5. n:m transformation
51. What are the two XSLT tags, previously that could not be used in XI?
ANS
52. Using a simple user defined function how can you send trace information to be monitored?
53. What is function "exists" in message mapping?
ANS We can handle the error by checking whet her the source tag exists and if it does not we can pass an empty value, which generates the required target field.
54. What Jar file is required to perform Java Mapping?
ANS
55. What is context in message mapping and how is it used?
56. What is remove context and splitby value?
ANS to remove parent context of an element and spliby value is counterpart of remove context.
57. Where can you use user defined function? What is its scope?
58. If you are building Java mapping class which class interface must it implement?
59. What is the scope of mapping template?
60. How does a Boolean function work in message mappings?
61. Source message occurs 3 times, target only once, what is wrong?
62. In simple mapping - one source results in 4 identical target messages, with regarding cardinality what is the problem?
63. What is a prerequisite to do ABAP mapping for a comple transformation?
64. What step can be inserted into an exception branch?
ANS
65. How do you get an error condition to generated an alert?
ANS
66. What actions can you perform in SXI_CACHE?
67. What is a wait step and why is it used?
ANS It is a process flow control relavent and is used toset start time for next step
68. What is a block step and why is it used?
ANS
69. Could multiple instances of an integration process be running at the same time? If so, how does a message find its way to the correct instance?
70. Which XI objects can be used in an integration process? Which ones from Repository?
71. Send message within an integration process to 8 receivers at the same time, how can you do this?
72. What is a correlation? What is a local correlation?
73. What is the relationship between an integration process and business workflow? -
Can any one share Real-Time Senario of File to IDOC (CREAMAS) in XI?
Can any one share Real-Time Senario of File to IDOC (CREAMAS) in XI and if possible please share some impartent Screen-Shoots?
if u don't have CREAMAS senario please share Any of Masster data IDOC like MATMAS R DEBMAS.....
Tks
Durusoju.Now start with these link.....
http://help.sap.com/saphelp_nw04/helpdata/en/80/8e3841e26cef23e10000000a155106/frameset.htm
https://www.sdn.sap.com/irj/sdn/developerareas/xi?rid=/webcontent/uuid/a680445e-0501-0010-1c94-a8c4a60619f8 [original link is broken]
This might help you
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
Further, this thread deals with everything that is needed for a starter on XI. Do check them out,
JDBC Receiver: exact SQL statement
/message/527697#527697 [original link is broken]
And after you are done with the documentation probably you can go through this scenario,
JDBC Receiver: exact SQL statement
Also check the following threads which might help you a little more,
Learning XI
XI 3.0 Training
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/13926f23-0a01-0010-149c-c1170e7a25db
/people/sravya.talanki2/blog/2006/12/25/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-i
/people/sravya.talanki2/blog/2006/12/26/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-ii
/people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii
and once you are through ...follow the following links to weblogs which explain all the basic scenarios in XI
Following are the links to weblogs which will help to develop the basic scenarios.
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Proxy to File
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 - File to JDBC
/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - File to ABAP Proxy
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1 - File to File Part 1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2 - File to File Part 2
/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] - File to Mail
/people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i - Dynamic File Name Part 1
/people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii - Dynamic File Name Part 2
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address - Dynamic Mail Address
/people/siva.maranani/blog/2005/05/25/understanding-message-flow-in-xi - Message Flow in XI
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm - Walk through BPM
/people/siva.maranani/blog/2005/05/22/schedule-your-bpm - Schedule BPM
/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in ccBPM
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM
/people/michal.krawczyk2/blog/2005/08/22/xi-maintain-rfc-destinations-centrally - Maintain RFC destination centrally
/people/sravya.talanki2/blog/2005/08/18/triggering-e-mails-to-shared-folders-of-sap-is-u - Triggering Email from folder
/people/sravya.talanki2/blog/2005/08/17/outbound-idocs--work-around-using-party - Handling different partners for IDoc
/people/siva.maranani/blog/2005/08/27/modeling-integration-scenario146s-in-xi - Modeling Integration Scenario in XI
/people/michal.krawczyk2/blog/2005/08/25/xi-sending-a-message-without-the-use-of-an-adapter-not-possible - Testing of integration process
/people/michal.krawczyk2/blog/2005/05/25/xi-how-to-add-authorizations-to-repository-objects - Authorization in XI
http://help.sap.com/saphelp_nw04/helpdata/en/58/d22940cbf2195de10000000a1550b0/content.htm - Authorization in XI
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - Trouble shoot alert config
/people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi - Call UNIX Shell Script
/people/sravya.talanki2/blog/2005/11/02/overview-of-transition-from-dev-to-qa-in-xi - Transport in XI
/people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping - Using ABAP XSLT Extensions for XI Mapping
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure - Mail Adaptor options
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
/people/sap.user72/blog/2005/11/17/xi-controlling-access-to-sensitive-interfaces - Controlling access to Sensitive Interfaces
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14 - The same filename from a sender to a receiver file adapter - SP14
/people/prasad.illapani/blog/2005/11/14/payload-based-message-search-in-xi30-using-trex-engine - Payload Based Message Search in XI30 using Trex Engine /people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i - XI : Configuring CCMS Monitoring for XI- Part I
/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter - XI: HTML e-mails from the receiver mail adapter
/people/sap.user72/blog/2005/11/22/xi-faqs-provided-by-sap-updated - XI : FAQ's Provided by SAP
cheers
Aveek -
XI real time scenarios practice
Hello XI gurus,
Are there any XI exercises available to prepare myself for real time scenarios?
I understand that SAP training material includes exercises. But other that material (for people who do not have that material), are any other options available?
If I can get XI system access, what are the basic topics/areas that I need to practice to survive the first few months as XI developer?
Thank you very much.
ManuHey
Following are the links to weblogs which will help to develop the <b>basic scenarios</b>.
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Proxy to File
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 - File to JDBC
/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - File to ABAP Proxy
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1 - File to File Part 1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2 - File to File Part 2
/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] [original link is broken] - File to Mail
/people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i - Dynamic File Name Part 1
/people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii - Dynamic File Name Part 2
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address - Dynamic Mail Address
/people/siva.maranani/blog/2005/05/25/understanding-message-flow-in-xi - Message Flow in XI
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm - Walk through BPM
/people/siva.maranani/blog/2005/05/22/schedule-your-bpm - Schedule BPM
/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in ccBPM
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM
/people/michal.krawczyk2/blog/2005/08/22/xi-maintain-rfc-destinations-centrally - Maintain RFC destination centrally
/people/sravya.talanki2/blog/2005/08/18/triggering-e-mails-to-shared-folders-of-sap-is-u - Triggering Email from folder
/people/sravya.talanki2/blog/2005/08/17/outbound-idocs--work-around-using-party - Handling different partners for IDoc
/people/siva.maranani/blog/2005/08/27/modeling-integration-scenario146s-in-xi - Modeling Integration Scenario in XI
/people/michal.krawczyk2/blog/2005/08/25/xi-sending-a-message-without-the-use-of-an-adapter-not-possible - Testing of integration process
/people/michal.krawczyk2/blog/2005/05/25/xi-how-to-add-authorizations-to-repository-objects - Authorization in XI
http://help.sap.com/saphelp_nw04/helpdata/en/58/d22940cbf2195de10000000a1550b0/content.htm - Authorization in XI
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - Trouble shoot alert config
/people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi - Call UNIX Shell Script
/people/sravya.talanki2/blog/2005/11/02/overview-of-transition-from-dev-to-qa-in-xi - Transport in XI
/people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping - Using ABAP XSLT Extensions for XI Mapping
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure - Mail Adaptor options
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
/people/sap.user72/blog/2005/11/17/xi-controlling-access-to-sensitive-interfaces - Controlling access to Sensitive Interfaces
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14 - The same filename from a sender to a receiver file adapter - SP14
/people/prasad.illapani/blog/2005/11/14/payload-based-message-search-in-xi30-using-trex-engine - Payload Based Message Search in XI30 using Trex Engine /people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i - XI : Configuring CCMS Monitoring for XI- Part I
/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter - XI: HTML e-mails from the receiver mail adapter
/people/sap.user72/blog/2005/11/22/xi-faqs-provided-by-sap-updated - XI : FAQ's Provided by SAP
Regards,
Sushil Hadge
Maybe you are looking for
-
Help!!!! trying to install leopard on a powermac g5 tower
ok im new here and i would like to get some kind of help. i have a powermac g5 tower that is been giving me alot of problems. i currently have 10.4.11 and trying to upgrade to leopard. but every time i do the install process it quits on me and tells
-
I always get this error when I try to install the Trial of 'Adobe CS6 Design and Web Premium'
Exit Code: 15 Please see specific errors and warnings below for troubleshooting. For example, ERROR: DW051 ... -------------------------------------- Summary -------------------------------------- - 0 fatal error(s), 8 error(s), 0 warning(s) ERROR:
-
TS2296 How do I fix the trouble I am having with non-responsive apps?
I have the iPhone4, and the ios7 update. My problem is that certain apps on my phone have been somewhat unresponsive since the ios7 update. Not even just slow. Things like snapchat will notify my screen that I have a reply, but then the reply doesnt
-
How to connect shuffle to a VW stereo??
Got tired of looking for an adapter to connect my shuffle to my car stereo. I have a VW which comes with the 30-pin connector cable but the shuffle does not connect to that. Anyone knows how to connect??
-
Migrating Japanese Characters from MS SQL Server 2000 to Oracle 9i usng Jsp
Hi , I have a situation where the Japanese characters are to be migrated from MS SQL Server 2000 to Oracle 91 and then render the same using JSP. I followed the below approach, 1. Extract the Japanese data from MS SQL Server and generate an XML 2. Pa