Changing file content with file adapter in 11g
Hi,
This question may not be very clever but I am new here so please bear with me for a second
My question is - can I change the content of the file with FTP adapter, this is 11.1.1.5.
If yes what is involved in doing it, any link to a sample or any guidance is greatly appreciated.
Thank you
Hi,
I don't think FTP adapter was designed to change content of files... But it depends what you mean by change...
There is an append feature...
http://docs.oracle.com/cd/E28280_01/integration.1111/e10231/adptr_file.htm#BABJEFCJ
And you can always read the whole file, do the change in memory and rewrite the file again...
Cheers,
Vlad
Similar Messages
-
FILE NAME WITH FILE EXTENTIONS
HI EXPERTS!!
I WANT TO GET THE FULL FILE NAME STRORED IN THE SERVER FOLDER. I USED FM RZL_READ_DIR_LOCAL BUT I AM GETTING ONLY 32 DIGITS OF NAME NOT FULL NAME AND ALSO SIZE PARAMETER IS CONCATENATING WITH NAME.
I WANT THE FILE NAME WITH FILE EXTENTIONS(TXT. .PDF ETC)..
PLZ SUGGEST ME HOW TO GET THE SAME..
PLZ REPLYE ME..
MAHESHHi Mahesh,
Try the below FM in the below code.
DATA:
LV_PERMISSION(10), " Permission
LV_H2, " H2
LV_FLNM(13), " File name
LV_USER(10), " User
LV_GROUP(10), " Group
LV_SIZE(15), " Size
LV_MONTH(3), " Month
LV_DAY_C(2), " Day
LV_YEAR(5), " Year
LV_FILE_NAME TYPE FILE_NAME, " Filename
LV_JUNK, " Junk
RETURN_CODE TYPE I. " Return code
DATA:
CMD_PARAMS LIKE SXPGCOLIST-PARAMETERS,
" External prg.parameters
CMD_OUTPUT TYPE BTCXPM OCCURS 0, " Log message
STATUS TYPE EXTCMDEXEX-STATUS. " Status
CONSTANTS:
LC_DIR TYPE C VALUE 'd'. " Directory
FIELD-SYMBOLS: <CMD_OUTPUT_LINE> LIKE LINE OF CMD_OUTPUT.
CMD_PARAMS = PV_DIRECTORY.
CLEAR CMD_OUTPUT.
CALL FUNCTION 'SXPG_CALL_SYSTEM'
EXPORTING
COMMANDNAME = 'Y_LS_LN'
ADDITIONAL_PARAMETERS = CMD_PARAMS
IMPORTING
STATUS = STATUS
EXITCODE = RETURN_CODE
TABLES
EXEC_PROTOCOL = CMD_OUTPUT
EXCEPTIONS
NO_PERMISSION = 1
COMMAND_NOT_FOUND = 2
PARAMETERS_TOO_LONG = 3
SECURITY_RISK = 4
WRONG_CHECK_CALL_INTERFACE = 5
PROGRAM_START_ERROR = 6
PROGRAM_TERMINATION_ERROR = 7
X_ERROR = 8
PARAMETER_EXPECTED = 9
TOO_MANY_PARAMETERS = 10
ILLEGAL_COMMAND = 11
OTHERS = 12.
Check Status first then check sy-subrc
CASE SY-SUBRC.
WHEN 0.
CASE STATUS.
WHEN 'F'.
MESSAGE I057(YS) WITH 'SXPG_CALL_SYSTEM'(002).
GF_EXIT = GC_TRUE.
WHEN 'E'.
MESSAGE I058(YS) WITH 'SXPG_CALL_SYSTEM'(002).
GF_EXIT = GC_TRUE.
WHEN 'S'.
MESSAGE I059(YS) WITH 'SXPG_CALL_SYSTEM'(002).
GF_EXIT = GC_TRUE.
WHEN 'C'.
MESSAGE I061(YS) WITH 'SXPG_CALL_SYSTEM'(002).
GF_EXIT = GC_TRUE.
ENDCASE. " CASE STATUS.
WHEN 1.
MESSAGE I048(YS) WITH 'SXPG_CALL_SYSTEM'(002).
GF_EXIT = GC_TRUE.
WHEN 2.
MESSAGE I049(YS) WITH 'Y_LS_LN'(003).
GF_EXIT = GC_TRUE.
WHEN 3.
MESSAGE I050(YS) WITH 'SXPG_CALL_SYSTEM'(002).
GF_EXIT = GC_TRUE.
WHEN 9.
MESSAGE I054(YS) WITH 'SXPG_CALL_SYSTEM'(002).
GF_EXIT = GC_TRUE.
WHEN 10.
MESSAGE I055(YS) WITH 'SXPG_CALL_SYSTEM'.
GF_EXIT = GC_TRUE.
WHEN 11.
MESSAGE I056(YS) WITH 'SXPG_CALL_SYSTEM'(002).
GF_EXIT = GC_TRUE.
WHEN OTHERS.
MESSAGE I022(YS) WITH SY-SUBRC.
GF_EXIT = GC_TRUE.
ENDCASE. " CASE SY-SUBRC.
IF GF_EXIT = ' '.
READ TABLE CMD_OUTPUT ASSIGNING <CMD_OUTPUT_LINE> INDEX 1.
IF SY-SUBRC = 0.
CONDENSE <CMD_OUTPUT_LINE>-MESSAGE.
IF <CMD_OUTPUT_LINE>-MESSAGE CS 'total' OR
<CMD_OUTPUT_LINE>-MESSAGE CS 'TOTAL'.
DELETE CMD_OUTPUT INDEX 1.
ENDIF.
ENDIF.
LOOP AT CMD_OUTPUT ASSIGNING <CMD_OUTPUT_LINE>.
CONDENSE <CMD_OUTPUT_LINE>-MESSAGE.
SPLIT <CMD_OUTPUT_LINE>-MESSAGE AT SPACE INTO
LV_PERMISSION
LV_H2
LV_USER
LV_GROUP
LV_SIZE
LV_MONTH
LV_DAY_C
LV_YEAR
LV_FILE_NAME
LV_JUNK.
IF LV_PERMISSION(1) = LC_DIR.
CONTINUE.
ELSE.
LV_FLNM = LV_FILE_NAME(13).
TRANSLATE LV_FLNM TO UPPER CASE.
IF LV_FLNM = '1W_FIARFUNNEL'.
PT_FILE-FILE_NAME = LV_FILE_NAME.
APPEND PT_FILE.
ENDIF. " IF LV_FLNM = '1D_FIARFUNNEL'.
ENDIF. " IF lv_permission(1) = ...
ENDLOOP. " LOOP AT CMD_OUTPUT
ENDIF. " IF GF_EXIT = ' '. -
Sign on problems within Elements 10; plus cannot backup, writing files error with file catalog.pse10db. No indication what the problem is. How do I get adobe help with these problems?
Sign on problems within Elements 10; plus cannot backup, writing files error with file catalog.pse10db. No indication what the problem is. How do I get adobe help with these problems?
-
Will the current plugins for Sigma DP1/2 RAW files work with files from the DP1/2 Merrill cameras? And if not, is Adobe developing plugins for these cameras?
Not sure what plugins you mean, Hornet - Lr doesn't rely on plugins to read new cameras.
If you mean the Adobe Camera Raw (ACR) plugin - that's for Photoshop, not Lightroom. Lr has the same functionality as ACR, but it's hard-coded into the program, so if you're looking for support for a new camera, you need to wait for a new version of Lr.
And nobody here can say when Lr support for a given camera will happen.
Hopefully someone with a Merrill will be able to chime in about whether its files work with the current Lr. -
File Content Conversion - Receiver Adapter
Hi To All
I have an XML Structure
<LIST>
<Seg1>
<Element1>123</Element1>
</Seg1>
<Seg2>
<Element1>ABC</Element1>
<Element2>DEF</Element2>
<Element3>GHF</Element3>
</Seg2>
<LIST>
I'm using File content conversion in receiver Adapter
I want my output like this.
ABCDEFGHF
I don't need the Segment Seg1.
In my parameters RecordsetStructure only I have Seg2 and the details for this Segment
but When I receive a file, the adapter convert with segment 1.
123
ABCDEFGHF
can you help me?.easiest alternative is mentioned here already, drop it in the mapping.
You can also try to write a java pgm and invoke it as an OS command. that cuts the segment1 out before passing it to content conversion. ..more painful..but will work.
Regards
Ravi Raman -
File content conversion sender adapter
Hi Friends,
I am doing File to IDoc scenario.
I am using File Content Conversion for File Adapter.
My structure look like this
MT_File
HEADER1 1..1
--header1
-- header2
HEADER2 1..1
--header3
DETAILS 1..unbounded
--details1
--details2
--details3
TRAILER1 1..1
-- trailer1
TRAILER2 1..1
-- trailer2
----trailer3
In File Content conversion parameeters..
Document Name :MT_File
Document Namespace :urn:test:FileFcctoIdoc
RecordSet name :
RecordsetStructure :HEADER1,1,HEADER2,1,DETAILS,*,TRAILER1,1,TRAILER2,1
RecordSet Structure: Ascending
RecordSet Per message : *
Key Field Name :header1,header3,details1,trailer1,trailer3
ignoreRecordsetName : true
HEADER1.fieldNames :header1,header2
HEADER1.keyFieldValue : H1
HEADER1.fieldFixedLengths :5,10
HEADER1.endSeparator :'nl'
HEADER2.fieldNames :header3
HEADER2.keyFieldValue : *D
HEADER2.fieldFixedLengths :5
HEADER2.endSeparator :'nl'
DETAILS.fieldNames :details1,details2,details3
DETAILS.keyFieldValue : 3
DETAILS.fieldFixedLengths :5,5,5
DETAILS.endSeparator :'nl'
TRAILER1.fieldNames :trailer1
TRAILER1.keyFieldValue : *S
TRAILER1.fieldFixedLengths :5
TRAILER1.endSeparator :'nl'
TRAILER2.fieldNames :trailer2,trailer3
TRAILER2.keyFieldValue :SE TRAILER2.fieldFixedLengths :5,5
TRAILER2.endSeparator :'nl'
File is :
H1hh1hhhhhhhhh2
*Ddd*
Xddd1dddd2dddd3
Xddd4dddd5dddd6
Xddd7dddd8dddd9
*Sss*
SEKss2
in RWB, Channel CC_FILE_Sender_FccDemo: Empty document found. Proceed without sending message
I think the problem is in FCC paramters..
Could please have a look and correct me
Regards
RamRam,
The problem which i can see is your key field values in your test file. Remember you should have the key field value in each new line at the same place.
For example you have given your text file as shown below...
File Given By You is :
>H1hh1hhhhhhhhh2
>*Ddd *
>Xddd1dddd2dddd3
>Xddd4dddd5dddd6
>Xddd7dddd8dddd9
>*Sss *
>SEKss2
Compair the above file with the below one..
>H1hh1hhhhhhhhh2
>*Ddd *
>Xddd1dddd2dddd3
>Xddd4dddd5dddd3
>Xddd7dddd8dddd3
> *Sss *
>SEKss2
If you notice, for details I have given key field value 3 in each line & at same place.
One more thing just use the KeyFieldName only one ( just follow the same blog which I have given, to understand how to use the KeyFieldName )
e.g.
Document Name :MT_File
Document Namespace :urn:test:FileFcctoIdoc
RecordSet name :
RecordsetStructure :HEADER1,1,HEADER2,1,DETAILS,*,TRAILER1,1,TRAILER2,1
RecordSet Structure: Ascending
RecordSet Per message : *
Key Field Name : KF
Regards,
Sarvesh -
Skip field in file content conversion (file adapter)
hy guys,
I have a log file and want to convert it into xml. that works fine.
the problem is: can I skip some fields that I do not need in the xml with file content conversion
the fields I want to skip are the same in every record of the log file.
thanks.Ralf,
You can only ignore lines in the begiining of the file using Document Offset option.
If you have the unwanted field in the end of the record and you are in SPS12 (PI 7.0), you can use the option additionalLasstFields in FCC parameters. have a look into the blog /people/sukumar.natarajan/blog/2007/06/12/content-conversion-in-sender-file-adapter--2-new-useful-parameters
Easier, is to ignore those fields in mapping.
Also, you can try to remove those fields using a shell script which can be called from the File adapter.
Regards,
Jai Shankar -
Change the contents of file.
I have a table with fields BLOB and CLOB.
Store Word files in a BLOB field, my question is:
I change the contents of a Word file stored in a BLOB field using DBMS_LOB.CONVERTTOBLOB?
OR
.-CONVERT THE CONTENT OF BLOB FIELD TO A KIND OF VARIABLE CLOB
2.-CLOB to convert BLOB
3.-load the cam, po BLOB file with the UTL_FILE.
I am l, or correct?
I work with Ortacle Database XE y Apex 3.0.1
Roberto.
Message was edited by:
user584812Please help.
It is getting worse
Adobe flash player is crashing. I already uninstalled and re installed the latest ver. Also it is hanging randomly.
Please help. -
XI 3.0 File Adapter: Converting File Content in Sender Adapter
Hi,
This is probably a basic question but does anyone have an example of the parameters used when you are using the 'Converting File Content' option on the File Adapter ?
Also, where do the record sets have to be defined ? Are these data types in the Integration Builder ?
The documentation is to say the least a bit flaky.
Any help would be appreciated.
Kind regards
Colin.Hello,
I'm wondering if someone has experience setting up conversion for different record structures. The example shown (in a greate way) only picture one kind of structure.
How should it be done if the file would contain
10Mat1
20100PCS
The first record structure has columns
ID(2),Material(10)
The second redcord structure has columns
ID(2),Quantity(3), Unit of messure (3)
Brgds
Kalle -
File Matching with FTP Adapter
Guys,
I have particular requirement where FTP Adapter needs to read set of files
FILENAME.PCL
FILENAME.I01
the file name would be matching but extensions are different.
the adapter needs to read the file match if they are SET of files ( based on file name) and move into target directory if not move into Error Directory .The Data needs some manipulation before it's written into target location so we are using ESB ( also for error notification) is it possible with FTP Adapter within ESB?
ThanksMay be difficult with ESB, may require BPEL. Can you give a specific example as that would make it easier to see what you mean.
Antony -
Change DMS/ content sever file in CVO2N
Hi experts,
I' m not from BASIS end & working on PS, but any how We manged to configure DMS/content server & uplaod files using CV01N into DMS/content sever .
when we open the saved file using CV02N, it copies the file from DMS sever in to C:\DMS as configured on DC20.
But when we chnage & save, it change only that temparary file that create onC:\DMS, but our requirement is to chnage file that store on DMS serve.
Also note that we need to change same file using normal functional transaction like CJ20N through projects.
Please advice us so that we can configure this to work as per our requirement..
Thanks & regards,
Sam L.Hi Sam,
in the standard or DMS the behavior when editing an original is the following.
First a local copy of the original file is created on your PC and the file is opened for editing. When you have finished your editing actions and saved the file you return to the SAP system. But now the original file is still checked out (see open lock icon in CV02N). and you need to check in the file again. Therefore please mark the original which you have edited and press the checkin button to store this new edited files on the content server as well. Since the original is checked in the lock icon is closed and now you can save the document info record in CV02N.
To achieve an automatic checkin when saving the document info record I can only recommend you to set the flag 'Check-In' for the document status. This can be customized in transaction DC10 for the document type and the status. Please mark the used document type in transaction DC10 and then go to 'Define status'. Here double click on the desired status and on the next screen you will find the flag 'Check-in'. For further information you can also see the F1 help for this flag too.
I hope that this information could be useful for you.
Best regards,
Christoph -
File content conversion - sender adapter for Header and detail records
Hi Experts,
I am receiving a field of fixed length content format.(Header)The first line of the file will follow the structure X having some fields and (DetailRecord)subsequent lines in the file will follow structure Y having somes fields.There is no record identifier for Header and Detail records.In one file first line is Header records and remaining subsequent line is DetailRecord.What are the parameters we have to set for sender file content conversion parameters as i donot have any key field and key field value.And in one file we have only one header records ( first line) and n number of detail records from 2nd line onwards.
Thanks
DeepakHi
Refer the below fourm link,
Flat file whitout id
Regards
Ramg. -
File-Sender: Verification of file content during file content conversion
Hello,
I have a question regarding file verification when using the file-sender adapter.
I got a flat file (.csv) that I convert into XML with the file-sender adapter and file-content-conversion.
In the file there is a column RecTyp that is my KeyFieldValue. Possible values for RecTyp are B, D, U, T.
So far so good. All this works perfectly.
If (due to an error) there is another value in RecTyp than the 4 mentioned above (B;D;U;T) the file adapter ignores this row today. And here begins my issue:
I want to change this behavior. That means in detail, I want to check if there is another value in my KeyFieldValue RecTyp than specified. If this is the case an exception should be thrown. The whole message should not be delivered.
We had the idea to use the module-processor for this verification .
But may be there are other suggestions. Or may be some one can provide an appropriate module that is already written, etc .
Does anyone have an idea?
Kind regards,
TobiasHi,
It is better to pick the file in generic way i.e Row by Row and then go with the validation with the help of Adapter Modules or in the Mapping.
For more-
/people/sravya.talanki2/blog/2005/08/16/configuring-generic-sender-file-cc-adapter
Thanks,
Moorthy -
Problem in file content conversion, file 2 xml scenario
Hi,
Could some one help me in finding out the error in my file to xml scenario, please do consider the following things what I did for this scenario.
1.My sender file structure is flat file with , seperated 4 fields. On receiver end expecting xml file.
2.Did file content conversion at sender file adapter and given parameters as follows.
Document name : MT_FileInput
DocumentnameSpace : http://file/praveenworkshop
Recordset Name : DT_Record
Recordset Structure : DT_Row,*
KeyfieldType : String( default)
DT_Row.fieldnames : FirstName,LastName,City,PostCode
DT_Row.fieldSeparator : ,
DT_Row.processConfiguration: FromConfiguration
Dt_Row.endSeparator : 'nl'
3. I did check in Adapter Monitor that Both Sender and receiver adapter are showing green and It was showing 'Adapter is up and running: But no messages processed'
4. I did check the SXMB_MONI which was showing " Scheduled for Outbound processing"
5. In SXMB_MONI outbound processing payload was picking up the file and also inbound processing showing the same.
6. my source folder and destination folder are very simple c:/praveenfiles/input and c:/praveenfiles/output
files are source file praveen.txt and destination file praveenOP.xml
Please help me in finding out the error to see the output file in my output folder.Hi Praveen,
Hope these bloga are useful to you..
File content conversion sites
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Thanks,
Satya -
File content conversion (file to file)
Hi Guys,
Sender File
@! is the delimiter
LEVEL1@!227833338@!08710@!REPAIR@!20080101@!99990909@!0000212897@!0000000001000@!0000000500000@!R400@!A@!Assigned
LEVEL2@!227833338@!08710@!000099071608@!Blind@!20020115@!20020115@!R400@!1@!3@!20020430@!99990909@!SLC-@!VESSELLS@!A@!Assigned
LEVEL3@!227833338@!08710@!000099071608@!0010@!Blind@!20020115@!20020115@!20020430@!20020430@!10000414@!Assigned
LEVEL1@!4501065777@!00010@!SUPERHEAT@!20071206@!99990909@!0000219169@!00000001000@!0000002000000@!R020@!A@!Assigned
LEVEL2@!4501065777@!00010@!000009416742@!Alky@!20080107@!99990909@!R020@!E@!2@!20080101@!99990909@!LAT@!COKE@!A@!Assigned
LEVEL3@!4501065777@!00010@!000009416742@!0010@!v-895@!20080107@!99990909@!20080101@!99990909@!10001577@!Assigned
Sender Structure
<?xml version="1.0" encoding="UTF-8"?>
<ns0:CostObjects xmlns:ns0="http://*****************">
<LEVEL1>
<LevelID/>
<PONumber>35435454</PONumber>
<POLineNo>545</POLineNo>
<ShortText>AAAAAAA</ShortText>
<StDate>20080101</StDate>
<EndDate>20080101</EndDate>
<Vendor/>
<POValue/>
<ExpectedValue>4343</ExpectedValue>
<Plant/>
<Status>A</Status>
<OrderType>Assigned</OrderType>
</LEVEL1>
<LEVEL2>
<LevelID/>
<PONumber>35435454</PONumber>
<POLineNo>545</POLineNo>
<Level2ID>457899</Level2ID>
<Level2Desc>bbbbbbbbb</Level2Desc>
<L2StDate>20080101</L2StDate>
<L2EndDate>20080101</L2EndDate>
<L2Plant>y001</L2Plant>
<L2Priority>3</L2Priority>
<L2SAPStatus>a</L2SAPStatus>
<L2ActStDate>20080101</L2ActStDate>
<L2ActEndDate>20080101</L2ActEndDate>
<L2FuncLoc>LAR</L2FuncLoc>
<L2FuncDesc>LOS ANGLES</L2FuncDesc>
<L2Status>1</L2Status>
<L2OrderType>Assigned</L2OrderType>
</LEVEL2>
<LEVEL3>
<LevelID/>
<PONumber>35435454</PONumber>
<POLineNo>545</POLineNo>
<Level2ID>457899</Level2ID>
<Level3ID>10</Level3ID>
<Level3Desc>cccccccc</Level3Desc>
<L3StDate>20080101</L3StDate>
<L3EndDate>20080101</L3EndDate>
<L3ActStDate>20080101</L3ActStDate>
<L3ActEndDate>20080101</L3ActEndDate>
<L3WorkCenter>los</L3WorkCenter>
<L3OrderType>Assigned</L3OrderType>
</LEVEL3>
</ns0:CostObjects>
Receiver Structure
<?xml version="1.0" encoding="UTF-8"?>
<ns0:TCostObject xmlns:ns0="http://**************">
<LEVEL1>
<L1RecordIndicator><L1></L1RecordIndicator>
<L1ID>35435454545</L1ID>
<L1Desc>AAAAAAA</L1Desc>
<L1StartDate>20080101</L1StartDate>
<L1EndDate>20080101</L1EndDate>
<L1Hours>0</L1Hours>
<L1Costs>4343</L1Costs>
<L1Status>A</L1Status>
<L1OrderType>Assigned</L1OrderType>
</LEVEL1>
<LEVEL2>
<L2RecordIndicator><L2></L2RecordIndicator>
<L1ID>35435454545</L1ID>
<L2ID>457899</L2ID>
<L2Desc>bbbbbbbbb</L2Desc>
<L2StartDate>20080101</L2StartDate>
<L2EndDate>20080101</L2EndDate>
<L2Hours>0</L2Hours>
<L2Costs>0</L2Costs>
<L2OrderType>Assigned</L2OrderType>
<L2Plant>y001</L2Plant>
<L2Priority>3</L2Priority>
<L2SAPStatus>a</L2SAPStatus>
<L2CostObject/>
<L2CostObjectDesc/>
<L2ActStartDate>20080101</L2ActStartDate>
<L2ActEndDate>20080101</L2ActEndDate>
<L2AreaID>01</L2AreaID>
<L2FuncLoc>LAR</L2FuncLoc>
<L2FuncLocDesc>LOS ANGLES</L2FuncLocDesc>
<L2UnitName/>
<L2MaintCatCode/>
<L2MiscInfo1/>
<L2MiscInfo2/>
<L2SAPExempt/>
<L2ShortWorkOrderID/>
<L2Status_AorI>1</L2Status_AorI>
<L2LaborTaxFlag/>
<L2EquipTaxFlag/>
<L2MaintTaxFlag/>
</LEVEL2>
<LEVEL3>
<L3RecordIndicator><L3></L3RecordIndicator>
<L1ID>35435454545</L1ID>
<L2ID>457899</L2ID>
<L3ID>10</L3ID>
<L3Desc>cccccccc</L3Desc>
<L3PlanStartDate>20080101</L3PlanStartDate>
<L3PlanEndDate>20080101</L3PlanEndDate>
<L3ActStartDate>20080101</L3ActStartDate>
<L3ActEndDate>20080101</L3ActEndDate>
<L3OrderType>Assigned</L3OrderType>
<L3WorkCenter>los</L3WorkCenter>
<L3WorkAmtScheduled/>
<L3UnitofWork/>
<L3DurationScheduled/>
<L3UnitofDuration/>
<L3NoofEmp/>
</LEVEL3>
</ns0:TCostObject>
The receiver file look more or less the same as sender file but with delimiter @# and the fields are different
<L1>@#...........
<L2>@#..........
<L3>@#............
<L1>@#...........
<L2>@#..........
<L3>@#............
Sender file adapter content conversion:
LEVEL1.fieldNames LevelID,PONumber,POLineNo,ShortText,StDate,EndDate,Vendor,POValue,ExpectedValue,Plant,Status,OrderType
LEVEL1.fieldSeparator @!
LEVEL1.endSeparator 'nl'
LEVEL1.processFieldNames fromConfiguration
LEVEL1.keyFieldValue LEVEL1
LEVEL2.fieldNames LevelID,PONumber,POLineNo,Level2ID,Level2Desc,L2StDate,L2EndDate,L2Plant,L2Priority,L2SAPStatus,L2ActStDate,L2ActEndDate,L2FuncLoc,L2FuncDesc,L2Status,L2OrderType
LEVEL2.fieldSeparator @!
LEVEL2.endSeparator 'nl'
LEVEL2.processFieldNames fromConfiguration
LEVEL2.keyFieldValue LEVEL2
LEVEL3.fieldNames LevelID,PONumber,POLineNo,Level2ID,Level3ID,Level3Desc,L3StDate,L3EndDate,L3ActStDate,L3ActEndDate,L3WorkCenter,L3OrderType
LEVEL3.fieldSeparator @!
LEVEL3.endSeparator 'nl'
LEVEL3.processFieldNames fromConfiguration
LEVEL3.keyFieldValue LEVEL3
ignoreRecordsetName true
Receiver Adapter content conversion:
LEVEL1.fieldSeparator @#
LEVEL2.fieldSeparator @#
LEVEL3.fieldSeparator @#
LEVEL1.endSeparator 'nl'
LEVEL2.endSeparator 'nl'
LEVEL3.endSeparator 'nl'
The file is not being picked up.I am sure sender file adapter is correct as I have used this for (file to soap) and the scenario works file.I am not sure of receiver file adapter,do we have to use adavanced mode in receiver file adapter?Can you guys plz help me.Let me know if you have any questions
ThanksCan someone let me know what are the parameters to give in FCC receiver file adapter.
Thanks
Maybe you are looking for
-
Macbook pro can't find preferred wireless network
My father signed onto my wireless network using his own laptop (PC) with my passkey. Then after he had been on I tried to connect to the internet with my macbook (and iPhone) and my network was gone. If I look at the list of available networks it l
-
Setting up static routing in sa520. Im stuck.
Hello, I finally got my cisco router and all excited about it i tried to set it up. Everything went fine until i wanted a local machine to get its own IP adress that is reachable from the outside. Basicly i used static IP setting in the wan/ip4v menu
-
Number of elements at logical level / odbc driver
Hi everyone, I'm new in BI area and I cannot understand one basic thing. I study documentation about BI server, exactly chapter about "creating dimensions" and I'm confused about setting "number of elements at logical level" It looks for me that "num
-
How to make room in the "heap zone"?
I have made a video project for school with imovie 9.0.4, and it is only 6 and a half minutes long. It is due tomorrow, and whenever I try to finalize, share, post to youtube, or make a DVD, i keep getting the error "not enough space in heap zone". H
-
Hello all, I have an interesting client requirement regarding PI caching datasets which it can query in order to minimize amount of hits to the SAP database. These datasets would be refreshes in a specified batch. For example, there is a requirement