Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Variable Substitution field shouldnot be written to the file

Hello,

I am doing a proxy to file scenario.

Below is my datatype structure:

MT_IN

---Line 1..unbounded

---FileName 1..1

From the R/3 side, I send the entire file in the "line" element and the name of that file in the "FileName" element.

Now I want to use this "FileName" element in my variable substitution to dynamically generate my filename schema but I dont want to write this into the file which is written to the filesystem.

I only want to write the contents of "Line" element to the file and not the "FileName".

What all options are available to do this? Please detail out.

Thanks

replied

Hi Laxmi

Do you have a Recordset type of structure. What you have defined in Record Structure and when you execute whats the error in CC.

MT_IN
   Items
        Line
        FileName

For this FCC will be

Recordset Structure - Items

Items.fieldNames                 Line, FileName
Items.fieldFixedLengths           *,0
Items.endSeperator                  'nl'
Items.fixedLengthTooShortHandling    Cut 

Thanks

Gaurav

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question