Simple Scenerio in XI
Hi Friends,
I am learning XI, and right now working on simple scenerio of Idoc to Idoc transfer, i.e. from sandbox to IDes.
I am sending Sales order notification from one system to other. I am able to do that with ale. but Now i am trying XI.For this,I wan to knw, what SWCV do i need to import in my repository.Also I am not able to understand the concept of SWCV, y they are needed. So plz gve me some suggestions.
in sld, business system and tech system is already defined.
Hi,
please have a look here for swcv:
http://help.sap.com/saphelp_nw04/helpdata/en/42/ed903cf6c4492ce10000000a114084/frameset.htm
and this is very helpful for IDoc scenarios:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098
Regards
Patrick
Edited by: Patrick Koehnen on Jul 2, 2008 4:18 PM
Similar Messages
-
Hello All,
I have simple scenerio SAP(RFC) ---> PI ---> Webservice
this is a sync scenerio. RFC is sending a request to webservice in return we are reciving some data which needs to go to RFC.
RFC will store this data in Ztable
We have done all configuration only problem we are facing is
Request is going sucessully even we are receiving response from webservice and We can see in sxmb_moni response from webserv and after mapping how this is going in RFC structure.
Problem is SAP side we are not receiving this data mens table is not getting updated.can anyone point out where problem can be.
Regards,
VikrantHi Vikrant,
--> Map the response field of the webservice to the response filed of the RFC.
--> I think you had done the two mapping programs in your IR one is for the request and the other is for the response.
--> After getting the response from the webservice it should get hold by the response filed of the RFC and insert the filed value in to the db table.
Thanks -
Hello All,
I have a simple scenerio IDOC to File.
We had a requirement of making a XML file of IDOC received in PI , ery simple and straight forward.
Now Target side as a requirement to place a file in CSV format.
I mean the IDOC received in PI should be placed in target directory as CSV file.
I am working on PI7.11 , can anyone help me with some info.
Thanks a lot in advance.
Regards,
VikrantHi Vikrant,
>>Now Target side as a requirement to place a file in CSV format. I mean the IDOC received in PI should be placed in target directory as CSV file.
If you want the XMLized IDoc to be converted to a plain IDoc, either use the approach suggested by Michal in this blog (use tunneling and create a by-pass scenario)
/people/michal.krawczyk2/blog/2005/11/21/xi-idoc-to-idoc-tunneling--how-fast-and-easy-can-you-get
or
download the IDoc as a flat Idoc and use PI to transfer the content from one directory to another.
PS: All this is applicable if you want the Flat version of XMLized Idoc
Regards
Suraj -
Java heap space error occured during message mapping of FILE to IDOC
hello Friends,
I am trying to do the message mapping for File to Idoc scenario.
Idoc which I am using is HRMD_A.HRMD_A06 and infotype which I want to update is 14. I am trying to map the message type which I hav created for infotype 14 with the IDOC
Its very simple scenerio but every time I try to save the mapping before activating it I get an error:
Java heap space
Internal problem occurred (INTERNAL_PROBLEM)
Java heap space.
I am not able to figure out what possibly is the problem wheather its from my end or the BASIS end.
Kindly help.
Regards,
LokeshAs the server probably survives (you restart your Integration Builder and can probably connect immediately), the problem will be on your side (client). Did you add one or more large xml-test-instances to the mapping ? If yes, delete them, because they lower the performance and can make problems. If not, then this is a strange problem. Even if the Idoc structure is complex, the mapping object itself cannot be that large.Is this problem only with this one mapping ?
CSY
Edited by: Christian Sy on Mar 9, 2010 6:26 AM -
XI Picking up an incomplete file
We have a scenario that an application writes out a file where XI is configured to poll for it. XI will pick up and move to a local file system. Sometime XI picks up a file while the other external process/application is actually writing out the file.
To verify our theory of behavior is wrote a custom java application that slowly streams out small bits of data to a file location that XI is polling for. The behavior of XI is consistent. XI does not does not seem to account for any type of file handler or anything like that.
Are we missing some configuration step in the File Adapter module.
Simple scenerio
Custom Java Application (file output) --- > XI --> local file system
Thank you for your time and responses
Whit ArmstrongPls check the note...821267 and see the section 3. File Locking...
see if it makes sense to you...
you might want to try useing the "Msecs to Wait Before Modification Check" parameter in the advanced setting...
Thanks,
Renjith -
SOAP Sender Authentication deactivation
Hi All,
I have scenerio from SOAP to Proxy.
While sending data to PI through URL thrid party wants us to deactivate authentication.
We require this only in development enr for testing.
Can you please advice how we can do this.
Regards,
VikrantHello All,
I have a simple scenerio IDOC to File.
We had a requirement of making a XML file of IDOC received in PI , ery simple and straight forward.
Now Target side as a requirement to place a file in CSV format.
I mean the IDOC received in PI should be placed in target directory as CSV file.
I am working on PI7.11 , can anyone help me with some info.
Thanks a lot in advance.
Regards,
Vikrant -
Multiple Holiday Calendars for an employee
Hi
We have a requirement, where an employee works for various clients in a month/year. Whenever he moves to a new client, that client holiday calendar should replace the existing for that period only.
Eg: Client XYZ has holiday calendar1, calendar 2, calendar 3 in location 1, location 2 location 3 respectively...
If employee is in location 4 with calendar 4, Supports the client XYZ location 1 his calender 4 should be replaced by calendar 1 for that employee.
Regards,
SBIn this case employee is not physically moving to a different location, from the same location1 he can support client 2 or client. and moreover Clients and client locations cannot be a part of Enterprise structure.
In my opinion, this is not a simple scenerio, it certainly needs some development -
Has anyone had experience using IBM's Data Protection for Flash Copy with necessary for backups? The IBM documentation mentions a "backup database server" and that "Oracle Server" must be available on both prod and backup servers. Does this mean that there is another instance running on the backup server or is it just necessary to have the Oracle software loaded on the bu server?
Hi David
1.yes u need large undo tablespace that hold information for long time.
and set undo retension parameter according to need of flashback query.
But Don't set "Retention Guarantee" because when u set this parameter it will fail DML transaction on database.
because it will give importance to retail data in undo.
In simple Scenerio(No Guarantee Mode)
if DML required undo space in undo tablespace then it will overwrite expired undo and select query may be fail with "snapshot too old error"
But when u set it to undo retension then
oracle will not able overwrite on expired undo and u r DML query fail..........
so in normal prod database we will give more importance on DML query rather then Select query
so Don't use undo retension to gurantee mode.
But u can use in dataware house where query take long time to fetch result even in days.
2.u need to config MML for taking backup of rman to tape directly.
Thanks and regards
Kuljeet Pal Singh -
hi
i want some basic document and some simple scenerio for webdynpro for java....
plz send to [email protected] ....
thx in advance...Hi,
Refer these links
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/web%20dynpro%20tutorial%20and%20sample%20applications.faq
What is Web Dynpro? What is Web Dynpro?
Why WebDynpro ? Why WebDynpro ?
Why webdynpro and not BSP or JSP? Why webdynpro and not BSP or JSP?
BSP to WEB Dynpro BSP to WEB Dynpro
Benifits of using Webdynpro Benifits of using Webdynpro
Java vs. ABAP WEbDynpro Java vs. WebDynpro ABAP
regarding Java related webdynpro regarding Java related webdynpro
Web Dynpro vs. Struts - a few questions Web Dynpro vs. Struts - a few questions
What kind of applications are being developed with Web Dynpro? What kind of applications are being developed with Web Dynpro?
Check this:
http://www.sappro.com/downloads/OptionComparison.pdf
Refer these links
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/web%20dynpro%20tutorial%20and%20sample%20applications.faq
What is Web Dynpro?
Why WebDynpro ?
Why webdynpro and not BSP or JSP?
BSP to WEB Dynpro
Benifits of using Webdynpro
Java vs. ABAP
regarding Java related webdynpro regarding Java related webdynpro
Web Dynpro vs. Struts - a few questions
What kind of applications are being developed with Web Dynpro?
Regards,
SURYA -
Rman and Flash Recover questions.
I am trying to understand some of the new features of Oracle 10g as they relate to backup and recovery.
1) Flashback Query? I have looked thru many technical bulletins in the Oracle Technology Network and Metalink and am still confused as from where Flashback Query retrieves the data. Documentation seems to point to the Undo Tablespace. Is this is true I assume the Undo Tablespace would have to be quite large if you wanted to retrieve a record that might be > 1 week old on an active database. The undo_retention parm would have to be set quite large and the Undo Tablespace would have to be created with the "Retention Guarantee" clause. Correct?
2) Backing Up the Flash Recovery Area to Tape?
For all databases we backup with Rman this is the standard backup configuration we use for Oracle 9i.
RMAN> show all;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 100 DAYS;
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 2;
CONFIGURE DEVICE TYPE DISK PARALLELISM 1; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/crs01/app/oracle/product/9.2/dbs/snapcf_CRSP.f'; # default
The standard Rman backup script we use is seen below.
run {
# Full database backup including the control file and spfile
backup database format '%d_%U' ;
# Switch logs before backing up the archive logs
sql 'alter system archive log current';
# Backup all the archive logs for the past 5 days
backup archivelog from time 'sysdate-5' format '%d_archives_%U';
# Mark unavailable backups as expired
crosscheck backup;
# Delete backups older than 100 days
delete noprompt obsolete;
delete expired backup;
# Delete archive logs older than 7 days
delete noprompt archivelog until time 'SYSDATE-7';
# Backup control file again
backup current controlfile;
resync catalog;
If we use Flash Recovery area and have enough disk space for two days of Rman backups to be stored there we must move anything over two days old to tape. The command "Backup Recovery Area" backs up the Rman backups in the Flash area to tape, correct? Will any of the
configuration or backup commands listed above have to change? Upon execution of the Restore command in Rman will Rman know to retrieve from tape a backup > 2 days old?
ThanksHi David
1.yes u need large undo tablespace that hold information for long time.
and set undo retension parameter according to need of flashback query.
But Don't set "Retention Guarantee" because when u set this parameter it will fail DML transaction on database.
because it will give importance to retail data in undo.
In simple Scenerio(No Guarantee Mode)
if DML required undo space in undo tablespace then it will overwrite expired undo and select query may be fail with "snapshot too old error"
But when u set it to undo retension then
oracle will not able overwrite on expired undo and u r DML query fail..........
so in normal prod database we will give more importance on DML query rather then Select query
so Don't use undo retension to gurantee mode.
But u can use in dataware house where query take long time to fetch result even in days.
2.u need to config MML for taking backup of rman to tape directly.
Thanks and regards
Kuljeet Pal Singh -
Hello All,
I have scenerio SAP(IDOC) --- > PI -
> Webservice (SOAP)
Here we are using BPM AsyncSync Call because we need to send response back to SAP system.It is working perfectly , but now in Production system we found frequently it is giving error.
Mostly in MONI it dont show any error it always shows error in smq2 inbound q with error message exception in BPE.
When i analyse this error i found that while sending a response from webservice there was some connection problem, but i didnot understood why it got stuck in Inbound q.
Can anyone let us know why we have got this error or is there anyone we can rectify this.Can it be a cause of interface design issue,This is very frequent problem so we want to rectify this .
Regards,
VikrantUsing an Exception Handling in such a case is always helpful.
Include the SyncSend step inside a block and include an Exception Branch for this Block.
So now if any error is faced while getting back the response (like connection issue) it will be caught by the exception branch.
In there you can apply the relevant exception logic (send alert email) or even a simple Cancel Process step will also do (depending on your business logic)
This will fix the issue forever and prevent the BPM getting stucked. Ask your TL/ PM to follow this approach and let us know what they think on it.
Even I am implementing the same logic in my project for every sync call with a WS.
Regards,
Abhishek. -
How to create workflow for this scenerio
HI Gurus,
I am new to workflow.
I have to create a workflow. But I have a problem what the object type I have to choose. It may be simple but i dont know do it.
Scenerio of the workflow given is...
This workflow gets pernr and benefit plan information from portal.
this workflow is a one step approval mail
In the workflow three steps are there.
In the first step i have to derive basic hourly salary of the person by using infotype --- 008 and company code for the pernr from the 0001 and benefit plan he enrolled
Second step ---
there are two company codes, I have to use condition step,
if one company code I have to send to one hr department mail for approval
and the other for another hr department step.
in the workitem i have to pass salary information, pernr information.
third step, after approval I have to update the respective infotype.
My question is for the above scenerio, what object type I have to use.
For the first step is there any method I have to create which calls function module.
if so for which object type i have to add method.
third how do I create the workflow container for this.
I am new to workflow. Please help me friends.
RaviI think you should create your own Business Object or you can refer to Business Object EMPSALPACK.
Now Company Code should be an Attribute that you should do the Coding For.
Use this attribute in the Condition Step of Workflow Template.
Workflow Container will contain the Business Object that you will be creating. The Business object should have Key Field Pernr and may be anything relevant that you will do for Coding. I think you might have to trigger the Event of the Business Object through code.
Check the Code below.
<b>Reward Appropriate Point if useful</b>
INCLUDE <cntn01> .
DATA:i_emp_details TYPE STANDARD TABLE OF p0001, "Employee Details
wa_request TYPE p0001, "Workarea for Employee details
v_country_grp TYPE molga, "Country SubGrouping
v_object_key TYPE sweinstcou-objkey. "Key for the buisness object ZWOBUSTRIP
CONSTANTS: c_bo_trip TYPE swo_objtyp VALUE 'ZWOBUSTRIP',
c_event_trip TYPE swo_event VALUE 'TripCreate',
c_infy_type_1 TYPE infty VALUE '0001'.
Event Container declaration
swc_container i_event_cont.
swc_create_container i_event_cont.
Reading the INFO TYPE 0001 to obtain the
Employee details
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
pernr = i_emp_number
infty = c_infy_type_1
begda = sy-datum
endda = sy-datum
TABLES
infty_tab = i_emp_details
EXCEPTIONS
infty_not_found = 1
OTHERS = 2.
SY-SUBRC check is not required as the error
handelling will be done by WorkFlow rule
resolution.
CLEAR wa_request.
READ TABLE i_emp_details INTO wa_request INDEX 1.
IF sy-subrc = 0.
Retrieving the Country SubGrouping for the employee
SELECT SINGLE molga
FROM t001p
INTO v_country_grp
WHERE werks = wa_request-werks
AND btrtl = wa_request-persk.
ENDIF.
Sending the relevant data to event container
swc_set_element i_event_cont 'EmpId' i_emp_number.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
swc_set_element i_event_cont 'PersonnelArea' wa_request-werks.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
swc_set_element i_event_cont 'CountryGrouping' v_country_grp.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
swc_set_element i_event_cont 'EmpSubGrp' wa_request-persk.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
swc_set_element i_event_cont 'EmpTripId' i_emp_trip.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
Raising the event to trigger the workflow
v_object_key = i_emp_number.
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
objtype = c_bo_trip
objkey = v_object_key
event = c_event_trip
TABLES
event_container = i_event_cont
EXCEPTIONS
objtype_not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
COMMIT WORK.
ENDFUNCTION.
Thanks
Arghadip -
How to create workflow for this simple scienerio
HI Gurus,
I have to create a simple workflow. But I have a problem what the object type I have to choose.
Scenerio of the workflow is ..
This workflow gets pernr and benefit plan information from portal.
this workflow is a one step approval mail
In the workflow three steps are there.
In the first step i have to derive basic hourly salary of the person by using infotype --- 008 and company code for the pernr from the 0001 and benefit plan he enrolled
Second step ---
there are two company codes, I have to use condition step,
if one company code I have to send to one hr department mail for approval
and the other for another hr department step.
in the workitem i have to pass salary information, pernr information.
third step, after approval I have to update the respective infotype.
My question is for the above scenerio, what object type I have to use.
For the first step is there any method I have to create which calls function module.
if so for which object type i have to add method.
third how do I create the workflow container for this.
I am new to workflow. I know scenerio is simple but I dont know how to do it.
Please help me friends.
Ravithink you should create your own Business Object or you can refer to Business Object EMPSALPACK.
Now Company Code should be an Attribute that you should do the Coding For.
Use this attribute in the Condition Step of Workflow Template.
Workflow Container will contain the Business Object that you will be creating. The Business object should have Key Field Pernr and may be anything relevant that you will do for Coding. I think you might have to trigger the Event of the Business Object through code.
Check the Code below.
<b>Reward Appropriate Point if useful</b>
INCLUDE <cntn01> .
DATA:i_emp_details TYPE STANDARD TABLE OF p0001, "Employee Details
wa_request TYPE p0001, "Workarea for Employee details
v_country_grp TYPE molga, "Country SubGrouping
v_object_key TYPE sweinstcou-objkey. "Key for the buisness object ZWOBUSTRIP
CONSTANTS: c_bo_trip TYPE swo_objtyp VALUE 'ZWOBUSTRIP',
c_event_trip TYPE swo_event VALUE 'TripCreate',
c_infy_type_1 TYPE infty VALUE '0001'.
Event Container declaration
swc_container i_event_cont.
swc_create_container i_event_cont.
Reading the INFO TYPE 0001 to obtain the
Employee details
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
pernr = i_emp_number
infty = c_infy_type_1
begda = sy-datum
endda = sy-datum
TABLES
infty_tab = i_emp_details
EXCEPTIONS
infty_not_found = 1
OTHERS = 2.
SY-SUBRC check is not required as the error
handelling will be done by WorkFlow rule
resolution.
CLEAR wa_request.
READ TABLE i_emp_details INTO wa_request INDEX 1.
IF sy-subrc = 0.
Retrieving the Country SubGrouping for the employee
SELECT SINGLE molga
FROM t001p
INTO v_country_grp
WHERE werks = wa_request-werks
AND btrtl = wa_request-persk.
ENDIF.
Sending the relevant data to event container
swc_set_element i_event_cont 'EmpId' i_emp_number.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
swc_set_element i_event_cont 'PersonnelArea' wa_request-werks.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
swc_set_element i_event_cont 'CountryGrouping' v_country_grp.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
swc_set_element i_event_cont 'EmpSubGrp' wa_request-persk.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
swc_set_element i_event_cont 'EmpTripId' i_emp_trip.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
Raising the event to trigger the workflow
v_object_key = i_emp_number.
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
objtype = c_bo_trip
objkey = v_object_key
event = c_event_trip
TABLES
event_container = i_event_cont
EXCEPTIONS
objtype_not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
COMMIT WORK.
ENDFUNCTION.
Thanks
Arghadip -
Can anybody explain in details more about scenerios in new gl.
Every where I read about scenerios, they say it will update the respective field...etc
Eg: profit center update scenerio will store plan /actual values of profit center.But I need more clarity.
What does this exactly do? How is it useful?
My company has not selected cost center update.Does this mean that they can not see cost center data at all??I have read this doc.
It says,
" The scenario combines Customizing settings from different business views. Each business view specifies which posting data is transferred from different application components in General Ledger Accounting, such as cost center update or profit center update.".
What is a business view? and what is meant by different application component? Can this definition be made more simple, may be with a example please? -
Typical example of SAP change management in SD scenerio....
Dear All,
Is there anybody who can provide me with typical example of SAP Change Management scenerio in manufacturing industry OR in consumer industry.
I am looking for some example that has improved a business process tremendiously OR made the business process simpler to use. At the end stakeholder got benefited with that change.
Thanks you all in advance.Dear All,
I am putting my query once again....to see if I can get some expert help.
I would like to know any particular example of any manufacturing OR consumer goods industry where SAP software itself had made a great changes in change management prospective( ex -any business process change which had to make to make present process more smoother or cost effective).
Hope to hear from some of few.
Thanks in advance,
Cheers!
Maybe you are looking for
-
Error while testing WebDynpro Form
Hi, While i am testing the form it gives me the following error, Error when processing your request What has happened? The URL http://sapcpg01.india.tcs.com:8000/sap/bc/webdynpro/sap/zadobe/ was not called due to an error. Note The following er
-
Login in BSP (WAS) doesn't work when navigating to ITS (PAS)
Hi, We have a BSP application working on WAS, clicking a tab we show a ITS application. We have setup Single Sign On (SSO) with the SAP Logon Ticket. On BSP application first we made log on. WAS create a SSO2 Logon Ticket. How can we pass any HTTP He
-
Hi. How i can remove bootcamp partitions?. I have three partitions: Macintosh, linux swap, and ms partition (is debian really). I need the disk space for Macintosh partition. Thanks in advance. Félix.
-
How to order a query, in design mode?
Hi, I work with the bex 3.x and I need to know how can I order a query by a ratio/s in the design mode (with the query designer)? Before running the query. Can anybody help me? Thanks in advance. Regards.
-
Hello friends, Today I purchased a 1TB Time Capsule, in hope of using it with my new Macbook. I have reached home, and followed the guidelines accordingly, only to be left with a string of problems on this occasion. I have tried the hard reset trick,