Any examples of using XSU for multi level nesting
Are there any examples of inserting into a set of object tables using the XSU where the parent-child relationship is more than 2 levels deep. i.e where you have to use REF's or views to do this.
I have had no problems with a 2 level insert using object tables but that's not much use to me.
I know that natively only 2 levels of nesting are supported.
I may have to resort to parsing the data manually using the PL/SQL parser if I can't get the XSU to do it.
null
lAnubisl wrote:
My customer's solution has several issues generating PDF files and we are looking at the Acrobat SDK as at the instance of the final truth.
I use Interop.Acrobat.dll as a .NET project reference to open and resave PDF documents. I'd like to do all things I mentioned above.
After years and years, I have concluded that if you do serious PDF development, you need a set of libraries. For instance, if you are doing typesetting type of work ("vertical center", "horizontal center", "margin", etc., etc) , there is an excellent library from a guy in Germany (land of Johannes Gutenberg and printing presses)...
... which turned out to be useless in my next project which dealt with AcroForms.
I know exactly what you mean by "the final truth", sometimes I wish Adobe had some sort of official validating tool (like XML does).
Per your comments, I would recommend you to consider this library. It is available in all languages and its output is the same quality as Adobe's or at least in the same league:
http://www.pdftron.com/pdfnet/index.html
If you want to comment further, we must go to a different forum, since we are not supposed to discuss any non-Adobe products here.
Similar Messages
-
Project Workflow Extension for Multi level approval
Hi,
We have a requirement of 2 or 3 level of approval on Project Workflow for Project Status Change. We are planning to use the Seeded extension provided by Oracle to get the Approver for Project Status Change.
The extension procedure provided pa_client_extn_project_wf . select_project_approver has only one out parameter that is Approver id. This means it's only possible 1 level of approval.
Please help me to find out the way how can i make this work for multi level Approval.
Regards,
RamHi Paul,
Thanks for your suggestion.
By comments field I'm assuming OfficeTask.Comments field. Problem is, this field is always null. I tried accessing this field in CheckExitCondition activity as well as in OnTaskCompleted but in both the cases, it was null only(I wrote comments while approving
the task).
I used a code activity within OnTaskCompleted activity and following code for accessing Comments and Description fields:
public string officeComments;
public string officeDescription;
private void TaskCOmplete(object sender, EventArgs e)
CodeActivity Sender = (CodeActivity)sender;
Microsoft.Office.Workflow.Actions.OfficeTask ofctask1 = ((CompositeActivity)Sender.Parent).Parent as Microsoft.Office.Workflow.Actions.OfficeTask;
officeComments = ofctask1.Comments;
officeDescription = ofctask1.Description;
Please tell me if I'm doing anything wrong here, I'm very new to Workflows. Also, do I need to set any specific property of officeTask for retriving comments?
Thank you -
Any Examples of using ActiveCollectionModelDecorator with POJO data control
Are there any Examples of using ActiveCollectionModelDecorator with POJO data control in any of the sample packs?
OK, here's an quick example. Create a new Windows Forms application and add a ScatterGraph and a Label to the form. Add a cursor to the ScatterGraph, then add the code below to the form. This generates 50 random data points when the form is loaded and plots them, then uses the cursor's AfterMove event to display the current X and Y positions in the label. Here's the code:
Private Sub OnFormLoad(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Const dataLength As Integer = 50
Dim xData(dataLength - 1) As Double
Dim yData(dataLength - 1) As Double
Dim rnd As Random = New Random
For i As Integer = 0 To dataLength - 1
xData(i) = i
yData(i) = rnd.NextDouble() * 10
Next
ScatterGraph1.PlotXY(xData, yData)
End Sub
Private Sub OnAfterMoveXYCursor(ByVal sender As Object, ByVal e As NationalInstruments.UI.AfterMoveXYCursorEventArgs) Handles XyCursor1.AfterMove
Label1.Text = String.Format("({0}, {1})", e.XPosition, e.YPosition)
End Sub
Hope this helps.
- Elton -
Is there any way to use a For Each Loop for each property of an User Defined Type?
Is there any way to use a For Each Loop for each property of an User Defined Type? That would be very handy!
Jorge Barbi Martins ([email protected])Alas, no, not in VBA.
Regards, Hans Vogelaar (http://www.eileenslounge.com) -
There's any example of using the gateway plugin functionality?
Hello again!!! xD
There's any example of using the gateway plugin functionality?To put your custom media element loaded from a plugin on the stage, you can use a MediaContainer object:
var adContainer:MediaContainer;
adContainer.width = 468;
adContainer.height = 60;
adContainer.addMediaElement(adElement);
addChild(adContainer); // assuming we're on a Sprite.
The video element can be in its own container:
var videoContainer:MediaContainer;
videoContainer.width = 468;
videoContainer.height = 60;
videoContainer.addMediaElement(videoElement);
addChild(videoContainer);
Regardless of wheter or not the adElement and videoElement are in a parallel element together, each indiviual view will appear in the assigned container.
Does that anwer your question?
Cheers,
Edwin -
Where can i find ACROPDFlib.dll 64 bit dll or is there any alternate to use pdf for 64 bit?
No Matter either its free or Not . ?
Or can I order this Dll to Adobe ?The Adobe PDF Library is licensed on behalf of Adobe by DataLogics. Price is by negotiation.
http://www.datalogics.com/products/pdfl/ -
I'm designing a sequential site workflow using Visual Studio 2010 for Project Server 2010. In my case, I have following 6 stages in the workflow:
1. InitialProposal Stage
2. Approval Stage1 -- Needs approval from Approver Project Security Group Members1
3. Rejection Stage
4. Approval Stage2 -- Needs approval from Approver Project Security Group Members 2
5. Execution Stage
6. Completed Stage
Requirement is workflow should move to Approval stage2 from Approval stage1 if approved by all members of Approver Project Security Group1and it should move to Rejection Stage even if a single member rejects it.
Workflow should move from Approval Stage2 to Execution Stage if approved by all members of Approver Project Security Group2 and it should move back to Approval Stage1 on rejection by a single member of the group.
I'm using inbuilt PSWApproval content type and OfficeTask activity for creating approval task for the group members at both stages.
On task rejected in Approval stage2, task will be assigned again to Approval Stage1 and I want to show comments given by members of Approver Project Security Group2 to the members of Approver Project Security Group1 with this assigned task
but I'm not able to retrieve comments from officeTask activity.
My question is where exactly these comments are saved? how can we retrieve them and use them in another officetask activity? If this is not possible then what is the possible solution for meeting above mentioned business requirement?Hi Paul,
Thanks for your suggestion.
By comments field I'm assuming OfficeTask.Comments field. Problem is, this field is always null. I tried accessing this field in CheckExitCondition activity as well as in OnTaskCompleted but in both the cases, it was null only(I wrote comments while approving
the task).
I used a code activity within OnTaskCompleted activity and following code for accessing Comments and Description fields:
public string officeComments;
public string officeDescription;
private void TaskCOmplete(object sender, EventArgs e)
CodeActivity Sender = (CodeActivity)sender;
Microsoft.Office.Workflow.Actions.OfficeTask ofctask1 = ((CompositeActivity)Sender.Parent).Parent as Microsoft.Office.Workflow.Actions.OfficeTask;
officeComments = ofctask1.Comments;
officeDescription = ofctask1.Description;
Please tell me if I'm doing anything wrong here, I'm very new to Workflows. Also, do I need to set any specific property of officeTask for retriving comments?
Thank you -
Updated content for multi-level record structure in PLSQL
Hi All,
please help me
Need a FUNCTION which would take PERSON_id as the INPUT PARAMETER and RETURN the FULL DETAILS in a multi-level record structure in PLSQL.
CREATE TABLE people(
name VARCHAR2(5),
person_id number
INSERT INTO people(name,person_id) VALUES ('n1',1);
INSERT INTO people(name,person_id) VALUES ('n2',2);
INSERT INTO people(name,person_id) VALUES ('n3',3);
INSERT INTO people(name,person_id) VALUES ('n4',4);
INSERT INTO people(name,person_id) VALUES ('n5',5);
INSERT INTO people(name,person_id) VALUES ('n6',6);
A person can be assigned many tasks. Below,we can see person_id =1 has 2 tasks 10,20
CREATE TABLE tasks(
task_id number, --->PK
task_name VARCHAR2(5),
person_id number -->FK to People
INSERT INTO tasks(task_id,task_name,person_id) VALUES (10, 'cleaning',1);
INSERT INTO tasks(task_id,task_name,person_id) VALUES (20', 'washing',1);
INSERT INTO tasks(task_id,task_name,person_id) VALUES (30, 'sweeping',2);
INSERT INTO tasks(task_id,task_name,person_id) VALUES (40, 'ironing',3);
Each TASK has many ACTIVTIES as below. Below,we can see task_id =10 ---->3 ACTIVITIES of activity_id of 100,200,300
CREATE TABLE activities(
activity_id number,
activity_name VARCHAR2(50),
task_id number, --->FK to task table
INSERT INTO activities(activity_id,activity_name,task_id)VALUES (100, 'Clean home',10);
INSERT INTO activities(activity_id,activity_name,task_id)VALUES (200, 'Clean Garden',10);
INSERT INTO activities(activity_id,activity_name,task_id)VALUES (300, 'Clean clothes,10');
INSERT INTO activities(activity_id,activity_name,task_id)VALUES (400, 'Wash car',20);
Write a FUNCTION which would take PERSON_id as the INPUT PARAMETER and RETURN the FULL DETAILS in a multi-level record structure in PLSQL.
Meaning We would get
First ,person_details for a person-->next level is TASKS-->Activities_list in a NESTED RECORD SET
create or replace function person_details(person_id NUMBER)
RETURNs a
PERSON_DETAILS RECORD structure as shown below.A person -->Tasks--> all activities
record PERSON_DETAILS[1]
person_id,
name
TASKS_DETAILS[1] ---->2nd level
task_id[1],
task_name[1]
ACTIVITIES[1]----->3rd level
activity_id[1],
activity_name[1]
ACTIVITIES[2]
activity_id[2],
activity_name[2]
ACTIVITIES[3]
activity_id[3],
activity_name[3]
*(1)--Most important part is how do i DEFINE AND DECLARE the RESULT RECORD SET in my FUNCTION?
(2)--HOW DO WE DYNAMICALLY ALOCATE MEMORY for the record structure based on the no. of rows by each SELECT?
(3)Access the nested levels and FILL in the DATA in the above record seperately USING SELECT statements.
*/*SELECT 1 ---Find and fill Person*/*
*select person_id,name from people where person_id =1*
*-->From this SELECT fill the OUTER record PERSON_DETAILS[no. of records] -->person_id,name*
*/**SELECT 2 ---I want to FIND all TASKS for THE ABOVE PERSON and fill the next part */*
*select task_id,name from tasks where person_id = PERSON_DETAILS[1].person_id*
*We get three TASK_ids,*
*-->From this, HOW TO fill DATA for each TASK,how to PERSON_DETAILS[1]->TASKS_DETAILS[1st record].task_id -->person_id,name*
*/**SELECT 3 ---I want to FIND all ACTIVITIES for THE ABOVE TASKS and fill the next part */*
*for EACH of the TASKS found,we need to LOOP and*
*select activity_id,name from activities where task_id = PERSON_DETAILS[1].-->TASKS_DETAILS[1st record]--->ACTIVITY_DETAILS[1].activity_id*
I have tried my best to explain with the tables and the relationships.I just hope its not confusing now.Edited by: user_7000011 on 01-Apr-2009 12:46try this one.
Learned something new today.
CREATE TABLE temp_clob_tab(result CLOB);
CREATE or replace TYPE task_t AS OBJECT("@task_id" NUMBER,
last_name VARCHAR2(20),
activitylist activity_tab
create or replace type activity_t as object("@activity_id" number, activity_name varchar2(20));
CREATE or replace TYPE tasklist_t AS TABLE OF task_t;
create or replace type activity_tab as table of activity_t;
CREATE or replace TYPE people_t AS OBJECT("@people_id" NUMBER,
task_name VARCHAR2(20),
task_t tasklist_t
DECLARE
qryCtx DBMS_XMLGEN.ctxHandle;
result CLOB;
BEGIN
DBMS_XMLGEN.setRowTag(qryCtx, NULL);
qryCtx := DBMS_XMLGEN.newContext
('SELECT people_t(person_id,
name,
CAST(MULTISET
(SELECT e.task_id, e.task_name,cast(multiset
(select activity_id,activity_name from activities a
where a.task_id = e.task_id) as activity_tab)
FROM tasks e
WHERE e.person_id= d.person_id)
AS tasklist_t))
AS peoplexml
FROM people d
where person_id = 1');
-- now get the result
result := DBMS_XMLGEN.getXML(qryCtx);
INSERT INTO temp_clob_tab VALUES (result);
-- close context
DBMS_XMLGEN.closeContext(qryCtx);
END;
select * from temp_clob_tab ;output
<?xml version="1.0"?>
<ROWSET>
<ROW>
<PEOPLEXML people_id="1">
<TASK_NAME>n1</TASK_NAME>
<TASK_T>
<TASK_T task_id="10">
<LAST_NAME>cleaning</LAST_NAME>
<ACTIVITYLIST>
<ACTIVITY_T activity_id="100">
<ACTIVITY_NAME>Clean home</ACTIVITY_NAME>
</ACTIVITY_T>
<ACTIVITY_T activity_id="200">
<ACTIVITY_NAME>Clean Garden</ACTIVITY_NAME>
</ACTIVITY_T>
<ACTIVITY_T activity_id="300">
<ACTIVITY_NAME>Clean clothes</ACTIVITY_NAME>
</ACTIVITY_T>
</ACTIVITYLIST>
</TASK_T>
<TASK_T task_id="20">
<LAST_NAME>washing</LAST_NAME>
<ACTIVITYLIST>
<ACTIVITY_T activity_id="400">
<ACTIVITY_NAME>Wash car</ACTIVITY_NAME>
</ACTIVITY_T>
</ACTIVITYLIST>
</TASK_T>
</TASK_T>
</PEOPLEXML>
</ROW>
</ROWSET> -
Hi Friends,
Can someone please help me out with this.Below is my Sender Data Type which needs to be converted:
DT_TRAC_MESG
(Hierarchy 1) TRAC_INFO
(Hierarchy 2) TRAC00
(Hierarchy 2)GROUP1
(Hierarchy 3)TRAC05
(Hierarchy 3)GROUP2
(Hierarchy 4)TRAC10
(Hierarchy 4) GROUP3
(Hierarchy 5) TRAC11
and my input data is as below :
XXXXXXXXX TRAC00 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX (occurance 1)
XXXXXXXXXXXXXXXXXXTRAC05XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX (occurance 1)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXTRAC10XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXTRAC11XXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXTRAC11XXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXTRAC11XXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXTRAC10XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXTRAC11XXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXTRAC11XXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXTRAC10XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXTRAC11XXXXXXXXXXXXXXXXXXXXXXX
I know Std SAP XI doesnt support more than 3 hierarchies but we are using a JMS adapter and this support more than 3 hierarchies.So please help us in achieving this mutli hierarchy conversion.Please atleast provide me the procedure to convert a 3 level Hierarchy structure.
It would be of great help for me if someone can answer this and asap.
Thanks & Regards,
Pradeep.Hi
follow this weblog
File Content Conversion for Multi Hierarchical Structure
or
you can use seeburger to use multi level hierarchy
SAP PI/XI : Content conversion using Generator mapping functionality of SeeBurger : Part 1.
SAP PI/XI : Content Conversion using Generator mapping functionality of SeeBurger : Part 2.
regards
sandeep
Edited by: sandeep sharma on Dec 15, 2008 10:45 AM -
IDOC DELVRY05 - What structure for multi-level packing?
Hi All
I am creating DELVRY05 idocs via WE19.
I am using handling materials, and packing my materials into handling units, which are in turn packed in a further level of handling unit. So we have eaches packed in boxes, and boxes packed in a container.
I an set up this scenario directly in VL31N, so I am happy that the data that I want to work with works.
In WE19 I can set up single layer packing, i.e., eaches packed in containers, but I can not get multi level packing to work.
I suspect that my organisation of E1EDL37 and E1EDL44 segments is incorrect.
My question is this:
What layout should I have for my E1EDL37 and E1EDL44 segments, and what order should they appear in my idoc?
Thanks in advance.
JamesJames,
Did you have a solution for this? I'm having the same issue. I couldn't able to make it work correctly. Somewhere I'm missing a small part, but couldn't able to figure it out.
raj -
Content Conversion for multi level heirarchy
Gurus,
I have the following scenario
FileXIFile
Input File structure is as follows
FH|............ (occurs 1)
FE|............. (occurs *)
FED|........... (child of FE and can occur * under FE)
FT|.............. (occurs 1)
The file contents are pipe delimited.
Example file
FH|.....
FE|........
FED|........
FED|.........
FE|.......
FED|........
FT|............
As stated above, FED recordtype can occur multiple times under FE
My inbound message structure is
.....Header (1)
........ErrorRecord (0,unbounded)
.............ErrorDataRec (0,unbounded)
.....Trailer (1)
Recordset Structure - Header,1,ErrorRecord,,ErrorDataRec,,Trailer,1
Recordset Sequence - Variable
KeyFieldName - RecordType
Content Parameters
I have defined field separator as pipe for each recordset
I have defined keyFieldValue for each recordset
I have defined fieldNames for each recordset
Here is my problem
The file loads ok. However, ErrorDataRec loads at the same level as ErrorRecord rather than loading under it.
I have played with fieldNames to define ErrorDataRec as a field under ErrorRecord and not definining as one, doesnot seem to make a difference.
I need someway to tell the parser that ErrorDataRec needs to be loaded as a substructure of ErrorRecord.
Anyone has any ideas?
Regards
HaseebVJ,
You are absolutely right it is not possible to get multiple hierarchy using file content conversion.
Splitbyvalue function would not work in my scenario as I need to group FED records based on first few characters in the first column of FED records. I wrote a UDF to insert context change based on the column value.
Thanks again for your help.
Regards
Haseeb -
Using XSU for Storing XML data
Please how can I use the XSU API for storing XML documents in Oracle8i? I know part of the code to store a document but how do I import the XSU API?
Do I have to download it or use it via Oracle?
example:
String xmlDoc = "my_xml_document";
Connection conn = >>DriverManager.getConnection(...);
OracleXMLSave sav = new OracleXMLSave
(conn,"purchaseOrderTab");
sav.insertXML(xmlDoc);But how do I use OracleXMLSave? How do I import the XSU API?
thanks for your help
nullWhat is XSU? I think you question should be posted at the XML or XDK forum.
-
Any examples of using OVS in interactive forms?
Hi All,
I'm trying to use OVS input help in Adobe forms (which was suggested by OSS support as a workaround to another issue) and I see there some people in this forum asking similar questions but I don't see an answer posted in any of the threads.
When I import the SDN tutorial example for OVS "WebDynpro_OVS_Valuehelp" and I add an interactive form to it and implement a call to the OVS, nothing appears to happen.
Note that the way I implemented it (and the way OSS suggests) is to use the "value help button" from the native pallet and the and then change the Javascript by filling in the field name in this section of code: var fieldName = "*INSERT_NAME_HERE*";
So my question is, can somebody point me to a sample project that I can download and import to show me OVS working in Adobe?
Many thanks,
-TomHi All,
I'm trying to use OVS input help in Adobe forms (which was suggested by OSS support as a workaround to another issue) and I see there some people in this forum asking similar questions but I don't see an answer posted in any of the threads.
When I import the SDN tutorial example for OVS "WebDynpro_OVS_Valuehelp" and I add an interactive form to it and implement a call to the OVS, nothing appears to happen.
Note that the way I implemented it (and the way OSS suggests) is to use the "value help button" from the native pallet and the and then change the Javascript by filling in the field name in this section of code: var fieldName = "*INSERT_NAME_HERE*";
So my question is, can somebody point me to a sample project that I can download and import to show me OVS working in Adobe?
Many thanks,
-Tom -
Use Illustrator for multi-page document?
I'm usually in the FrameMaker and, to some extent, InDesign areas, but a potential client asked me to work on a document for them.
They are doing a quick reference guide (I would assume either a single sheet folded into six panels, or several sheets folded and stapled into a booklet), and are planning to do it in Illustrator.
I've done these before in InDesign, but wanted to know if there is some capacity in Illustrator for doing the document there, for either of the formats mentioned above.
Any guidance would be appreciated. Thanks!Jagged:
Yes!
For that you use the artboard feature in Illustrator. When you create a new document, specify the number of artboards (aka pages) you need, and the amount of space between, etc. Once you have your document set up, zoom out and you'll see all the artboards laid out in the grid you specified. If you don't see them, make sure "show artboards" is checked in the view menu.
You won't be able to create a master page like you can in InDe, but you can paste in the same place on all the artboards--I believe the command (mac) is command+shift+option+V. You cut the original item (command+x) and then paste in place on all pages.
Interesting tidbits:
If you open the artboard palette, you can name the artboards. When you export, say to outlined EPS, you can choose to "use artboards" and you'll get a separate eps file for each artboard WITH THE NAME from the artboard palette, plus a file with all the artboards together. Saving as PDF makes a multi-page PDF as you would expect. You can choose to output just one artboard.
Also, with the artboard palette open, you can double-click on an artboard name and Illustrator will jump to that artboard at full screen size. Quite handy when you have a lot of artboards.
You can change the layout of your artboards by clicking in the upper right corner of the artboard palette and choosing rearrange artboards (or something close to that). Make sure everything is unlocked, otherwise they won't move with the re-jigger.
And finally, you can change the size of an artboard by using the artboard tool from the tool palette or by double-clicking on the artboard's icon in the palette, which will bring up a dialog box...
I am an InDesign lover, so I feel your pain. One of my clients is a manufacturer of retail items for which we design and prepare for print many packages/backer cards/etc. Before the artboard feature existed, we had a separate Illy file for each SKU. It has allowed us to be a lot more organized, and you don't get hit with seven gazillion files when you open up a folder. (I tried to get them to convert to InDe, but really, it's not set up for this kind of use, so I've had to learn the ins and outs of Illustrator and have come to appreciate it for many things. Alas, type manipulation isn't one of them, but it's designed to draw pictures, not set type.)
Good luck and best regards--D -
Receiver File content conversion for multi level hireachy
Receiver channel file content conversion..
this is SAP proxy to FIle Scenario, which will get invoice details from SAP along with multiple invoice texts for each invoice.
I would like to have below mentioned payload at Target side,
<MT_Invoice>
<File Header> 1...1
<f1> customer invoices </f1>
<f2> 12/02/2010 </f2>
</File Header>
<Invocie header>
<f1> Invoice number1 </f1>
<f2> customer number1 </f2>
</Invoice header>
<Invoice text>
<f1> Inovice no1-text1 </f1>
</Invoice text>
<Invoice text>
<f1> Inovice no1-text2 </f1>
</Invoice text>
<Invocie header>
<f1> Invoice number2 </f1>
<f2> customer number2 </f2>
</Invoice header>
<Invoice text>
<f1> Inovice no2-text1 </f1>
</Invoice text>
<Invoice text>
<f1> Inovice no2-text2 </f1>
</Invoice text>
<Invocie header>
<f1> Invoice number3 </f1>
<f2> customer number3 </f2>
</Invoice header>
<Invoice text>
<f1> Inovice no3-text1 </f1>
</Invoice text>
<Footer> 1..1
<f1> have a great day </f1>
</footer>
</MT_Invoice>
for the above payload file should come as mentioned below
customer invoices 12/02/2010
invocie number1 customer no 1
invoice no1-text1
invoice no1-text2
invocie number2 customer no 2
invoice no2-text1
invoice no2-text2
invoice no2-text3
invocie number3 customer no 3
invoice no3-text1
have a great day
For to get the above payloadI have create a message type like
MT_invoice
header 1...1
f1 1
f2 1
invoice details 0... unbound
f1 1
f2 1
invoice text 0.... unbound
f1
footer 1...1
f1 1
Please correct me if my message type declaration was wrong...
Please suggest how do i need to approach for message mapping and as well as FCC in File adapter...
Edited by: Vidyadhar Kurmala on Dec 2, 2010 10:28 AMIt is not possible to create alternating nodes in graphical mapping tool.
I recommend using the MessageTransformBean for FCC, as this supports a 2-level hierarchy.
Then you add a node record like this:
<MT_Invoice>
<Record>
<File Header> 1...1
<f1> customer invoices </f1>
<f2> 12/02/2010 </f2>
</File Header>
</Record>
<Record>
<Invocie header>
<f1> Invoice number1 </f1>
<f2> customer number1 </f2>
</Invoice header>
<Invoice text>
<f1> Inovice no1-text1 </f1>
</Invoice text>
<Invoice text>
<f1> Inovice no1-text2 </f1>
</Invoice text>
</Record>
<Record>
<Invocie header>
<f1> Invoice number2 </f1>
<f2> customer number2 </f2>
</Invoice header>
<Invoice text>
<f1> Inovice no2-text1 </f1>
</Invoice text>
<Invoice text>
<f1> Inovice no2-text2 </f1>
</Invoice text>
<Invocie header>
<f1> Invoice number3 </f1>
<f2> customer number3 </f2>
</Invoice header>
<Invoice text>
<f1> Inovice no3-text1 </f1>
</Invoice text>
</Record>
<Record>
<Footer> 1..1
<f1> have a great day </f1>
</footer>
</Record>
</MT_Invoice>
Maybe you are looking for
-
My Ipod Touch Wifi is Greyed Out! HELP
Its been two days and my Ipod Touch 3 Generation Wifi says NO WIFI and is Greyed Out. I've updated my software and Itunes and even restored it but nothing has worked! My ipod is no longer under warranty and I don't know what else to do! PLEASE HELP!
-
Transfer product division from ECC to APO
Hi Experts, To transfer product division field from ECC to APO, I have made changes in FM EXIT_SAPLCMAT_001 to add entry in table OT_CIF_MATKEYCUS. And it is populating record correctly.I have added a field for product division in table /SAPAPO/MATKE
-
Time Machine always switches to my home directory. What to do?
D'oh, need to restore a file, which happens to be in a root folder of my iMac's HD. No prob, Time Machine is on duty! The usual procedure: In Finder, bring the containing folder to the front, select the file, go to the clock icon at he upper righ
-
after ios 7 updates my phone wont go to the itune store why its a 4s
-
Itunes on macbook does not show ipad when hooked up
I connect my 3rd gen ipad to my macbook to sync Itunes and ipad does not appear in itunes devices...??