Chunked header line gets removed

Some webserver at akamai (for instance: www.fedex.com ) delivers the data chunked.
A snoop trace indicated that the server sends a header line "Transfer-Encoding: chunked". The proxy (3.6 SP6 on Solaris) removes this header as it sends it to the client. The content however still has all chunk sizes within. So, in the browser, we see the content with lots of 8-digit hex-numbers in between.
Is this a bug in 3.6 SP6?
Best regards,
Jeroen Besse

> Hi all,
> I have to use a function
> CLAF_CLASSIFICTION_OF_OBJECTS'
> inside a BADI called BATCH_Master.
> Now the thing is that the data which I have to read
> gets fetched in one of the tables of function
> module.
>
> Following CODE works fine if <b>I am not using
> BADI.</b>
>
> Data: P_CLASS like SCLASS occurs 0 with header line,
> P_OBJECTDATA like CLOBJDAT occurs 0 with header
> line.
>
> *
> *
> Call Function 'CLaff_Classification_OF OBjects'
> *
> *
> TABLES
> T_CLASS = P_Class
> T_OBJECTDATA = P_OBJECTDATA.
> *
> *
>
> LOOP AT P_OBJECTDATA.
> WRITE: / P_OBJECTDATA-AUSP1.
> ENDLOOP.
>
> <b>But if I am use BADI then I can't use header
> line.</b>
> Data:
> P_Class TYPE STANDARD TABLE OF SCLASS initial size 0,
>
> P_Objectdata TYPE STANDARD TABLE OF CLOBJDAT initial
> size 0.
>
> Now I can't print the values of P_Objectdata because
> I am not using header line since I am using BADI.
>
> How can I print P_Objectdata because I can't use
> header line in BADI while declaring any table (Due to
> OO Concept) ?
If you declare your table without header line, make sure that the internal table is passed to a function call with the brackets
Call Function 'CLaff_Classification_OF OBjects'
TABLES
T_OBJECTDATA = itab[].
>
Also you need a workarea for your loop.
loop at itab into wa.
endloop.
Hope this helps
Christian

Similar Messages

  • Approvers of Rejected line items not getting removed -Process controlled WF

    I have developed shopping cart approval using process controlled workflow. We are using SRM 7.0, patch level 9.
    Decision set used is item based approval for partial documents (Type 4)
    While testing I observed that when I reject any item, the corresponding approvers of that items are not getting removed.
    As per your requirement, if we create SC with 2 items A and B. Based on various conditions
    2 process levels are determined for item A, say approver X and approver Y at respective level.
    3 process levels are determined for item B, say approver X, approver Z1 and Z2.
    Approver X, rejects item A and approves item B. Since one item is rejected, the work item is sent to requestor for acceptance. All process levels are of type "Approval". Once the requestor clicks on "Accept" button, the item A, which is rejected gets deleted from the shopping cart.
    However now when I see the Approval Process Overview, the current approver shown is Y. The work item is sent to approver Y and the value of the shopping cart is shown as 0.00. Logically the approver Y should have been removed from approval process.
    Could you let me know if I am missing any step or do I need to do some coding to get rid of approvers of rejected items.
    Regards,
    Manish.

    We were using N-step process level on the item level contrast to example provide by SAP of N-step process leve on Header level. SAP uses standard tables /SAPSRM/D_WF_015 and /SAPSRM/D_WF_016 to implement the logic. We have customized the solution with logic on same line of sap but using bespoke tbale ZSAPSRM_D_WF_016. Let me know if anyone needs solution.

  • Line at bottom of header is getting hidden

    I've added a line at the bottom of the report header and it is displayed when the text box immediately above is hidden (based on whether there is text to populate the text box).
    If there is text to populate the text box immediately above the line, the  line gets hidden.  Is there a way to force the line to always be displayed?
    The reason I'm trying to use the line instead of the header border is because I don't like the way the header border extends beyond the right and left edge of the body of my report.  I like the line because I can make the same width as the report body.
    Kevin

    Hi Simon,
    It's actually the reverse.  There is no expression controlling whether the line is hidden.  It is meant to be displayed all the time.
    However, the text box above it has the following expression for it's contents.
    =First(Fields!DispatchComments1.Value, "DataSet1") & vbcrlf &
    First(Fields!DispatchComments2.Value, "DataSet1") & vbcrlf &
    First(Fields!DispatchComments3.Value, "DataSet1") & vbcrlf &
    First(Fields!DispatchComments4.Value, "DataSet1")
    It also has the following expression that controls whether it is hidden.  The expression works as expected.  If there is text in any of those fields the text box is displayed, if not it is hidden.
    =IIF(LEN(First(Fields!Comments1.Value, "DataSet1") &
    First(Fields!Comments2.Value, "DataSet1") &
    First(Fields!Comments3.Value, "DataSet1") &
    First(Fields!Comments4.Value, "DataSet1")) > 0, FALSE, TRUE)
    When there is no text in the text box the line is visible.  The problem is if there is text in the text box it appears to be covering up the line.
    Kevin

  • How to get multiple copies with different decription on header line

    I want to get multiple copies of print out automatically with different description on header line when i click on save or print button.

    is this smartforms....?
    if yes then this can be achieved using the copy windows concept of smartforms.....
    Regards,
    Lalit Mohan Gupta

  • After adding one column in a table can't get the header line

    hi all,
    i have make a SMART FORM which was working perfectly.Now the requirement of user is to add one column in my table at smart form which i did and after modification i execute it it give me data as well but issue which i'm facing is that the TABLE at smart forms in which i have add one field is not displaying the HEADER LINE which i have define with SELECT PATTREN option.
    Thanks & Regards,
    sappk25

    Hi,
    Have you created the Header Text? If yes, then might be the case that your smartforms
    table which was already created is with Multiple Line. Check weather you have added
    customer field in Header Line or Not?
    Regards,
    SUjeet

  • Getting error of Defining an internal table with header line, SELECT-OPTIO

    Hi all,
    i have a coding for my smart form,In this coding i have define an structure which being used,but when i execute it it give me
    error of Defining an internal table with header line, SELECT-OPTIONS, and RANGES is not allowed within a structure.Even tough you can see that in  my coding im not using SELECT-OPTION or RANGES,but can't understand why it gives me this error.
    Following are the code:
      DATA: BEGIN OF traptab OCCURS 50.
            INCLUDE STRUCTURE mseg.
      DATA: vgart LIKE mkpf-vgart,
            blart LIKE mkpf-blart,
            blaum LIKE mkpf-blaum,
            bldat LIKE mkpf-bldat,
            budat LIKE mkpf-budat,
            cpudt LIKE mkpf-cpudt,
            cputm LIKE mkpf-cputm,
            aedat LIKE mkpf-aedat,
            usnam LIKE mkpf-usnam,
            tcode LIKE mkpf-tcode,
            xblnr LIKE mkpf-xblnr,
            bktxt LIKE mkpf-bktxt,
            frath LIKE mkpf-frath,
            frbnr LIKE mkpf-frbnr,
            wever LIKE mkpf-wever,
          END OF traptab. 
    Thanks & Regards,
    sappk25

    thanks

  • Text to Xml-Header Line

    Hi
    In text to xml scenario...how to eliminate the headers in text file
    Text file data is like
    H1-header line1
    H2-header line 2
    E100 Rahul - Data
    E101 Siva - Data.
    I need only data in xml file..what setting i have to make in file content conversion parameters in sender side..In blogs it is given for text to xml..In those i am not getting regarding header line removal from text file (sender)
    Give some suggestion to get this scenario
    Regards
    Prakash

    Hi Prakash,
    Create the Data type with all fields (Headr & Item) but while mapping do not map the header filds to target. But in your Content Conversion Define every thing (Header & Item filed lengths etc.) so this way your file will be ficked up by adapter and while mapping only Item values will be mapped and you will get only item data in your XML file.
    Below is the example when you have HEADER & ITEM structure.
    FCC is case sensitive, give all the names in FCC same as your Data Type.
    In Recordset Structure = Header,1,Item,*
    Header.fieldFixedLengths = (field lengths) e.g. 1, 4, 7
    Header.fixedLengthTooShortHandling=ignore
    Header.endSeperator='nl'
    Item.fieldFixedLengths = give the item field length as shown above
    Item.endSeparator = 'nl'
    Item.lastFieldsOptional = YES
    Regards,
    Sarvesh
    ****Reward points, if found helpfull.

  • Extra Blank Line gets added at the Beginning of the file by File Adapter...

    Hello All,
    I have created an RFC to File Adapter scenario in PI 7,1 and I am using Content Conversion in the File Adapter to convert the payload structure to flat text file. The input Structure is simple as follows:
    <File>
    <FName>some file name</Fname>
    <Record>
      <Data>
          <Line>Text Lines</Line>
    </Date>
    </Record>
    </File>
    while using the following Content Conversion Parameters: While I have defined "Record" as Structure.
    Record.addHeaderLine   = 0
    Record.fieldSeparator      = 'nl'
    Record.endSeparator      = 'nl'
    Here everything is working fine except that the text file getting generated has a blank line at the beginning. I was thinking that by adding "Record.addHeaderLine   = 0" parameter, no header line will be added to the file but this seems to be not working. I tried to include the top element "File" with the same parameters and different combinations but was not able to achieve the result and it stopped the file creation altogether.
    So, I'll appreciate if anyone can suggest something to get rid of the this blank line at the beginning of the file.
    Regards,
    Athar

    Extra blank line is actually provided for the FNAME node, but not displayed because of it has different structure with Record node.
    Change the structure for FNAME to :
    <FName>
    <Data>
    <Line>some file name</Line>
    </Data
    </Fname>
    this way "some file name" will be dispalyed in the text file at the first line of file. To remove it use this trick, define the following values in Content Conversion Parameters:
    in the Recordset Structure : FName,Record
    FName.fieldFixedLengths     = 0
    FName.fixedLengthTooShortHandling =     Cut
    FNamee.fieldSeparator = '0'
    FName.endSeparator =     '0'
    Record.fieldSeparator = 'nl'
    Record.endSeparator = 'nl'
    Rgds,
    Triana

  • Replace the header line in the o/p file

    My scenarion is to generate a xml file,the xml file contains a header line <?xml version="1.0" encoding="utf-8"?>
    and this lineis  to be relaced with <XYZ>.
    it is multi message mapping -- splitting of messages 1:n, i cannot add any extra fields to the target structure to pass the header
    I wrote a abap mapping program and included that in the second step of my interface mapping.
    the code for abap mapping is as below.
    method IF_MAPPING~EXECUTE.
       data: lv_new_str  type string,
             lv_old_str type string,
             lv_string type string.
    ***Convert the XSTRING to STRING
    CALL FUNCTION 'ECATT_CONV_XSTRING_TO_STRING'
      EXPORTING
        im_xstring        = source
    *   IM_ENCODING       = 'UTF-8'
    IMPORTING
       EX_STRING         = lv_string .
    **Pass the Values
    lv_old_str = '<?xml version="1.0" encoding="utf-8"?>'.
    lv_new_str = '<!XYZ>.
    REPLACE ALL OCCURRENCES OF lv_old_str in lv_string with lv_new_str.
    ***Convert the STRING to XSTRING.
    CALL FUNCTION 'ECATT_CONV_STRING_TO_XSTRING'
      EXPORTING
        im_string         = lv_string
    *   IM_ENCODING       = 'UTF-8'
    IMPORTING
       EX_XSTRING        = result
    *   EX_LEN            = .
    endmethod.
    But iam not able to get the desired output.
    Please suggest me how to make this work?
    Thanks
    Srinivas

    Hi Srinivas,
    Can you please see the java mapping as given by suraj in this thread:
    How do I remove xml encoding?
    Regards,
    ---Satish

  • ASP getting removed when updating Template

       Hello,
    I have a strange problem I can seem to find an answer for.
    I'm using Dreamweaver Templates, and on some of my individual pages I am also using ASP code for contact forms.
    In theory this code is outside the template and shouldn't be removed when I do a template update because codeOutsideHTMLIsLocked is set to false.
    The bolded line of code is the ASP code on my child pages, and everytime I update the template this line of code gets removed. It seems that if I remove the @ symblo the code doesn't get removed. But I don't think it's valid ASP anymore.
    <%@ Page Language="C#" CodeFile="default.aspx.cs" Inherits="contactform" ResponseEncoding="utf-8" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="../Templates/Main.dwt.aspx" codeOutsideHTMLIsLocked="false" -->
    Now when I run an update on my main template, and check my child page, the ASP code will be removed.
    The strange thing is that if I use placeholder text instead, it won't be stripped/removed out of the template.
    The pain is I have about 10 pages (for now) to add this line to everytime I update the template, which is actually happening more and more now.
    Does anyone know why this particular ASP code gets removed any time I update my Main template?
    Thanks,
    M
    /edit: It seems that if I remove the @ from this line, I can the code to "stick" and not be removed.

    If I understand correctly, Dreamweaver will treat the area outside the HTML as an editable region when codeOutsideHTMLIsLocked is set to false?
    If my maintemplate has this code: /Templates/mainTemplate.dwt
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    And my child page has this code: /products/index.php
    <%@ Page Language="C#" ContentType="text/html"  CodeFile="default.aspx.cs" inherits="contactform" ResponseEncoding="utf-8" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="../Templates/B2B.dwt.aspx" codeOutsideHTMLIsLocked="false" -->
    Theoretically now when I update the mainTemplate.dwt Dreamweaver shouldn't strip this code out. Correct?
    If this being correct, when I use Dreamweaver and update the mainTemplate.dwt it strips this editable region out of the child pages. This is not excepted result, I was excepting that Dreamweaver to leave this code alone in its editable region.
    Thanks in advance David,
    -M.

  • PO: FINAL_ENTRY indicators gets removed after DEL_IND is set

    Hello,
    I have the following problem in SRM7.0 (ext.classic scenario):
    I have a PO and for item 1 the final entry indicator is set. Now the deletion indicator for this line item will be set too. For some reason the final entry indicator gets removed on the UI. After saving this PO to the database everything is fine.
    Why is the final entry indicator removed on the UI when the deletion indicator is set? What would be a good point to start debugging? Those two indicators are placed on different components.
    Kind regards,
    Thomas

    Swetha,
    Find some details on Final Entry in OSS note 1140861:
    1. When FINAL_ENTRY flag is set automatically?
    In case of goods PO the flag will be set automatically if PO quantity is equal to GR quantity and no tolerances were maintained.
    In case of service PO it must be set explicitely and manually. Other restriction in case of service final entry is that the flag cannot be set with zero quantity, note: 1076158.
    2. When FINAL_ENTRY flag is reset automatically?
    It is synchronized to MM PO using scheduled job BBP_GET_STATUS_2.
    Note 718138 enabled FINA_ENTRY read, if it was set in the Backend.
    It is reset, for example, if PO quantity changed and further GR are expected. Notes: 862506, 980694, 812564.
    If FINAL_ENTRY flag is reset unjustified, please apply the enclosed notes.
    3. How is FINAL_ENTRY flag converted in the MM PO?
    SRM final entry indicator FINAL_ENTRY correpsonds to MM delivery completed indicator ELIKZ.
    Since SAP_APPL 470 there was complete delivery indicator EKKO-AUTLF in MM PO header which has no use (also not for GR postings) as of note 31663.
    In SRM PO close/finish is additionally set thru PO status (I1180).
    FINAL_ENTRY flag of SRM/MM PO should be in synch, note: 906151.
    4. Which processes are triggered by FINAL_ENTRY flag?
    PO display (BBP_POC): if all PO items have FINAL_ENTRY key set, it should not be displayed anymore using Purchasing Cockpit.
    Confirmation creation (BBPCF02,BBPSC03): s.a.
    Return delivery (BBPCF02,BBPCF03): after return delivery FINAL_ENTRY flag must be reset to be able to create new confirmations. Notes: 872011, 1031298, 1132666.
    Sourcing (BBPSOCO01): s.a.
    Regards
    Rakesh Palle

  • Internal Table to Excel with Column Header line

    Hello everyone,
    I need to download Internal table data to excel with a column header line.
    My Code is as follows:
    TYPES:  BEGIN OF y_hdr,
            head(30) TYPE c,
            END OF y_hdr.
    Data:  t_hdr TYPE STANDARD TABLE OF y_hdr.
    Fill internal table t_adrcdata
    fill the header table t_hdr
        CALL FUNCTION 'GUI_DOWNLOAD'
          EXPORTING
            filename                      = C:\test.xls
            filetype                        = 'DBF'
        IMPORTING
          TABLES
            data_tab                        =  t_adrcdata
           fieldnames                       =  t_hdr
         EXCEPTIONS
           file_write_error                = 1
           no_batch                        = 2
    This code gives me a row with column headers.
    However they are all truncated after 10 chars.
    The truncation is independent of column data length. Data could be of length 2,5 or 40 but the header always displays upto 10 chars.
    Keeping the filename as test.xls, when I download it in ASC format instead of DBF the headers are of proper length.
    What could I be doing wrong?
    I know this topic has been discussed before but my question is pertaining to DBF Format download. The reason I chose DBF format is because it downloads the data in DB format and does not give in to Excel formatting.
    FOr example in ASC format:
    1, A field of type Char(12) used to get downloaded into excel without the leading zeros. 000012345678 --> 12345678
    2. Date in format dd-MMM-yyyy in a char(11) field used to get downloaded to excel in dd-MMM-yy format.
    When I chose DBF, this issue was resolved. However, the column headers got truncated at 10 chars.
    Please feel free to recommend any other way of downloading to Excel and preserving format if this method is incorrect/ there is a better way.

    Hi,
    Take 'ASC' format for file type.
    But when you declare your internal table to pass for FM you have to create all the fields with char.
    Example:
    data: begin of it_exl occurs 0,
            bukrs(04) type c,
            belnr(10) type c,
            buzei(03) type c,
    end of ut_exl.
    You need to manipulate your date format and other stuff before appending to this internal table.
    Thanks,
    Deepak.

  • Extra header lines appearing in payload after singning and encrypting in Mail Receiver adapter PI 7.31

    Hi,
    We have a mail receiver adapter which is sending out a edi payload as attachment to the external receiver.
    When we send the normal .edi file it is ok.
    But when we sign and encrypt the payload and send it out, the external customer receiver decrypts and validates the message successfully but when their application tries to read the edi payload it finds the extra header lines as below :
      content-id:
    <[email protected]>
    Content-Disposition: attachment; filename=xxxxxxxx.edi Content-Type:
    application/xml
    At their end, their application (DataPower) expects the first three characters of the payload
    (decrypted payload) to be either UNA or UNB.This is how it validates whether the incoming message is an EDI message.
    But it encounters the extra MIME headers in the payload.
    Therefore it gets rejected by DataPower which thinks the content is an
    unknown message type.
    How to suppress the header lines appearing in the payload(after decryption and validation).
    Thanks,
    Guest

    hi,
    try content-type as "text/xml"

  • Multiple Header line in Receiver File adapter

    Hi,
    I have an issue in Receiver File adapter with multiple header lines. I am able to get only 1 header lines in the receiver file but not multiple header lines with 'nl' since it is static in file mode
    [CommunityTag:Header]
    empNo,EmpName,Age
    [CommunityTag]
    I tried with the below in content conversion one as below with no luck
    Root.addHeaderLine=1
    Root.headerLine=[CommunityTag:Header] 'nl' empNo,EmpName,Age 'nl' [CommunityTag]
    Root.fiedSeparator=,
    Root.endSeparator='nl'
    I am getting the Header line as same row as static text.
    Can you advise this.

    Hi Gabriel, I suggest to produce the header lines from additional nodes in the message payload. That means you need to modify the data type of the target message in order to generate an extra structure in the payload. Use constants in message mapping to generate the header column names, e.g.
    <Header>
      <H1>CommunityTag:Header</H1>
      <H2>empNo,EmpName,Age</H2>
      <H3>CommunityTag</H3>
    </Header>
    In content conversion you have to convert the Header row with
    Header.endSeparator='nl'
    You won't need parameter addHeaderLine anymore then.
    Regards, Martin

  • Dynamic header lins in downloaded file.

    hello gurus,
    i have Report.  i am using that to download data from standard tables and custom tables. here i maitained fieldtables name as headerlines in downlaod files.
    that means each file is downloading with fielad lables as like this
    name  age     place
    a        20      Bangalore
    b        21      Hyderabad
    for above format i used GUI_DOWNLOAD FM in my report.I used perametes  filename, fieldnames, datatab in that FM.
    now my client is asking that the header lines should be generated dynamically
    and  english speaking colleague should get english headers a german speaking colleague the german headers.
    That is my problem, please help me it is very urgent

    Hello Hymavathi ,
    this code i am using to doanload data with headers,now my client is asking that header  should be generated dynamically.one more thing is  english speaking colleague should get english headers a german speaking colleague the german headers.
    Code here i used for download data into file 4.
    c_path = p_path.
    concatenate c_path 'STOER_4' into  c_path separated by '\'.
                itab_headbemerk-LABLE = 'Meldung'.
                 APPEND itab_headbemerk.
                itab_headbemerk-LABLE = 'Format'.
                 APPEND itab_headbemerk.
                 itab_headbemerk-LABLE = 'Bemerk'.
                  APPEND  itab_headbemerk.
              CALL FUNCTION 'GUI_DOWNLOAD'
                EXPORTING
                BIN_FILESIZE                    =
                  FILENAME                        = c_path
                 FILETYPE                        = 'DAT'
                APPEND                          = ' '
                WRITE_FIELD_SEPARATOR           = 'X '
                HEADER                          = '00'
                TRUNC_TRAILING_BLANKS           = ' '
                WRITE_LF                        = 'X'
                COL_SELECT                      = ' '
                COL_SELECT_MASK                 = ' '
                DAT_MODE                        = ' '
                CONFIRM_OVERWRITE               = ' '
                NO_AUTH_CHECK                   = ' '
                CODEPAGE                        = ' '
                IGNORE_CERR                     = ABAP_TRUE
                REPLACEMENT                     = '#'
                WRITE_BOM                       = ' '
                TRUNC_TRAILING_BLANKS_EOL       = 'X'
                WK1_N_FORMAT                    = ' '
                WK1_N_SIZE                      = ' '
                WK1_T_FORMAT                    = ' '
                WK1_T_SIZE                      = ' '
                WRITE_EOL                       = ABAP_TRUE
              IMPORTING
                FILELENGTH                      =
                TABLES
                  DATA_TAB                        =  itab_bemerkung[]
                 FIELDNAMES                       = itab_headbemerk[]
    Regards
    Mahesh

Maybe you are looking for

  • MacPro can no longer see Router

    My Mac Pro suddenly lost sight of one of the two wireless networks I have. Thinking it was a router fault I've rebooted that and everything else in sight, but then I checked my MacBook and found that both networks are still visible. Tried again with

  • How to run a Dos batch from SSIS based on SQL table content

    Hi, I have a very simple package with an execute sql task. This task checks if a certain record is present in the DWH or not. This record is always a row in a table where the task checks if the time of the latest data import equals today's date. I wo

  • PDF Printer error from IE8

    I can use the PDF Printer with no problems in any situation except when trying to print to PDF in Windows 7 which uses IE8. I can't create a PDF from any web page at all. The document never gets created and the print queue reports that there was an e

  • How to write data in differt line in .txt file

    Hi all, I am tring to write data on one file using utl_file, the first cursor loop write data on first line of the file using utl_file.put_line(..........................); end the second cusor loop write the data on secion line of the same file usin

  • FIM Password Reset Client Service error 1053 when starting service - what is the minimum permissions set?

    Hi, I've installed Password Reset Client Service on a machine with locked down GPO settings. Now, service, running under NETWORK_SERVICE account doesn't start (Service Control Manager reports error 1053 after waiting 30 seconds for the service to res