Very simple and working IDoc to IDoc scenario
Hi!
I would like to implement for demo issues a working IDoc to IDoc scenario with SAP XI 7.0.
The IDocs sohuld be send from SAP ECC 6.0 system client 100 to SAP ECC 6.0 system client 200.
Questions:
- which material type should be used (e.g. MATMAS02,..)
- how should the message mapping (e.g. MATMAS02 to MATMAS02) look like
- what are the other settings in IB Repository and IB Configuration
- how should the test from WE19 look like?
Thank you very much!
Hi Holger,
No issues for that , U can use the MATMAS 02 or MATMAS 03.
Setting in R/3 system:
1) Create the RFC Destination(SM59).
2) Create the tRFC port(WE21)
3) Create the Partner profiles( WE20)
4) Create the Distribution Model(BD64)
Setting in XI:
1) Create the RFC Destination
2) Create the IDOC Port into IDOC Adapter(IDX1)
3) Load the Metadata into IDOC into IDOC Adapter(IDX2).
Same settings happened in Receiver IDOC also.
Directory : No need to create the Sender agreement & no need to create the Sender Communication Channel.
Repoistery: Import the Sender IDOC and Receiver IDOC from R/3 system.
In WE19 Testing tool we can test IDOC generated or not.
Regards,
Sateesh
D
Similar Messages
-
Very simple and quick question about Arrays
Hi,
I have the following code to produce a student grades provessing system. I have got it to store data in the array, i just cant figure out how to add the integers from the row to produce a total. Thats all I want to do create a total from the 6 marks and add a percentage.
Any help would be greatly appreciated.
-------------CODE BELOW----------------------
import java.util.*;
public class newstudent1_2
public static void main (String[]args)
System.out.println ("-----------------------------------------------"); //Decorative border to make the welcome message stand out
System.out.println (" Welcome to Student Exam Mark Software 1.2"); //Simple welcome message
System.out.println ("-----------------------------------------------");
int [][] mark;
int total_mark;
int num_students;
int num_questions = 9;
Scanner kybd = new Scanner(System.in);
System.out.println("How many students?");
num_students =kybd.nextInt();
mark = new int[num_students][num_questions] ;
for (int i=0; i<num_students; i++)
System.out.println("Enter the Students ID");
String student_id;
student_id =kybd.next();
System.out.println("Student "+i);
for( int j=1; j<num_questions; j++)
System.out.println("Please enter a mark for question "+j);
mark[i][j]=kybd.nextInt();
System.out.print("id mark1 mark2 mark3 mark4 mark5 mark6 mark7 mark8");
//This section prints the array data into a table
System.out.println();
for (int i=0; i<num_students; i++)
for( int j=0; j<num_questions; j++)
System.out.print(mark[i][j]+"\t"); //the \t is used to add spaces inbetween the output table
System.out.println();
--------------END OF CODE---------------
Thanks.I had to do this same sort of thing for a school assignment but i didnt use an array.
import java.text.DecimalFormat;
import TurtleGraphics.KeyboardReader;
public class grade_avg
public static void main(String[] args)
int grade, total = 0, count = 0;
double avg = 0.0;
KeyboardReader reader = new KeyboardReader();
DecimalFormat df = new DecimalFormat("0.00");
for (;;)
grade = reader.readInt("Please enter a grade: ");
if (grade > 0)
total = total + grade;
count ++;
if (grade == 0)
avg = total / count;
System.out.println("The average is: " + df.format(avg));
System.exit(0);
}output looks like:
Please enter a grade: 100
Please enter a grade: 50
Please enter a grade: 0
The average is: 75.00 -
I am thinking of submitting a very simple and very narrow app that performs
a few basic calculator functions that real estate people use all the time. These functions can be found in other more comprehensive calculator apps now on the market, but I think that I can market this app successfully. Does it make sense to develop and submit this, or is it so basic and limited that the reviewer would simply discount it as there are so many other apps that contain this function that are far broader.
It's really difficult for anyone here to say what Apple might or might not deem to be redundant. If you're an iOS developer program member, there are App Store resources and information here:
http://developer.apple.com/appstore/
that should be of help. But you may not be able to get a definitive yes/no until the app is developed and Apple can see what it does.
Regards. -
Navigation very slow and not able to enter in memory a sequence issue
Hello,
we have a big problem with oracle forms performance since we deployed our
application to the web. all our customers are not confortable with this new
environment because the sytem are very slow and working it's very difficult.
our application is very slow in point of when the user use very quickly the key
functions it doens't work.
I explain :
for example, we have a button &Verifier (alt+v : acces key to this button) and
when clicking to button we have a dialox box that contains 2 buttons:
Oui(alt+O:access key) and Non(alt+N:access key) and if we click Oui(alt+O) it
popup as an information box and we must click Ok(alt+O: access key).
then if we click quickly alt+v after alt+o after alt+o it doens't work and it
wait to click againt alt+o.(like the system doesn't follow or has not yet enter all the sequence in the memory)
before in client/server it work's fine.
it's like our application in the web it's not able to entered in memory a
serial of access key.
please can you help me the problem is always occuring in the production
environment.
our environment:
- oracle jiniator :1.3.1.22
OAS 10G (9041)
DATABASE 9206
- the complete version of forms : 9.0.4.0.19
- we have 23 USERS.
any help are welcome, the problem are urgent.
thank you.Hi
Lets analyse and hope to narrow down your issue
We have used the Pick and Pack Manager to release goods from Sales Order through to Invoice. The functionality offered is good,
> Slow performance could be triggered by multile issue , so lets wait
> Do you know PICKand PACK manager is only for status ,but it actually doesn't affect inventory level .
but in practise the system is so slow it is taking 2 to 3 times longer than copying to a Sales Invoice.
> You need to do delivery first and transfer the delivery into invoice .
Is there any way of cutting out part of the process to speed things up? What we really need is to be able to create an invoice(s) straight from the Pick and Pack manager.
>> It basically depends upon your business process . but by software , You can bypass Pick and PACK Manager process. You can transfer your sales order into A/R invoice and while posting A/R invoice , inventory will be reduced .
Hope this help to narrow down your issue
thank you
Bishal -
Simple and small tutorial for Report9i from Forms9i
Hello friend
can give me very very simple and small tutorial or sample for
Reports9i Integration with Forms9i
From
Chirag PatelHello Friends (Frank/Duncan/Naeem)
This document is very big 43 pages!!!!!!!!!!!!!!!!!!!!!!!!!!
I want step by step procedure for
How to call reports9i from forms9i
using run_report_object().
I am getting Error is 41214-Unable to run report
I folloed step as
1) I create server by rwserver -install Repsrv
2) then I change the file C:\oracle\ora92DS\reports\conf\rwservlet properties file as follows
server=Repsrv
SINGLESIGNON=NO
3) I start that servervice created by step 1
4) I start OC4J Instance
5) I run the form ( I have only one puch button on this form)
6) after pushing that I am getting error is
I am getting Error is 41214-Unable to run report
I written the code for push button is as follows
DECLARE
report_id Report_Object;
ReportServerJob VARCHAR2(100);
BEGIN
report_id:= find_report_object('MyReport1');
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,'Repsrv');
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,'p_deptno='||100||' paramform=no');
ReportServerJob:=run_report_object(report_id);
END;
I have gone through that document.
then I get more confused as follows.
1) How many services I need to start ? like OracleHttpServer etc...
2) Should I define report_path in enviroment variable or not ? if need then where ?
please help
What I should do ?
From
Chirag Patel -
Please Help! For some reason when ever I type in PSE 10 it comes out very faint and almost invisable like. I'm not sure what I did but I cant get it back to the normal black font??? Please help. I know this seems like a very simple and easy question. I could use any advise. I've tried everything.
Further to what dominic said, in PSE 11 and 12, you get to Reset Tool by clicking the four-lined square on the upper right of the Tool Options area. In older versions, click the tiny triangle or tool icon at the far left of the Options Bar.
-
Simple IDoc to IDoc scenario with SAP PI
Hi!
I would like to implement a very simple IDoc_to_IDoc scenario.
i have two clients in SAP ECC 6.0 and would like to send/receive IDoc (e.g. material) with SAP PI.
Can some one please give exact the technical steps(tcodes, action in XI Tools) to realize this issue?
Any helpful information/documentation/SDN blogs will be very appreciated.
Thomhi,
Communication Channels:
1) No Sender Channel is required as we are using IDOC.
2) CC_OUT_IDOC_MATMAS05 [Send the data from Xi to CGNSAP01].
Transaction Codes Used:
SM59- To Create RFC Destinations
WE21- To Create IDoc Ports
SALE- To Create Logical System
WE20- To Create Partner Profiles
BD64- Display Distribution Model
WE19- To Trigger an IDoc
IDX1- Port Maintenance in IDoc Adapter
IDX2- Metadata Overview for IDoc Adapter
Regards. -
Sender Namespace and Sender Interface in the IDOC to IDOC scenario
My question maybe very basic...
It is SAP IDOC to SAP IDOC scenario.
Lets assume that I have done config in XI for:
Sender = A,
Interface = B,
Namespace = C.
My question is:
Is there a place in the source system or somewhere to point that
when an IDOC e.g. DEBMAS is triggered in the source system,
then the Interface should be B and Namespace should be C in the xml file ?
Cheers
AgnieHi Agnieszka,
Check these threads/blogs from you may get some help:
/people/michal.krawczyk2/blog/2005/11/21/xi-idoc-to-idoc-tunneling--how-fast-and-easy-can-you-get
Idoc-to-idoc scenario
IDoc to IDoc scenario necessary configuration steps
For A-Z help on IDOC, you can refer Michal's book:
<a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi IDoc Business Scenarios with SAP XI</a>
Regards,
Subhasha Ranjan -
PI 7.1 scenario -- File to File , File to IDOC and IDoc to File Scenario
Hi All,
*I have PI 7.0 . I have in that File to File , File to IDOC and IDoc to File Scenarios*
File to File -- This scenario is working fine.
File to IDOC -- Setting done in PI 7.0 like SM59, IDXI, IDX2 and in R/3 like SALE (logical system)--- This scenario is working fine.
IDoc to File -- Seeting done in R/3 like SALE (Logical system, Distrubtion Model (Port, Partner Profile)) -- This scenario is working fine.
Now I need to move to PI 7.1 -- for File to File , File to IDOC and IDoc to File Scenarios.
Please let me know do I require to make any changes in Design and Configuration and settings in PI 7.1 and R/3 for above scenarios or it will work fine as it is already working for PI 7.0
If changes are required please let me know what changes to do for each scaenario and pls also send blogs for that.
Regards>
Rickkk wrote:
> Hi,
>
> Idoc metadeta is updated through idx2?
>
> Regards
If there is no metadata maintained for an idoc type, the metadata for that idoc type gets loaded when an idoc of that type is received by PI for the first time. If you are looking at loading metadata of all idoc types before the first run, its really not required. Just make sure that the port is configured properly. Although, there is no harm in preloading the metadata using IDX2.
You need to use IDX2 mandatorily when the the metadata changes and the metadata in ECC and PI is different. In that case, you need to delete metadata for the changed IDoc type and then either you can update the metada through IDX2 or let the system take care of. -
Why we dont need sender agreement and comm channel in IDOC to file scenario
Hi,
there are 2 queries:
first query :
Scenario is "Idoc to file transfer"
why we dont need sender agreement and communication channel for IDOC to file ,while we do need
both of these for "File to RFC "
Answer : which i got is because IDOC sits at ABAP stack but same is valid for RFC also.
Then why For "IDOC to file" we dont need that.
Second query:
Also when i did scenario for File1-RFC-File2 scenario using BPM i have created a interface
between XI-RFC synchronous to send data which we got from file1 in XI to RFC importing parameter
and getting data from RFC back to File2.
Here in IDOC to file scenario why we dont need any interfface for IDOC-XI Asynchronous.
Regards,
Mayank
Edited by: mayank verdia on Jan 13, 2009 11:49 AM
Edited by: mayank verdia on Jan 13, 2009 11:50 AMDear All,
For file to idoc scenario is there any possibility to get line items details or xml details i.e the segments and its related field details using reference id, transaction id or interface name or message id in SAP PI 7.0. I know we need to click each and every message in sxi_monitor and look for details.
For SAP(R3 System) I can create a report and set the job for specific time period so automatically it throws the details(like reference no, document date, invoice no from) in ftp path as .csv file. The same ftp path is maintained in program.
I wanted to check FTP--->PI postings and I have set the job at r3 system it is working fine and Im monitoring it too.
Now the end to end scenario is FTP--->PI--->ECC(R3 system). Please help.Many Thanks. -
IDOC to File Scenario - Configuration steps need to be done in R3 and XI
Hi Experts,
I am working with IDoc to File scenario. Can someone please explain, what are the steps or configuration things need to be done in R3 and as well as in XI too.
Thanks in advance.
Regards,
SreeHi Sree,
I thought i will just share a few basic thoughts that you need to take care while doing an IDOC to File Scenario. Just see if it helps you in anyways.
While doing an IDOC -> XI -> File scenario, The Points to noted are:
1. You dont need a DT, MT or a message interface for the IDOC as it itself acts as the Message Interface.
2. You import the IDOC and use the same in your mapping.
3. In this configuration note that you dont have a sender agreement as you dont have a sender IDOC adapter.
If it is that you wanted to send an IDOC from XI (File to IDOC) , then in this case:
points 1 and 2 will remain, but the 3 will not. You will need a sender agreement for the file and a receiver agreement for the IDOC.
IDOC -> File scenario ref:
<a href="/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters scenario</a>
File -> IDOC ref:
<a href="/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping to IDOC</a>
To be able to trigger your IDOC from the SAP ISU system, you will have to set the partner profile in we20. Select your Business System (mostly under Logical system) and then create Outbound entries for whichever IDOC you want to trigger.
You define your basic type also in your partner profile settings, Please go thru the following links to get a better idea about partner profile:
http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b833243d711d1893e0000e8323c4f/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b7cd343d711d1893e0000e8323c4f/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/32/692037b1f10709e10000009b38f839/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/5e/b8f8bf356dc84096e4fedc2cd71426/frameset.htm
Also, I would suggest that you go through this blog by michal if any issue arises,
/people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system
/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
Also have a look at these forum threads...
IDOC TO FILE SCENARIO
idoc to file scenario
I hope this answers your query.
Regards,
Abhy Thomas -
Very strange error : IDOC to jdbc scenario
Hi
I am getting a very strange error when I see the log for the idoc to jdbc scenario that I am building.
The mapping test shows the header record and line item record properly in the mapping result.
insert, access nodes, fields with access nodes are all formed correctly.
However the communication channel log shows below error.
Could not execute statement for table/stored proc. "tblTestItem" (structure "Item") due to com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near ')'.
JDBC Message processing failed, due to Error processing request in sax parser: Error when executing statement for table/stored proc. 'tblTestItem' (structure 'Item'): com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near ')'.
The message status was set to WAIT.
The query that I see in the log is :INSERT INTO tblTestItem () VALUES ()
However mapping tool shows that all nodes are correctly formed.
Please assist.Hi
I am still getting this issue even after the below steps so kind of stuck - actually very much stuck.
1. Restart of the dev environment
2. Tried with a new extension of the idoc
In the communication channel log for the JDBC receiver channel I still see
INSERT INTO tblItem () VALUES ()
The payload that I see in the message content tab is as follows
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:MT_XXX_XXXX xmlns:ns0="http://capita.com/pi/XXXX">
- <Statement>
- <dbTableName action="INSERT">
<table>tblItem</table>
</dbTableName>
- <access>
<InvoiceNo>0000000009293467</InvoiceNo>
</access>
</Statement>
</ns0:MT_XXX_XXXX>
How do I debug the jdbc adapter to see how it converts the above xml output from the mapping step (note that this output is from an actual run and not test tool) to a sql query.
Very strange that the column names are present in the target payload but it is not reflecting in the query.
I have other tables being populated with the same jdbc receiver communication channel which makes this more and more confusing.
PLEASE ADVICE. -
Idoc to file Scenario not working
Hi ALL,
I have created one Idoc -XI-File scenario.I have done all the preconfiguartion in Backend and XI.
Now when i am testing in we19, it is showing that Idoc is sent and saved in the database but when i am going to sm58, there it is showing Status field "No service for system SAPSAI, client 800 in Integration directory
Can anybody tell where i am going wrong???
Thanks in Advance
Regards
VikasHi,
Now i am able to see the message in sxmb_moni , it is showing Green status, but still am not getting the file in reciever side.
In communication channel monitoring it is showing green status,but not giving any messages theres
Any suggestions what do to next to get the file??
Thanks
Regards
Vikas
Message was edited by:
Vikas Agarwal -
Pass through scenario in SAP PI with no mapping for File to IDoc and Idoc to file scenarios
Hi Experts,
Can i have step by step process in SAP PI for pass through scenario with no mapping in case of file to Idoc and Idoc to file both cases please.
What objects i can skip.
My PI system is 7.3 dual stack.
I have seen below blogs, still its confusing to me.
When and how to create an scenario in SAP PI without mapping objects.
Pass Through Scenario with no Mapping in PI 7.1
Appreciate your help on this.
Regards,
Mohan.Hi Mohan
In pass thru interface you don't need to create any ESR objects, only ID objects are required.
Just Create a Receiver Determination and Receiver Agreement for your scenario (no need for Interface Det. and Sender Agreement).
Specify the IDOC in the Sender Interface and namespace as urn:sap-com:document:sap:idoc:messages
Or instead of creating objects manually, Run the wizard with Idoc name/namespace in sender/receiver interface
Regards
Osman -
How to use IDOC and RFC adapter in 1 scenario?
We have AAA field and BBB field and we want to send AAA field to receiver sap system using IDOC adapter and BBB field to receiver sap system using RFC adapter. But how to use IDOC and RFC adapter in 1 scenario and how to map and what are the design and configuration objects we require to create?
To achieve this you have to use
Two Interface Determinations
Two Communication Channels (IDOC & RFC)
& Two Receiver Aggrements.
Use the Enhanced Interface determination and give your conditions there. Based on you condition your interface mapping will be triggered and data will be sent to IDOC & RFC respectively.
Maybe you are looking for
-
Can i return my new ipad that i upgraded i have only had it for 11 days and i still have its box and all it came with
-
Lightroom 5 is tied to my photos in a folder on my computer, if I move that folder to a hard drive, how to I connect Lightroom to the new location on the hard drive vs my computer?
-
Difference MBRL - ME21N with items specified as return items
Hi Gurus, can you please help me to understand the difference of these two return processes. We are using ECC 6.0 and want to implement a "standard" process for returning goods to the supplier if they don't meet our expectations. So now i have implem
-
Internet issues after 10.5.6 update
I updated despite the warnings and now I regret it. Browsers open pages very slow. I've tried FF, Opera and Safari. Downloads are around 8kb (I have a 3mb connection and used to get around 250kb avg download). Before someone saying 'change dns settin
-
Clear my doubts Developer super.init(config);
When do we need to override super.init(config); method also what is the difference b/w in overriding doget and dopost methods Thanks in advance.