How to Ignore Header Line in FCC " Sender Side" .
Hi SDNrs,
I am getting a File Data after FCC with header Data.
How to Ignore that Header Line coming with actual data...
Like Employeeid , Name , Deptid
So this Employeeid , Name , Deptid is also coming as Data.
Or what approach Should be Used?
Regards
Prabhat Sharma.
Hi,
Use " Document Offset" parameter in Sender File CC.
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
Thnaks
Amit
Similar Messages
-
How to print header lines at the top of every page with Alv list display?
Dear all,
I need a requirement with printing issue. A program list should be printed with the function reuse_alv_list_display.
The list has several pages and then can be printed but the header lines appear only first page when they printed. The other pages don't have header lines, they continue with the next record of the list remaining from previous page. I use the alv parameters as below:
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = l_repid
i_callback_pf_status_set = 'ALV_PF_STATUS'
is_layout = ls_layo
it_fieldcat = lt_fcat
i_default = 'X'
i_save = 'A'
is_variant = ls_variant
it_events = lt_events
TABLES
t_outtab = lt_data
EXCEPTIONS
program_error = 1
OTHERS = 2.
and lt_events as below:
ls_event-name = 'END_OF_LIST'.
ls_event-form = 'ALV_END_OF_LIST'.
APPEND ls_event TO lt_events.
ls_event-name = 'END_OF_PAGE'.
ls_event-form = 'ALV_END_OF_PAGE'.
APPEND ls_event TO lt_events.
ls_event-name = 'TOP_OF_LIST'.
ls_event-form = 'ALV_TOP_OF_LIST'.
APPEND ls_event TO lt_events.
ls_event-name = 'TOP_OF_PAGE'.
ls_event-form = 'ALV_TOP_OF_PAGE'.
APPEND ls_event TO lt_events.
So, how can I print header lines for every page?
Best Regards,Hello Saba,
Your point might be very close to solution.
Because in the selection screen of the program there are two radio buttons, one of them visits 'REUSE_ALV_COMMENTARY_WRITE' function and the other doesn't. The one which visits has a problem with header liens in every page when printing. But I couldn't find out the solution yet.
reuse_alv_list_display uses 4 event and of course I call subroutine. There are end_of_list, end_of_page, top_of_list and top_of_page. I use in the subroutine for top_of_page:
CALL FUNCTION 'LVC_TRANSFER_TO_SLIS'
EXPORTING
it_fieldcat_lvc = gt_fcat
IMPORTING
et_fieldcat_alv = lt_fcat
EXCEPTIONS
it_data_missing = 1
it_fieldcat_lvc_missing = 2
OTHERS = 3.
CALL FUNCTION 'REUSE_ALV_LIST_WIDTH_GET'
EXPORTING
it_fieldcat = lt_fcat
IMPORTING
e_width = l_width.
WRITE l_reptx TO l_reptx CENTERED.
NEW-LINE.
WRITE: AT (l_width) l_reptx CENTERED.
SUBTRACT 10 FROM l_width.
WRITE: AT l_width sy-pagno RIGHT-JUSTIFIED.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = lt_header
I_LOGO =
I_END_OF_LIST_GRID =
Do you have other suggestions ? -
How to add header line in a file from XI system using file adapters
Hi All,
I need to add header line (Column names) in a file coming from XI system.
I am using file adapters.
Thanks & Regards,
Gaurav MittalThe Receiver File Adapter is configured, using the following settings:
1) Choose File Content Conversion as the Message Protocol.
2) You give the addHeaderLine parameter as 1
3) For the fieldSeparator parameter you need to give field separator for both list and substructure (referring to the data type above). For eg: it may be a , (comma) for substructure in a comma separated file.
4) The endSeparator parameter needs to given for substructure only. For eg: it may be a nl (new line)
5) Give the file name, the directory and the Construction mode. Activate all the settings. Receiver File Adapter with F.C.C. is configured.
please visit the blog.
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/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 -
How to skip lines in FCC Sender
Hi to all.
I have an scenario file to file(XML). I want to avoid two lines at the end of the file.
I not use any mapping because is map
This is my payload
XLine1 aaaa bbb ccc ddd
XLine2 aaaa bbb ccc ddd
XLine3 aaaa bbb ccc ddd
XLine4 aaaa bbb ccc ddd
XLine5 aaaa bbb ccc ddd
EOM0005
EOF0001
I want FCC don't send the two lines at the end (EOM005-this a counter of lines- and EOF001).
Thanks and regards>
Luis Ortiz wrote:
> Hi to all.
>
> I have an scenario file to file(XML). I want to avoid two lines at the end of the file.
> I not use any mapping because is map
>
> This is my payload
>
> XLine1 aaaa bbb ccc ddd
> XLine2 aaaa bbb ccc ddd
> XLine3 aaaa bbb ccc ddd
> XLine4 aaaa bbb ccc ddd
> XLine5 aaaa bbb ccc ddd
> EOM0005
> EOF0001
>
> I want FCC don't send the two lines at the end (EOM005-this a counter of lines- and EOF001).
>
> Thanks and regards
only two options;
1. do the mapping
2. write an adapter module which will remove the last two lines of the file and then do your content conversion. -
Hi,
How to deal with blank rows in FCC for fixed width file?
I want to ignore these records as they will fail the message in mapping.
thanks,
Anirudh.Hi
Look this thread might help u
Blank line in receiver file adapter content conversion -
How to ignore the first row in sender file
I would like to ignore the first row in each file in the sender channel - how can i do it?
Hi
Check this,
As he said give Document Offset = 1
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
Also check this forum
Re: Supress Column Heading - File Content Conversion in Sender Adapter
Thanks,
Prakash -
How 2 Copy Header & Line Item Text from Purchase Order 2 Out Bound Delivery
Hi SD Gurus,
I want to copy header and line item text from Purchase Order to Out Bound Delivery (This is required in Stock Transfer Process).
I have been able to do successful config. for copying header and line item text from Sales Order to Outbound Delivery but config. doesn't seems to be same for copying text from PO to OBD.
Is there any way to achieve the same? Can some expert show the way to achieve this.
Thanks in advance.
Warm regards,
Rahul MishraHi Ravikumar thanks for u quick reply.
This is wht is currently coded.
concatenate values to get item text for read text function
invar3+0(10) = invar1. "PO number
invar3+10(5) = invar2. "PO line number
SELECT SINGLE * FROM stxh WHERE tdobject = 'EKPO'
AND tdname = invar3
AND tdid = 'F01'
AND tdspras = sy-langu.
IF sy-subrc = 0.
invar4 = invar3.
reading the text for the document items.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = 'F01'
language = sy-langu
name = invar4
object = 'EKPO'
TABLES
lines = it_itab.
I have seen some PO's which have info rec texts in that, which gets pulled by the above code...first thing is its id is F02 which exist in STXH table also there is other text with F01 id, and hence the table it_itab gets both these text hence no pbm.
but i came across a PO which has only one text which is info rec text with id F05 and is not store in stxh and hence doesnot get pulled by read_text fm. How do i change my cod to get this text which should not hamper other PO's as well.
As mentioned in above msgs, this F05 could be retrieved by providing object name as EINE.
anyhelp will be appreciated and rewarded.
thanks -
How to ignore particular lines in File Adapater
Hi ,
We are aware we can ignore the comments in the begning of the file by putting the document offset in the sender adapater
but is there a way we can ignore comments if the occure in the middle of the line
like if my i/p file is like
transactionId=3c68ffae-10d61001cd5
uniqueId=3c68ffae-10d61001cd5
Wed Aug 30 21:33:20 UTC 2006
recordindex=0
broker_domain broker_org Accepted With Changes 29Aug2006110525 4500000020 $null 29Aug2006110525 Discrete_Order 0000352119 vendor1 SSP_CUSTOMER SSP_CUSTOMER $null $null $null $null $null $null $null $null $null $null $null $null $null 0001 $null $null $null $null $null 29Aug2006000000 $null $null $null $null $null 10 S107999436 Test Material created on 29 August 2006 SSP_CUSTOMER_domain S107999436 Test Material created on 29 August 2006 0000352119_domain 100000.0 $null EUR EA Accepted With Changes 29Aug2006110525 29Aug2006110525 S107999436 $null $null $null $null $null 1 Sup_Change_UI Accepted With Changes 29Aug2006110522 500.0 29Aug2006000000 29Aug2006000000 500.0 29Aug2006000000 $null $null $null 5302 $null $null $null $null $null $null $null $null 29Aug2006110522 $null $null $null $null $null $null $null $null $null $null $null $null $null 1 $null $null $null $null $null $null $null $null 600.0 29Aug2006000000 $null $null $null $null $null $null
recordindex=1
broker_domain broker_org Accepted With Changes 29Aug2006110525 4500000020 $null 29Aug2006110525 Discrete_Order 0000352119 vendor1 SSP_CUSTOMER SSP_CUSTOMER $null $null $null $null $null $null $null $null $null $null $null $null $null 0001 $null $null $null $null $null 29Aug2006000000 $null $null $null $null $null 10 S107999436 Test Material created on 29 August 2006 SSP_CUSTOMER_domain S107999436 Test Material created on 29 August 2006 0000352119_domain 100000.0 $null EUR EA Accepted With Changes 29Aug2006110525 29Aug2006110525 S107999436 $null $null $null $null $null 2 Sup_Change_UI Accepted With Changes 29Aug2006110522 500.0 30Aug2006000000 30Aug2006000000 500.0 30Aug2006000000 $null $null $null 5302 $null $null $null $null $null $null $null $null 29Aug2006110522 $null $null $null $null $null $null $null $null $null $null $null $null $null 1 $null $null $null $null $null $null $null $null 400.0 30Aug2006000000 $null $null $null $null $null $null
I dont want to read lines with #
Is there a way we can achieve this
Thanks
AmitHi,
Could you also try using the conversion agent to handle this type of problem ?
Only a thought.
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
Kind regards
Colin. -
How to ignore Recordset name in XML(Sender JMS Adapter)?
Hi All.
I am using Sender JMS Adapter along with content conversion.
I have put in Parameter:
Plain2XMLService xml.ignoreRecordsetName true
still the Inbound payload in SXI_MONITOR has Node Recordset, which should not be the case.
Please advice, does this ignoreRecordsetName works in JMS adapter, if Yes does it works same way as in File Adapter content conversion?
Thanks in Advance>
Gowtham Peddi wrote:
> Hi All.
>
> I am using Sender JMS Adapter along with content conversion.
>
> I have put in Parameter:
> Plain2XMLService xml.ignoreRecordsetName true
>
> still the Inbound payload in SXI_MONITOR has Node Recordset, which should not be the case.
>
> Please advice, does this ignoreRecordsetName works in JMS adapter, if Yes does it works same way as in File Adapter content conversion?
>
> Thanks in Advance
can you try
ignoreRecordsetName true instead of xml.ignoreRecordsetName
also try to not give any value for the xml.recordsetName parameter.
I actually doubt if we can ignore the record set name using the module. -
How to use Stored Procedures in JDBC sender side and receiver side
Hello,
Can anyone explain how to use stored procedures in configuring the scenario using JDBC adapter at bothe sides sender nad receiver..
Thanks,
SooryaHi,
Refer the below link:
JDBC:
Receiver JDBC scenario MS access - /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 --> for jdbc receiver: file -JDBC
Stored Procedures-
/people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
http://www.ics.com/support/docs/dx/1.5/tut6.html
/people/sriram.vasudevan3/blog/2005/02/14/calling-stored-procs-in-maxdb-using-sap-xi
http://www.ics.com/support/docs/dx/1.5/tut6.html
http://java.sun.com/docs/books/tutorial/jdbc/basics/sql.html
http://www.sqlteam.com/article/stored-procedures-an-overview
HI in the message mapping structure u need to specify the different action and also u need to specify the procedure name.
refer the below link which has all the associated action
http://help.sap.com/saphelp_nw04s/helpdata/en/22/b4d13b633f7748b4d34f3191529946/frameset.htm
Chirag -
Ignoring white lines in a file parsed with Scanner
I've a little problem...
How to ignore white lines in a file (for configuration informations) parsed with Scanner???
My parser can ignore #(comments) and other thing, but not white lines...
oooo
fucking little problem!!!
Thank for solutions...
euronymousWrong assumption. Scanner doesn't return lines, it returns tokens separated by delimiters which are whitespace by default, so by default it will already ignore blank lines.
If you are using custom delimiters, make sure to include space, tab, and newline (\r \n and \f) as delimiters. -
Empty line handling in sender fileadapter FCC
Hi Al,
How do we ignore empty lines in the fixed length file by using FCC?
In my input file,i would be having emply lines at last and as per my curect FCC configurations,it is reading that emplty line also and due to this,message got failed in message mapping.How do we ignore this in sender file adapter?
I do not want to change any mapping condition.Hi Rajesh,
Just a short in the dark . There is a parameter by the name of NameA.keepIncompleteFields
This parameter is only evaluated if you enter a value for NameA.fieldFixedLengths.
○ If you enter NO and the last field found in the structure is shorter than specified in NameA.fieldFixedLengths, processing is terminated with a corresponding error message.This is the default.
○ If you enter YES, the last field found in the inbound structure is transferred to the outbound structure, even if it is shorter than specified in NameA.fieldFixedLengths.
Caution
You use this parameter to control the behavior of the conversion routine for the last field in a structure.
Use the NameA.missingLastFields parameter to define the behavior at runtime when the structure contains less fields or no fields (as in your case a blank line) in total that specified in NameA.fieldFixedLengths.
Regards
joel -
Put Date Before Header Line in Receiver FCC
Hi,
I have to create a csv file with format :
Date : dd/mm/yyyy to dd/mm/yyyy
PRODUCT_CODE,NAME,ADDRESS
123,ABC,xyz
123,ABC,xyz
123,ABC,xyz
123,ABC,xyz
123,ABC,xyz
How should i achieve putting the date before header line?
What should be my target structure format?
What parameters to enter in receiver FCC?Hi,
have you tried..
Have you tried:
(http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm)
● NameA.enclosureSign
Specify a string that acts as a text delimiter.
Text enclosed by such delimiters is transferred to the target structure unchanged, although the default setting is to remove all text delimiters. Separators within such texts are ignored.
This parameter is optional. The default setting is an empty value (no text delimiter).
● NameA.enclosureSignEnd
If the text delimiters for the beginning and end of the text are different, specify the text delimiter for the end of the text here.
If you do not make an entry here, the entry from NameA.enclosureSign is used.
● NameA.enclosureSignEscape
Specify a string that replaces the text delimiter if it occurs within a text that it delimits.
When the text is transferred the string is replaced by the value specified in NameA.enclosureSign .
● NameA.enclosureSignEndEscape
Specify a string that replaces the text delimiter for the end of the text if it occurs within a text that it delimits.
When the text is transferred the string is replaced by the value specified in NameA.enclosureSignEnd.
● NameA.enclosureConversion
To remove the delimiter upon transfer, or to replace it with escape characters, enter YES. This is the default value.
To transfer the characters unchanged enter NO.
Note
If you specify xml.enclosureSign= and xml.enclosureSignEsc=, text enclosed in quotation marks is transferred unchanged and the quotation marks are removed.
If the escape character for a quotation mark () occurs in the text itself, it is replaced by the quotation mark during the transfer.
Thanks,
Vijaya. -
Hi All,
In my file receiver communication channel, I need to have 2 header line.
In first header line hardcoded "UTF-8" needs to be written and second line will have actual column names.
If its just one header with actual column names, I am able to achieve. But not sure how to add one more line on Top with "UTF-8".
Please advice.
Thanks
ShiviHi Shivanjali,
We also face same requirement and we done this as below:
create a target structure as below and map the hard coded value
and in FCC we used below:
Regards
GB -
How to indent second line in a very long heading when creating a table of contents?
I need to make a table of contents.
Some of the chapter headings are very long and fill more than a single line.
When I create my table of contents, I want the second lines to be 'pushed in' in the table.
Like this
1 chaper one xxxxxxxxxxx
2 Chapter two xxxxxxxxxxxxxxxxxx
3 Chapter three x xxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxx xxxxxxxxxxx
4 Charpter four xxxxx xxxxx
5 Chapter five xxxxxxxxxx xxx xxxxx xx xxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxx xxxx xxxxx
I thought I had solved it by having the actual chapter headings indented like this, but the table of contents overlooks this/overrules this.See also my reply to the duplicate thread:
http://social.technet.microsoft.com/Forums/office/en-US/8f88b64c-1a15-4761-aed9-f662f17b94ca/how-to-indent-second-line-in-a-very-long-heading-when-creating-a-table-of-contents?forum=word
Cheers
Paul Edstein
[MS MVP - Word]
Maybe you are looking for
-
Test of html5 video on website server get 403 - Forbidden: Access is denied
I have been experimenting with html 5 with help from Wyodor to play videos on any browser and hopefully iphone without using Flash. Had it working on my local browsers but wanted to upload it to my website to test it on IE and iphone. But after uploa
-
How do i change default printer settings
Hi I have an Epson Photo PX720WD. When I print photos directly from Finder they always print on the A4 plain paper I have in the tray rather than the 6 x 4 photo paper I want them to. The print option in Finder doesn't give me any opportuntiy to sele
-
Created template does not hold
I designed a template (with the proper font - Times New Roman, size - 10 point, style, margins) so that I can copy and paste from various news sources; it works great when I use Camino as my browser. Every article get printed with the defaults as set
-
Thinkpad T410 Running Windows 7 Professional Hangs
I purchased a T410 about a month ago. Intermittently, the computer hangs for several seconds when moving between thumbnails on the task bar and sometimes when moving to the menu bar for any of the Microsoft Office applications that I am running. Are
-
Hi everyone, A couple of days ago the most stupid thing happened to my phone. I'm sure you already get it: I dropped it in the toilet. A clean toilet, I must say. I have put it in dry rice everyday for 4 days and now I tried to turn it on again. Ever