How to get multiple header lines dynamically and also data hierarchically using ALV

Hi experts,
My requirement is shown below.. I neet to compare prices of service RFQs. So i design as below..
I want to get RFQ number ,Vendor code and vendor name in ALV header and also other headings which static. I think dynamic table is the best way to load RFQ numbers to header.. But problem is i'm unable to load two lines dynamically using ALV.
CALL METHOD cl_alv_table_create=>create_dynamic_table
     EXPORTING
       i_style_table             = 'X'
       it_fieldcatalog           = gt_dyn_fcat
     IMPORTING
       ep_table                  = gt_dyn_table
     EXCEPTIONS
       generate_subpool_dir_full = 1
       OTHERS                    = 2.
I use this function and pass RFQ no and vendor code in two rows but it output gt_dyn_table in same row.. How to print them as given image???
Then in data I want to get service items and according to the external service number divide them to groups and get sub totals and also finally total of all sub categories to compare each RFQs price to  compare.. There i think ALV hierarch can use. but not sure I can use with dynamic table(in header use it).
What is thee best way to get the output in my image..??
Thanks..
Pavi

Hi experts,
My requirement is shown below.. I neet to compare prices of service RFQs. So i design as below..
I want to get RFQ number ,Vendor code and vendor name in ALV header and also other headings which static. I think dynamic table is the best way to load RFQ numbers to header.. But problem is i'm unable to load two lines dynamically using ALV.
CALL METHOD cl_alv_table_create=>create_dynamic_table
     EXPORTING
       i_style_table             = 'X'
       it_fieldcatalog           = gt_dyn_fcat
     IMPORTING
       ep_table                  = gt_dyn_table
     EXCEPTIONS
       generate_subpool_dir_full = 1
       OTHERS                    = 2.
I use this function and pass RFQ no and vendor code in two rows but it output gt_dyn_table in same row.. How to print them as given image???
Then in data I want to get service items and according to the external service number divide them to groups and get sub totals and also finally total of all sub categories to compare each RFQs price to  compare.. There i think ALV hierarch can use. but not sure I can use with dynamic table(in header use it).
What is thee best way to get the output in my image..??
Thanks..
Pavi

Similar Messages

  • Service Contract header, line level and party data report.

    Using 11.5.9.
    In Service Contracts Module, trying to create a query that extracts header data, party data (role and name) and the name of the service from the lines/account tab, ie Full Service, Gold Service etc...
    Created query that retrieve Service Contract header and party data, but when I try to join to mtl_system_items_b, I am getting a product description instead of the name of the service. I also include code below this that pulls in the lines from the lines/account tab which captures line 1.1 and has the correct service name. Note this code does not have the header data and party data built into it, but I am willing to modify either piece of code to create the need join and get the data returned.
    SELECT
    distinct (okhb.contract_number)     contract_number,
    nvl(okhb.contract_number_modifier,'-') contract_modifier,
    okhb.sts_code,
    okhb.start_date     start_date,
    okhb.end_date          end_date,
    okprb.rle_code ROLE,
    msib.description,
    (msib.segment1) item_number,
    hp.party_name
    FROM
    hz_party_sites ps,
    hz_party_sites ps9,
    hz_locations l,
    hz_locations l9,
    hz_cust_acct_sites_all ca,
    hz_cust_acct_sites_all ca9,
    hz_cust_site_uses_all cs,
    hz_cust_site_uses_all cs9,
    hz_parties hp,
    hz_parties hp9,
    okc_rules_b orb,
    okc_rules_b orb9,
    okc_rule_groups_b ogb,
    okc_k_headers_b okhb,
    okc_k_party_roles_b okprb,
    okc_k_lines_b oklb,
    ra_customer_Trx_all rcta,
    mtl_system_items_b msib
    WHERE
    PS.LOCATION_ID = L.LOCATION_ID AND
    ps9.location_id = l9.location_id and
    L.CONTENT_SOURCE_TYPE = 'USER_ENTERED' AND
    l9.content_source_type = 'USER_ENTERED' and
    PS.PARTY_SITE_ID = CA.PARTY_SITE_ID AND
    ps9.party_site_id = ca9.party_site_id and
    CA.CUST_ACCT_SITE_ID = CS.CUST_ACCT_SITE_ID and
    ca9.cust_acct_site_id = cs9.cust_acct_site_id and
    ps9.party_id = hp9.party_id and
    ps.party_id = hp.party_id and
    cs.site_use_id=orb.object1_id1 and
    cs9.site_use_id = orb9.object1_id1 and
    orb.jtot_object1_code in ('OKX_SHIPTO'/*,'OKX_BILLTO'*/) and
    orb9.jtot_object1_code = 'OKX_BILLTO' and
    orb.rgp_id = ogb.id and
    orb9.rgp_id = ogb.id and
    okhb.id = okprb.chr_id and
    msib.inventory_item_id = orb.object1_id1 and
    okhb.contract_number = rcta.interface_header_attribute1 and
    nvl(okhb.contract_number_modifier,'-') = nvl(rcta.interface_header_attribute2,0) and
    ogb.chr_id = okhb.id and
    okhb.sts_code = 'ACTIVE' and
    okhb.contract_number in ('VO-7001','VO-7078') and
    okprb.rle_code in ('CUSTOMER','END_USER')
    --oklb.line_number||'.'||oklbs.line_number = '1.1'
    order by okhb.contract_number;
    select
         to_char(oklb.line_number)||'.'||to_char(oklbs.line_number) subline_number,
    okhb.contract_number,
         okhb.sts_code,
    (msi.segment1) item_number,
         msi.description,
         okcis.number_of_items,
    round(months_between(element.date_completed , element.date_start))     billable_days,
         oklbs.start_date          start_date,
         oklbs.end_date          end_date,
         to_date(oklbs.attribute1, 'YYYY/MM/DD HH24:MI:SS')          warranty_start_date,
         to_date(oklbs.attribute2, 'YYYY/MM/DD HH24:MI:SS')          warranty_end_date,
         oklbs.attribute4 sales_order
    from oks_level_elements_v element,
    okc_rules_v rule,     
    okc_rule_groups_v grp,
    oks_bill_cont_lines_v      obcl,
         okc_k_lines_v          oklbs,
         okc_k_items_v               okcis,
         mtl_system_items_vl     msi,
         okc_k_items_v               okci,
         okc_k_lines_v           oklb,
         okc_k_headers_v          okhb,
    OKS_BILL_TRANSACTIONS_V obtrx
    where trunc(element.date_start) = trunc(obcl.date_billed_from) and
    rule.id = element.rul_id and
    rule.rgp_id = grp.id and
    grp.rgp_type = 'KRG' and
    grp.rgd_code = 'SVC_K' and
    grp.cle_id = oklbs.id and
    oklbs.cle_id     = oklb.id      and
         oklbs.lse_id     <> '2'      and
    okhb.sts_code = 'ACTIVE' and
         msi.inventory_item_id = okci.object1_id1 and
         msi.organization_id = 3      and
         okcis.cle_id          = oklbs.id and
         okci.cle_id          = oklb.id and
         obcl.cle_id           = oklb.id      and
         oklb.chr_id           = okhb.id      and
         obcl.btn_id = obtrx.id and
         okhb.contract_number like 'VO-7078' and
    oklb.line_number||'.'||oklbs.line_number = '1.1'
    order by okhb.contract_number, to_number(oklb.line_number), to_number(oklbs.line_number), oklbs.id;
    Code that pulls in the correct description as seen at line level in Service Contracts Module.
    OUTPUT of this query
    CONTRACT_NUMBER     STS_CODE     ITEM_NUMBER     DESCRIPTION
    XX-XXXX     ACTIVE     FULL SERVICE     FULL SERVICE

    I guess you are looking for coverage name. You need to add two more table to join with items like as in
    select inventory_item_id,a.name,a.item_description from mtl_system_Items_b c,okc_k_lines_tl a,okc_k_lines_b b
    where organization_id=<organization_id>
    and contract_item_type_code in ('SERVICE','WARRANTY')
    and a.id=b.id
    and b.chr_id=-1
    and coverage_schedule_id=b.id;
    Thanks
    Nagamohan

  • Header, Line Item and Cache Techniques Using Hashed Tables

    Hi,
    How can I work with header, line item, and a cache techniques using hashed tables?
    Thanks,
    Shah.

    Hi,
    Here is an example to clarify the ideas:
    In general, every time you have a header-> lines structure you have a unique key for the lines that has at least header key plus one or more fields. I'll make use of this fact.
    I'll try to put an example of how to work with header -> line items and a cache technique using hashed tables.
    Just suppose that you need a list of all the material movements '101'-'901' for a certain range of dates in mkpf-budat. We'll extract these fields:
    mkpf-budat
    mkpf-mblnr,
    mseg-lifnr,
    lfa1-name1,
    mkpf-xblnr,
    mseg-zeile
    mseg-charg,
    mseg-matnr,
    makt-maktx,
    mseg-erfmg,
    mseg-erfme.
    I'll use two cache: one for maintaining lfa1 related data and the other to maintain makt related data. Also I'll only describe the data gathering part. The showing of the data is left to your own imagination.
    The main ideas are:
    1. As this is an example I won't use inner join. If properly desingned may be faster .
    2. I'll use four hashed tables: ht_mkpf, ht_mseg, ht_lfa1 and ht_makt to get data into memory. Then I'll collect all the data I want to list into a fifth table ht_lst.
    3. ht_mkpf should have (at least) mkpf's primary key fields : mjahr, mblnr.
    4. ht_mseg should have (at least) mseg primary key fields: mjahr mblnr and zeile.
    5. ht_lfa1 should have an unique key by lifnr.
    6. ht_makt should have an unique key by matnr.
    7. I prefer using with header line because makes the code easier to follow and understand. The waste of time isn't quite significant (in my experience at least).
    Note: When I've needed to work from header to item lines then I added a counter in ht_header that maintains the count of item lines, and I added an id in the ht_lines so I can read straight by key a given item line. But this is very tricky to implement and to follow. (Nevertheless I've programmed it and it works well.)
    The data will be read in this sequence:
    select data from mkpf into table ht_mkpf
    select data from mseg int table ht_mseg having in count all the data in ht_mkpf
    loop at ht_mseg (lines)
    filter unwanted records
    read cache for lfa1 and makt
    fill in ht_lst and collect data
    endloop.
    tables
    tables: mkpf, mseg, lfa1, makt.
    internal tables:
    data: begin of wa_mkpf, "header
    mblnr like mkpf-mblnr,
    mjahr like mkpf-mjahr,
    budat like mkpf-budat,
    xblnr like mkpf-xblnr,
    end of wa_mkpf.
    data ht_mkpf like hashed table of wa_mkpf
    with unique key mblnr mjahr
    with header line.
    data: begin of wa_mseg, " line items
    mblnr like mseg-mblnr,
    mjahr like mseg-mjahr,
    zeile like mseg-zeile,
    bwart like mseg-bwart,
    charg like mseg-charg,
    matnr like mseg-matnr,
    lifnr like mseg-lifnr,
    erfmg like mseg-erfmg,
    erfme like mseg-erfme,
    end of wa_mseg,
    data ht_mseg like hashed table of wa_mseg
    with unique key mblnr mjahr zeile
    with header line.
    data: begin of wa_lfa1,
    lifnr like lfa1-lifnr,
    name1 like lfa1-name1,
    end of wa_lfa1,
    data ht_lfa1 like hashed table of wa_lfa1
    with unique key lifnr
    with header line.
    data: begin of wa_makt,
    matnr like makt-matnr,
    maktx like makt-maktx,
    end of wa_makt.
    data: ht_makt like hashed table of wa_makt
    with unique key matnr
    with header line.
    result table
    data: begin of wa_lst, "
    budat like mkpf-budat,
    mblnr like mseg-mblnr,
    lifnr like mseg-lifnr,
    name1 like lfa1-name1,
    xblnr like mkpf-xblnr,
    zeile like mseg-zeile,
    charg like mseg-charg,
    matnr like mseg-matnr,
    maktx like makt-maktx,
    erfmg like mseg-erfmg,
    erfme like mseg-erfme,
    mjahr like mseg-mjahr,
    end of wa_mseg,
    data: ht_lst like hashed table of wa_lst
    with unique key mblnr mjahr zeile
    with header line.
    data: g_lines type i.
    select-options: so_budat for mkpf-budat default sy-datum.
    select-options: so_matnr for mseg-matnr.
    form get_data.
    select mblnr mjahr budat xblnr
    into table ht_mkfp
    from mkpf
    where budat in so_budat.
    describe table ht_mkpf lines g_lines.
    if lines > 0.
    select mblnr mjahr zeile bwart charg
    matnr lifnr erfmg erfme
    into table ht_mseg
    from mseg
    for all entries in ht_mkpf
    where mblnr = ht_mkpf-mblnr
    and mjahr = ht_mjahr.
    endif.
    loop at ht_mseg.
    filter unwanted data
    check ht_mseg-bwart = '101' or ht_mseg-bwart = '901'.
    check ht_mseg-matnr in so_matnr.
    read header line.
    read table ht_mkpf with table key mblnr = ht_mseg-mblnr
    mjahr = ht_mseg-mjahr.
    clear ht_lst.
    note : this may be faster if you specify field by field.
    move-corresponding ht_mkpf to ht_lst.
    move-corresponding ht_mseg to ht_lst.
    perform read_lfa1 using ht_mseg-lifnr changing ht_lst-name1.
    perform read_makt using ht_mseg-matnr changing ht_lst-maktx.
    insert table ht_lst.
    endloop.
    implementation of cache for lfa1.
    form read_lfa1 using p_lifnr changing p_name1.
    read table ht_lfa1 with table key lifnr = p_lifnr
    transporting name1.
    if sy-subrc <> 0.
    clear ht_lfa1.
    ht_lfa1-lifnr = p_lifnr.
    select single name1
    into ht_lfa1-name1
    from lfa1
    where lifnr = p_lifnr.
    if sy-subrc <> 0. ht_lfa1-name1 = 'n/a in lfa1'. endif.
    insert table ht_lfa1.
    endif.
    p_name1 = ht_lfa1-name1.
    endform.
    implementation of cache for makt
    form read_makt using p_matnr changing p_maktx.
    read table ht_makt with table key matnr = p_matnr
    transporting maktx.
    if sy-subrc <> 0.
    ht_makt-matnr = p_matnr.
    select single maktx into ht_matk-maktx
    from makt
    where spras = sy-langu
    and matnr = p_matnr.
    if sy-subrc <> 0. ht_makt-maktx = 'n/a in makt'. endif.
    insert table ht_makt.
    endif.
    p_maktx = ht_makt-maktx.
    endform.
    Reward points if found helpfull...
    Cheers,
    Siva.

  • Im trying to make a poster size collage of pictures and also want to put a story in the middle of the poster. I just can't understand how to get multiple pictures and how to arrange them around the poster?

    Im trying to make a postersize picture collage and I don't know how to get multiple pictues arranged. Someone said I can use the layer option. But Im just not getting it. Please help!

    Click File >> Open and select all of your photos
    That will add them to the project bin
    Then select File >> New >> Blank File
    Select background color White (or whatever you prefer) and add your width and height for your final image (set resolution 72 for web usage or 240 to 300 for printing) then click OK
    In the project bin click your first photo and drag it up into the main window on top of your new background.
    Click on the move tool and click in the center of the photo and drag to arrange it where you want on the background - you can hold down the shift key to maintain original proportions whilst dragging the corner handles of the bounding box to get the size you want.
    Do the same with the next photo (drag it up into the main window) and use the move tool to position it. Then continue with each image.
    Finally Click Layer >>Flatten image and save as jpeg. (Save as PSD if you want to preserve the layers for editing again)
    N.B. as you add images they get dropped in the center. So you need to use the move tool to drag them apart. Click in the middle of one and move it around, and then the others until you get them positioned as you want.
    When you click again with the move tool a bounding box appears around the image and you can drag out the corner handles to re-size your photos. Hold down the shift key when dragging the corner handle and that will maintain the proportions of the original.
    Finally click Layer >>Flatten Image and save your collage - you may then want to use the crop tool to cut away any surplus white canvas, and then re-save. Click the T tool to add text.

  • Multiple Header Line In HIERSEQ ALV

    Hi Experts,
    Please guide me how to get miltile Header lines in the HIERSEQ Alv , My requirment it develop a genledger for customers in which the Address of customer should be in 3 or four lines then followed by its balances. Please suggest me ...
    Regards,
    Prakash

    Hi,
    You need to pass the Row number to the filed catlog in order to display multiple header lines.
    For example,
       wl_fieldcat-row_pos = 1.  " This field will be displayed in first row
      wl_fieldcat-col_pos     = 1.
      wl_fieldcat-fieldname   = 'VBELN'.
      wl_fieldcat-tabname     = 'T_VBAK'.
      wl_fieldcat-outputlen   = 20.
      Append wl_fieldcat to t_fieldcat.
      wl_fieldcat-row_pos = 2.    " This field will be displayed in Second row
      wl_fieldcat-col_pos     = 1.
      wl_fieldcat-fieldname   = 'VBELN'.
      wl_fieldcat-tabname     = 'T_VBAK'.
      wl_fieldcat-outputlen   = 20.
      Append wl_fieldcat to t_fieldcat.
    Regards,
    Rajneesh

  • Flat file having multiple header lines , how to separate the same and pushit into my intrnal table

    Hi Guys,
                    I got an issue , My flat file having multiple header lines
    TPS27RPR  MOME                                      THRIFT (SAVING) PLAN SYSTEM                                           Page    2
    09:54 05 JAN 2014                          List of Contributors w/Company Contributions                           Phase DAY Unit TRE
    Company No: xxxxxxxx - xxxxxxxxxxxxx.
                                                                            Employee/       Employee/
    Employee Full Name/                                                       Company         Company                        Allocation
    Number  ID Number                           PS  PN  End Date        Contribution          Profit        Total Balance   Percentage
    some lines of data and again
    TPS27RPR  MOME                                      THRIFT (SAVING) PLAN SYSTEM                                           Page    2
    09:54 05 JAN 2014                          List of Contributors w/Company Contributions                           Phase DAY Unit TRE
    Company No: xxxxxxxx - xxxxxxxxxxxxx.
                                                                            Employee/       Employee/
    Employee Full Name/                                                       Company         Company                        Allocation
    Number  ID Number                           PS  PN  End Date        Contribution          Profit        Total Balance   Percentage
    in this case how could I separate the header lines from the flat file and update the details to my internal table.
    kindly help me on this issue.
    Thanks and regards,
    M.S.Amirtharajvijay.

    Hi Amirthraj,
    If the flat file is static (if the content within it is same for all) then use the offset concept. First get the contents of the flat file into an internal table and later find the field that has to be in final internal table within the line, calculate the offset for the line and get the value into an workarea. Finally modify/append the work area into an internal table. Also wait for other experts answers for any other hassle free way to achieve the requirement.
    With Regards,
    Giriesh M

  • HT5622 how can I find what the charges aree to my credit card from the apple store? I get multiple charges every month and don't know what they are for...I want to cancel whatever is being charged to me...how do I do it?

    how can I find what the charges aree to my credit card from the apple store? I get multiple charges every month and don't know what they are for...I want to cancel whatever is being charged to me...how do I do it?

    Have a look at this link
    http://support.apple.com/kb/ht2727

  • Check on multiple header line data.

    Hi All,
    I have one requirement where i need to check the multiple accounting document header line.
    Kindly suggest how to check the above requirement.
    Thanks in Advance!
    Regards,
    Chirag

    Hi All,
    Sorry for the short description.
    Currently i am validating only the one header line data of expense spread sheet file with vendor. but the now requirement has changed and there can be a multiple header line item also.
    So i need to check for each header line item whether vendor already exist or not.
    I am able to check it for 1 header line item, Kindly suggest how to check it for multiple header line item.
    Thankyou.
    Chirag

  • I updated to yosemite and now if someone is using imessage and sends a text message to my phone it doesn't show up on my phone but does on my computer.  I don't want messages on my computer!  How do I get this to go away and work like it used to?

    I updated to yosemite and now if someone is using imessage and sends a text message to my phone it doesn't show up on my phone but does on my computer.  I don't want messages on my computer!  How do I get this to go away and work like it used to?

    Follow the instructions under the heading "How to unlink a phone number" on this page.

  • How to get multiple selected fields in list

    Hello all,
    I am trying to get multiple selected value from a list but i dont know how to get multiple selected fields from a list though AS3.
    Actually i want to pass the selected fields to php, so for that i need to get the selections and send to php.
    Thankx..

    i want to put the selected fields of list in an array through AS3....
    actually......i figured it out how to do that...........
    Its simple......use
    list.selectedItems[index]
    and to get the number of items selected......
    list.selectedItems.length
    simple.....

  • How to create multiple schedule lines for configurable products

    Hi -
    We have enabled variant configuration and would like to have multiple scheudule lines created , but it seems that only one line is avaialble, is there any way to configure the use of multiple schedule lines? 
    Note - we are not using KMAT material types, rather triggering a unique kit compoments within Sales BOM.
    We have been able to make the necessary adjustments to allow the creation of the Scheduling agreement and have the BOM explode correctly, but just am not able to trigger multiple sched lines.
    thanks
    Bill

    Your context node shall contain all these fields like country,city,etc as different attributes.so in your view configuration,add all these fields whatever you require from the AVAILABLE FIELDS section to the DISPLAYED FIELDS section.NOw all these attributes would be added in diff rows.What you need to do is,select the first attribute,lets say COUNTRY,click on this attribute and then on the buttn SHOW FIELD PROPERTIES.Thsi will show you the label name etc.Here you change the label name to NATIONALITY.Also ,it will show you the row no,cloumn span of the field and column span of the label.You need to reduce the column span of the field value.Ie if the column span is from D TO H,reduce it from D TO F.Now goto the next attribute eg CITY and in the same way,goto the attribute properties.Here ,There is a check box SHOW LABEL,uncheck this,and now goto the row no and the cloumn span.Make the row no same as that of the COUNTRY FIELD.The column span should howevrbe statring from where the column span of country field ended.Ie Teh column apsn of counrty field ended at F .So for CITY,the column span should start from G to amybe H.Now this is how you need to accomodate the other fields also in the same row,by changing the row no and column span in the field properties.
    Suvidha

  • How to get multiple records using fn-bea:execute-sql()

    Hi,
    I created Proxy service(ALSB3.0) to get records from DB table. I have used Xquery function(fn-bea:execute-sql()). Using simple SQL query I got single record, but my table having multiple records. Please suggest how to get multiple records using fn-bea:execute-sql() and how to assign them in ALSB variable.
    Regards,
    Nagaraju
    Edited by: user10373980 on Sep 29, 2008 6:11 AM

    Hi,
    Am facing the same issue stated above that I couldnt get all the records in the table that am querying in the Proxyservice.
    For example:
    fn-bea:execute-sql('EsbDataSource', 'student', 'select Name from StudentList' ) is the query that am using to fetch the records from the table called StudentList which contains more than one records like
    Id Name
    01 XXX
    02 YYY
    03 ZZZ
    I tried to assign the result of the above query in a variable and while trying to log the variable, I can see the below
    <student>
    <Name>XXX</Name>
    </student>
    I want to have all the records from my table in xml format but it's not coming up. I get the value only from the first row of my table.
    Please suggest.
    regards,
    Venkat

  • 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

  • How to get the header to downloading fine

    Hi,
    i am downloading xl file for which i need to get the header.i doesnt no the fieldnames.how to get the header for entire file.

    Hi,
    For this please create an internal table for field names and pass it to FM' WS_DOWNLOAD'.
    Sample code:
    * internal table for headers
    DATA : BEGIN OF it_fieldnames OCCURS 0,
           name(100),
           END OF it_fieldnames.
    g_fname = 'C:\Documents and Settings\kut3kor\Desktop\kar4.xls'.
    *populate the internal table
    it_fieldnames-name = 'Material Number'.
    APPEND it_fieldnames.
    it_fieldnames-name = 'Material type'.
    APPEND it_fieldnames.
    it_fieldnames-name = 'Material group'.
    APPEND it_fieldnames.
    CALL FUNCTION 'WS_DOWNLOAD'
    EXPORTING
    *   BIN_FILESIZE                  = ' '
    *   CODEPAGE                      = ' '
       FILENAME                      = g_fname
       FILETYPE                      = 'DAT'
    *   MODE                          = ' '
    *   WK1_N_FORMAT                  = ' '
    *   WK1_N_SIZE                    = ' '
    *   WK1_T_FORMAT                  = ' '
    *   WK1_T_SIZE                    = ' '
    *   COL_SELECT                    = ' '
    *   COL_SELECTMASK                = ' '
    *   NO_AUTH_CHECK                 = ' '
    * IMPORTING
    *   FILELENGTH                    =
      TABLES
        data_tab                      = gt_mara[]
       FIELDNAMES                    = it_fieldnames[]
    * EXCEPTIONS
    *   FILE_OPEN_ERROR               = 1
    *   FILE_WRITE_ERROR              = 2
    *   INVALID_FILESIZE              = 3
    *   INVALID_TYPE                  = 4
    *   NO_BATCH                      = 5
    *   UNKNOWN_ERROR                 = 6
    *   INVALID_TABLE_WIDTH           = 7
    *   GUI_REFUSE_FILETRANSFER       = 8
    *   CUSTOMER_ERROR                = 9
    *   OTHERS                        = 10
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards,
    Karuna.

  • Does anyone know how to get a white line across text like the USA basketball logo?

    does anyone know how to get a white line across text like the USA basketball logo?

    Draw the shape which is to be knocked out (a line in the example) in a layer above the logo. The colour doesn't matter because it will be made invisible.
    Double-click in the space to the right of the layer's name in Layers panel to open its Layer Style window where advanced blending can be modified.
    Set Fill Opacity to zero and Knockout to "Deep" or "Shallow" depending on whether the knockout should be limited to a containing Group.

Maybe you are looking for

  • IOS 7.06 my photos app always crashing

    iOS 7.06 my photos app always crashing, how can i fix it ?

  • ADF calling asyc webservice

    Hi, Is it possible to call a async web service from ADF UI , and continue the user UI operations and once the response comes from async call, i need to show a popup saying success or failure. thanks

  • Blue tooth sinc ipod to ipad

    I have the new Ipad air and i would like to be able to sinc my ipod to I tunes for downloads from it. Since there is no usb plug in I am not sure how to do this. My Ipod has blue tooth function on it.

  • BaCopyFileProgress with callback not working with D11.5?

    I did a project last year using D10 & Buddy API 3.76 with baCopyFileProgress (callback handler enabled) and everything worked. I've done other projects since using D11.5, Buddy API 3.76 and baCopyFile (no callback) and everything worked. Now I'm upda

  • Sony HandyCam HDR-XR200

    Hi All, I just bought a sony handycam and found out that it is not compatible with my Mac (OS X 10.4.4). I was told, however, that the camera IS compatible with iMovie 2009. iMovie 2009 is too advanced for my Mac, so I would need to buy a new iMac. I