Issue in calling webdynpro for loading flat file in IP

Hello,
We have implemented the How-To load flat files in IP paper and we are facing an issue in that. The generated webdynpro runs on ABAP Application server but we need to call this from a Web template which runs on portal server.
These two servers are different and we don't want to hardcode the url in webtemplate as the server names will change in Q & P for webdynpro. Can anyone advise how we can read the ABAP Application server details in WAD may be using javascript and then generate the URL for webdynpro dynamically.
Regards,
Deepti

Hi Deepti,
We have also facing the same challenge. Could you please post the solution in which URL path change dynamically.
I have created the ABAP function module based on the below link.
http://wiki.sdn.sap.com/wiki/display/Snippets/BICustomWebItemtoLaunchanABAPWeb+Dynpro
But not sure how to call the function module using custom web item & java script. Coould you please explain the steps on the same ?
Thanks,
Gopi R

Similar Messages

  • Issue in How-To document "Load flat file using SAPGUI"?

    Hi,
    I'm having an issue with following lines in the How-To document.
    I've a characteristic "CHAR1" which is restricted with multuple values in the planning level.
    after the upload using this document, CHAR1 is being loaded incorrect & during my debugging I've noticed that program is changing CHAR1 values while executing following lines of code.
    It works fine, if i don't have a restriction for CHAR1 at planning level.
    It also works fine, if i restricted CHAR1 with a single value in level.
    It's not working as expected, if i restrict CHAR1 with multiple single values.
    incase of multiple single values restriction, following is happening.
    let's say i load following file & i restricted CHAR1 with values "aaaaa,fffff" in level.
    CHAR1 CHAR2 value
    aaaaa bbbbb 1000
    fffff eeeee 2000
    it's being loaded as follows. Program is changing all values of CHAR1 with 1st value of the restricted multiple values and in this case, it is "aaaaa".
    CHAR1 CHAR2 value
    aaaaa bbbbb 1000
    aaaaa eeeee 2000
    Has any one encountered the same problem?
    Marc,
    Could you please comment on this.
    >>> INSERT
    Set fixed fields
    LOOP AT ito_chasel INTO ls_chasel.
    READ TABLE ls_chasel-t_charng INTO ls_charng INDEX 1.
    IF sy-subrc = 0 AND ls_charng-option = 'EQ'.
    ASSIGN COMPONENT ls_chasel-chanm OF STRUCTURE ls_data-s_chas TO <f>.
    IF sy-subrc = 0.
    <f> = ls_charng-low.
    ENDIF.
    ENDIF.
    ENDLOOP.
    <<< INSERT
    Appreciate any help.
    Hari Immadi
    http://immadi.com
    SEM BW Analyst

    Marc,
    I still need to keep the lines of coding as I've few characteristics restrictied to single values & one characteristic restricted to multiple single values.
    when the coding is commented out, single value restricted characteristics are not getting populated with any value.
    I'm counting the table entries "ls_chasel-t_charng" and if entries are 1, then am activating the code. this seems to be working fine. Do you see any problems/issues with this?
    Hari Immadi
    http://immadi.com
    SEM BW Analyst

  • Issue with Mapping Spaces for Receiver Flat File Fixed Length

    Hi Mapping experts,
    my scenario is receiver FILE (fixed length)
    so if a validation applied on a target field returns false then I need to pass the spaces having the number of characters defined for that field
    example
    targetField length = 8
    using "IF" function to perform validation,   if validation is true  THEN = FIELD
    if validation is false ELSE = "________"    (underscore to represent 8 spaces)
    the problem is the validation is of multiple occurences in one queue and if the "true" statement is on the 6th row, I get _________ which is the value of the 1st row (which is correct because rows 1 to 5 are all false therefore having the value of ELSE which is _______ mapped to it)
    How can I get the value of the TRUE row regardless of what row it is located?
    e.g. IF = input is 5 rows of validation,     TRUE is in the 3rd row,   i will get the 3rd row value
           IF = input is 5 rows of validation,     NO TRUE Value,   return 8 spaces
    right now when i Display Queue values are
    iF:in0          iF:in1          iF:in2          iF:out
    1111          false          [_________]     [_________]
    2222          false                    [_________]
    3333          true                    3333
    4444          false                    [_________]
    5555          false                    [_________]
    In above Queue i only get the value of the 1st row which is ________   --> because my target field occurrences definition in Data Type is 0....1
    if I change Data Type occurrences to 1...unbounded I get 5 target fields generated --> WRONG because target file is fixed field, so only one occurence of that target field is required

    Can you give me the idea of what validation are you using so that anyone can help you with the UDF straightaway
    because you need to have a UDf in place which will iterate the number of times the field occurs and then it will check the entire queue first ,where validation is true and only at the instant it will return the value
    if the entire queue is value it will return the  8 underscores
    I hope this is what you wanted
    regards
    ninad

  • Error handling when loading flate files

    Hi
    We have a Process Chain loading flate files from a server into a ODS. We want to create a routine to avoid errors in the ODS when no files is found.
    The error we want to handle is
    Error 1 when loading external data
    Message no. RSAR234
    We want to handle this error message as OK to avoid red request in the ODS
    Please help
    Kind regards
    Ola Einar Langen

    Hi, and thanks for your hints.
    We ended up with the following codes. It's will mark the prosess chain red (but this is as wanted) but we have implemented that the prosess chain will proceed even with error in the loading process
    The code for the routine implemented in the infopackage in "External data" tab.
    p_filename = 'filename.txt.
    OPEN DATASET p_filename FOR INPUT IN BINARY MODE.
    If file could not be open
    IF SY-SUBRC NE 0.
        p_subrc = SY-SUBRC.
      delete the current request
        CALL FUNCTION 'RSSM_DELETE_REQUEST'.
    ENDIF.
    close the file if OK
    CLOSE DATASET p_filename.
    p_subrc = 0.
    The solution is no OK for us
    Kind regards
    Ola Einar Langen

  • Loading Flat Files

    Hi,
    Iam trying to load flat files into BW. Does any one have a procedure for it. Iam also trying to figure out if we can automate the process if yes please give detail information about it. I would really appreciate if any one could answer to this.
    Thanks,
    Suneel

    Hi,
    If you have Unix authorizations on the app server you can do it yourself. You can create folders by a command called mkdir (not sure if this is the correct syntax). Its simple Unix code.Make sure that the id that is going to execute the job has read, write and execute authorization to these folders. You can take help of a Unix SA or Basis person for this.
    On the BW side, in teh flat file infopackage, you need to give this path for loading the file and then schedule the job as you do the other BW jobs.
    For extractions, you can put the destination path in whatever you are using for extraction, ex ABAP extracts, etc.
    For incoming and outgoing files, you can use SYNCRA or EFUSE or any other mechanism that is used to FTP files to get files into your app server or extract out files to downstream systems. You can again take the help of your Unix /BASIS people here.
    Cheers,
    Kedar

  • Loading flat files located on a server using the Control Center piece ofOWB

    Loading flat files from a server with OWB
    I am successful loading files with OWB, as long as they resided on my workstation in the C:\ drive. I copied the files to a Linux server into directories owned by Oracle/oinstall, permissions on the directories containing the files are 777. I ran the OWB client from the server with the following results:
    Error
    RPE-01013: SQL Loader reported error condition, number 1.
    SQL*Loader: Release 10.2.0.1.0 - Production on Fri Mar 9 11:15:58 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL*Loader-500: Unable to open file (/u00/data/owb_repos1/state_codes.csv)
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: The system cannot find the file specified.
    SQL*Loader: Release 10.2.0.1.0 - Production on Fri Mar 9 11:15:58 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL*Loader-500: Unable to open file (/u00/data/owb_repos1/state_codes.csv)
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: The system cannot find the file specified.
    I tried to load the file using the control center from both the windows client and the server client. Can I do this from either one?
    I can't import the file in the Design Center from the /u00/data/owb_repos1 directory, it does not show up.
    If anyone has received similiar errors from OWB, please tell me how I can fix this. THANKS!!!
    [d97886@owbtest owb_repos1]$ pwd
    /u00/data/owb_repos1
    [d97886@owbtest owb_repos1]$ ls -la
    total 24
    drwxrwxrwx 2 oracle oinstall 4096 Mar 19 12:14 .
    drwxrwxrwx 18 oracle oinstall 4096 Mar 6 16:41 ..
    -rwxrwxrwx 1 oracle garrett 1481 Mar 8 07:32 state_codes.csv
    [d97886@owbtest owb_repos1]$

    Hi
    This is what i do for my flat files (i am loading my tables from the flat files):
    1) Create location for the files in OWB and it should look something like \\path_to_where_the_files_are. Here you should be able to browse to your Linux box and select the location of the files.
    2) Then check whatever you use (i use TOAD) and you should see in owb schema a directory created there which points to the location of the flat file.
    3) then just follow the guide to sample the files etc and you are good to go.
    Basically OWB has to be able to see the files that are on Linux machine.
    Alternatively you can map your Linux share to your windows box (use samba or something) and use it that way.
    Sorry if it is stating the obvious.
    Hope this helps
    Kind Regards
    Vix

  • How to create a dynamic SSIS package for multiple flat file destinations

    Hi,
    I have to create a ssis package which has single data flow task and inside that I have 23 source (sql- select * from - statements)- destination (flat files, 23 distinct) connection.
    Now for each product I have to create separate SSIS package (i.e. if prod=abc then these read select * from abc_tables and 23 abc_ txt files)
    I want to do it dynamically, means only single package and inside that variables will take select * values for each source-dest connection (so i believe 23 variables) and same for destination flat files.
    Let me know. :)
    ANK HIT - if reply helps, please mark it as ANSWER or helpful post

    Sorry It seems you're contradicting yourself. you say I know my source and dest structure and the you're
    asking all I want is to have a dynamic structure
    what does that mean?
    and reading your next sentence
    I want to run a package for 5 products, instead of creating 5 ssis packages with 23 source- dest connection, I would
    like to have one with only 23 source- dest connections 
    What I feel is what you're looking for is to  have a looping structure to loop through each of the 5
    products.
    In that case what you could do is this
    1. Create a object variable in SSIS 
    2. Use a Execute SQL Task to populate the variable with all available products (I think you'll have a master table for that). Set ResultSet property to Full ResultSet and then in ResultSet tab map Object variable to 0 th index
    3. use a ForEachLoop container with ADO .NET recordset enumerator and map to object variable. Create a variable of datatype same as that of Product identifier field to get individual values out
    4. Inside loop create your data flow task with 23 source destination connection. In the query part use a parameter for product field and map it to the variable containing product value to get only data for the product.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Getting error while loading Flat File

    Hello All,
    I am getting error while loading flat file. Flat file is a CSV file.
    Value ',,,,,,,,' of characteristic 0DATE is not a number with 000008 spaces
    Data seprator  |
    Escape sign    ;
    It has 23708 entries , it s loading successfully till 23 665 entries
    Besides when checked in PSA
    for record having entries >23667 has calender day as ,,,,,, where as rest entries are  having date
    Besides when i checked in Flat file ,the total number of rows is 23,667 is there but i wonder why it has got 23,708 in
    RSMO
    Could you please let me know how to correct.
    regards
    path

    Hi,
    For date column you should maintain YYYYMMDD formate Eg: 20090601, kepp cursor on date column and right click and Formate >Custome>make it 00000000 then save teh file as .CSV . First type values on column and do like this formate and save it and without opening it load it. Once you open it you losw 00000000 formate you need to give again the same formate.
    Settings in Infopackage:
    Data Format  = CSV
    Data Separator = ,
    Escape Sign = ;
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/01ed2fe3811a77e10000000a422035/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a6567e07211d2acb80000e829fbfe/content.htm
    Thanks
    Reddy

  • Load Flat File In SAP BI

    Hi Experts,
    Need to load flat file which has month in the columnwise, how to do it.
    Example
    Companycode -- customer--- sales plan for jan sales plan for feb- sales plan for march.
    1000                                       101              100                           150
    1000                                       102              200
    need data to be loaded for doing planning in SAP BI..dnt suggest for BPS or IP.
    Guide me how to load this data to DSO or CUBE.
    I want the data has
    COmpanycode-customer-fiscalperiod---planned sales quantity
    1000                    101             001                   100
    1000                     101           002                     150
    1000                     102           001                      200
    Above is just a sample.
    Thanks,
    Anand

    Hi Araj,
    you can do this 2ways.......
    1. Try to create your provider with keyfigure modal(create key figure for period1, kyf period2, ......) & load it.
    2. Changes your flatfile to char modal(here you will have one kyf)   .
    hope this will help you.
    Thanks,
    vijay.

  • Loading Flat File

    Hi Gurus, I have this scenario, where a ODS A (Auditing) has export datasource that feeds data to another ODS C (Auditing and Posting). ODS B (Posting) is independent and is not physically in the data flow.
    ODS C has update routines that does lookup for some some fields in ODS B. and eventually ODS C has update rules that feed data to CUBE A.
    So ODS C has fields from both ODS A and ODS B.
    I wanted to see if I can load a flat file into directly ODS C, it has a export datasource. I tried, I always get that famous 'InfoSource' error msg. Please guide.
    Please let me know if you need more explanations.
    Thanks.

    hi,
    it's possible to load flat file data directly to cube C. before loading the data to ods c. you have to decline the infoobject's in to ods. mention the flat file infoobjects in to ods. then do the loading. when you r creating the update rules from ods to infosource it's give some keyfigure has no update. ignore the error and activate the update rule.
    one thing i forget to say. when u r updating data from ods c to cube it will cause error, because of the addition of new object 's in to cube. it its show the error, delete the old export data source and recreate it newly.
    hope this help you
    regards
    harikrishna N

  • How to load flat file in BPS through Web-debugging

    Hi,
    We are working on flat file upload in BPS thru guide 'How to load flat file in BPS through Web'. Can some one guide on how to debug the function modules used while uploading the data.
    We have set up the break point in the function modules and also in the BSP page. But when trying to debug while uploading, it is not going to the break point which was set.
    Could you assist in setting up the break point.
    Regards,
    Sreenath
    Message was edited by:
            sreenath reddy

    Hi,
    I  have put an external break-point.
    I have hard coded it in the coding of the function module itself.
    The code is perfectly working. But, when I want to check for the values of the variables in the F.M during runtime, the break-point is not triggering. Any ideas??
    Regards,

  • Interface used in loading flat file data into bw

    what is the interface used in loading flat files into the bw system.

    HI Flat file load is its own interface.  It leverages the S-API (Service API), the standard interface that is used to load data in the BI system.
    Start from this point:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/03450525ee517be10000000a1553f6/frameset.htm
    Thanks for any points you choose to assign.
    Regards -
    Ron Silberstein
    SAP

  • Uregnt - How to Load Flat File into BW-BPS using Web Browser

    Hello,
    We have followed the 'How to Load Flat File into BW-BPS using Web Browser' guide to build BSP web front-end to upload flat file.  Everything works great but we have a requirement to populate the Planning Area Variables based on BSP drop down list with values.  Does anyone know how to do this?  We have the BSP coded with drop down list all we need to do now is populate variables.  We can populate the variables through the planning level (hardcoded) but we need to populate them through the web interface.
    Thanks,
    Gary

    Hello Gary,
    We have acheived the desired result by not too a clean method but it works for us.
    What we have done is, we have the link to load file in a page where the variables can be input. The user would then have the option to choose the link to load a file for the layout in that page.
    By entering the variable values in the page, we are able to read the variables for the file input directly in the load program.
    Maybe this approach might help.
    Sunil

  • Load flat file into oracle with SQL Loader

    Hi All,
    Oracle 9i
    I want to load flat file into oracle with the help of sqlloader but I want to skip some columns from flat file.
    Can anyone tell me how can we skip column from flat file , I can’t open flat file into excel as CSV due to large volume
    Does anyone has any solution for the same.
    Umesh Goel

    Filler can be use when we want to skip database table column or we want to put null in database table column
    but if we have 10 column in flat file and we want to load 1,2,5,7 number column from flat file
    then I think filler will not work
    If yes then plz let me know.
    thx
    UG

  • Load Flat File from App Server

    HI, all.
    I want load flat file from appliation server. I created CSV file and loaded it on app. server with FM ARCHIVEFILE_CLIENT_TO_SERVER. After I created datasource and tried load data in the infocube. In this procedure I encountered with two problem
    1. When I look file in AL11, I doesn't see cyrillic symbols, instead this symbols I see #.
    2. When I try load data with data source, I get exception RS_EXCEPTION 000 "File don't open"
    Anybody can help me resolve this problem?
    wbr, Fanil.

    Hi, kodanda pani KV.
    2. File is was closed.
    1. Can me you clearly explain what you meen?
    wbr, Fanil

Maybe you are looking for

  • I forgot my Password of Media Folder App. Is there anyway to recover the Password

    Hi, I forgot my Password of Media Folder Application. Is there anyway to receover the Password or a fresh installation is required ??

  • Sync cable not working

    I know that if you go to an Apple store with a broken pair of headphones they will replace them for you. I was wondering does this apply to the Sync cable?? Thanks for the help in advanced.

  • Doubt in ale/idocs urjent

    hi, i have a doubt in ALE/IDOCS requirement is add a field to segment in tcode BD53(reduce message type) after adding a field. what configuration i need to do.

  • Create widgets

    how to create new widgets in muse widgets library.

  • Playing .wmv files on orig iPad

    How can i play  .wmv files on my orig iPad?  Looks like video files with .wmv file types change to QuickTime, but, will not then open and play. Is there a work-around for this?  Thanks.