Transfer amount fields to app. server using fieldsymbol

Hi,,
I am facing a strange problem while using fieldsymbols .Here is my requirement.
I have a custom table records ( which also contains amount fields ) in fieldsymbol , which i need to transfer to application server . But when i am trying to transfer to file , using  Transfer <final> to p_file , amount fields are not getting converted to characted format and program is going to shortdump. After that i tried assigning this <final> to another fieldsymbol , of type c (using casting ) , records were able to transfer to file but the amount fields are not being converted to readable format (i.e unknown symbols , like #p## ) .
I even tried SAP_CONVERT_TO_TEX_FORMAT to convert the contents to text format but i am unable to transfer with fixed length to application server file..
As it is a dynamic program , i am using fieldsymbols instead of internal tables.
Can anybody please help me transferring amounts also to appl .server file , with fixed length..
Thanks in advance..

Hi
The <field symbols> doesn't change the format of the field, so you need to convert it in char format before transfering it to file.
DATA: WA TYPE STRING.
MOVE <FINAL> TO STRING.
TRANSFER WA TO P_FILE.
Max

Similar Messages

  • What does the Sun App Server Use as a web container?

    Does the Sun App Server use tomcat? Or is it some derivative of Tomcat?
    thanks for the info.

    Thanks.
    Just to clarify for any others who are interested, heres the deal:
    1) Package the static HTML files using the 'deploytool' (See Packaging Web Modules in Chapter 3 of The J2EE(TM) 1.4 Tutorial). This creates a .war file with the required deployment descriptors(?); anyway it creates a bunch of .xml files that have the right data in them.
    2) Take the .war file and drop it in the 'quick deploy' icon (copies the .war file to the 'autodeploy' directory for the App Server instance).
    Anyhow thats the drill.
    Good luck.

  • Transfer a file from App Server to a FTP site.

    Hi, Abapers.
    I need your help. Probably, this topic has already been posted in a similar way, but we need an answer to solve our problem.
    We have to sent a PDF file from a directory of our app server (AIX) to a FTP directory... which would the FM sequence we should use to goal it?
    Best Regards.

    Hi Santiago,
    create fm to send file from APP server to FTP site.
    if you want to Post file from desktop to Appl use Transaction - CG3Y
    if you want to Post file from Appl to Desktop use Transaction - CG3Z
    copy the code below....
    *  Author: Prabhudas                            Date:  02/21/2006  *
    *  Name: Z_FTP_FILE_TO_SERVER                                          *
    *  Title: FTP File on R/3 Application Server to External Server        *
    *"*"Local Interface:
    *"  IMPORTING
    *"     REFERENCE(DEST_HOST) TYPE  C
    *"     REFERENCE(DEST_USER) TYPE  C
    *"     REFERENCE(DEST_PASSWORD) TYPE  C
    *"     REFERENCE(DEST_PATH) TYPE  C
    *"     REFERENCE(SOURCE_PATH) TYPE  C
    *"     REFERENCE(FILE) TYPE  C
    *"     REFERENCE(BINARY) TYPE  CHAR1 OPTIONAL
    *"     REFERENCE(REMOVE_FILE) TYPE  CHAR1 OPTIONAL
    *"  TABLES
    *"      FTP_SESSION STRUCTURE  ZMSG_TEXT OPTIONAL
    *"  EXCEPTIONS
    *"      CANNOT_CONNECT
    *"      SOURCE_PATH_UNKNOWN
    *"      DEST_PATH_UNKNOWN
    *"      TRANSFER_FAILED
    *"      COMMAND_FAILED
      DATA: w_password     TYPE zftppassword,
            w_length       TYPE i,
            w_key          TYPE i                  VALUE 26101957,
            w_handle       TYPE i,
            w_command(500) TYPE c.
      REFRESH ftp_session.
    * Scramble password (new Unicode-compliant routine)
      w_length = STRLEN( dest_password ).
      CALL FUNCTION 'HTTP_SCRAMBLE'
        EXPORTING
          SOURCE      = dest_password
          sourcelen   = w_length
          key         = w_key
        IMPORTING
          destination = w_password.
    * Connect to FTP destination (DEST_HOST)
      CALL FUNCTION 'FTP_CONNECT'
        EXPORTING
          user            = dest_user
          password        = w_password
          host            = dest_host
          rfc_destination = 'SAPFTPA'
        IMPORTING
          handle          = w_handle
        EXCEPTIONS
          not_connected   = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
          RAISING cannot_connect.
      ENDIF.
    * Optionally, specify binary file transfer
      IF binary = 'X'.
        w_command = 'bin'.
        CALL FUNCTION 'FTP_COMMAND'
          EXPORTING
            handle        = w_handle
            command       = w_command
          TABLES
            data          = ftp_session
          EXCEPTIONS
            command_error = 1
            tcpip_error   = 2.
        IF sy-subrc <> 0.
          CONCATENATE 'FTP command failed:' w_command
            INTO w_command SEPARATED BY space.
          MESSAGE ID 'ZW' TYPE 'E' NUMBER '042'
              WITH w_command
              RAISING command_failed.
        ENDIF.
      ENDIF.
    * Navigate to source directory
      CONCATENATE 'lcd' source_path INTO w_command SEPARATED BY space.
      CALL FUNCTION 'FTP_COMMAND'
        EXPORTING
          handle        = w_handle
          command       = w_command
        TABLES
          data          = ftp_session
        EXCEPTIONS
          command_error = 1
          tcpip_error   = 2.
      IF sy-subrc <> 0.
        CONCATENATE 'FTP command failed:' w_command
          INTO w_command SEPARATED BY space.
        MESSAGE ID 'ZW' TYPE 'E' NUMBER '042'
            WITH w_command
            RAISING source_path_unknown.
      ENDIF.
    * Navigate to destination directory
      CONCATENATE 'cd' dest_path INTO w_command SEPARATED BY space.
      CALL FUNCTION 'FTP_COMMAND'
        EXPORTING
          handle        = w_handle
          command       = w_command
        TABLES
          data          = ftp_session
        EXCEPTIONS
          command_error = 1
          tcpip_error   = 2.
      IF sy-subrc <> 0.
        CONCATENATE 'FTP command failed:' w_command
          INTO w_command SEPARATED BY space.
        MESSAGE ID 'ZW' TYPE 'E' NUMBER '042'
            WITH w_command
            RAISING dest_path_unknown.
      ENDIF.
    * Transfer file
      CONCATENATE 'put' file INTO w_command SEPARATED BY space.
      CALL FUNCTION 'FTP_COMMAND'
        EXPORTING
          handle        = w_handle
          command       = w_command
        TABLES
          data          = ftp_session
        EXCEPTIONS
          command_error = 1
          tcpip_error   = 2.
      IF sy-subrc <> 0.
        CONCATENATE 'FTP command failed:' w_command
          INTO w_command SEPARATED BY space.
        MESSAGE ID 'ZW' TYPE 'E' NUMBER '042'
            WITH w_command
            RAISING transfer_failed.
      ENDIF.
    * Disconnect from destination host
      CALL FUNCTION 'FTP_DISCONNECT'
        EXPORTING
          handle = w_handle.
    * Optionally, remove file from source directory
      IF remove_file = 'X'.
       CONCATENATE source_path '/' file INTO w_command.
      CONCATENATE 'rm' w_command INTO w_command SEPARATED BY space.
       OPEN DATASET '/dev/null' FOR OUTPUT FILTER w_command.
       CLOSE DATASET '/dev/null'.
    ENDIF.
    Regards,
    Prabhudas

  • Problem in downloading file from app server using CG3Y in to .XLS fomat

    hi All,
    I have uploaded file in to application server through a program using open data set with the separater as "|" ( pipe ) . Now the user should be able to download the file from apps server to presenataion server in .XLS format using txn CG3Y. but when we download, the format appears wierd and the data is not consistent across columns in excel. i.e the data which is supposed to be in one column in the excel is in the other column. what precautaions should i take  before moving data to apps server so that it will be downloaded in a good format.
    Appreciate your help...
    Regards,
    Sreekanth.

    Separate each values with TAB space present in the application server .
    Currently u r using | pipe character. Instead of that use CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB as delimiter.
    Each value will displayed in separate cells in excel sheet when u download it frm app.server
    Regards,
    Lakshman.

  • How to find out the web/app server used by OBIEE and OBIEE HomePath (Urgent

    Hi All ,
    I have two questions
    1) I wanted to know the OBIEE home path if it is installed on the some other machine (Client's Machine).
    I wanted to update the .css files present on the machine, but before updating the file i should know the home path, to reach the desired .css file and update accordingly. I dont know where they have installed OBIEE.By default OBIEE home is (c:\) but if the user has selected some other drive then, how we can find the OBIEE Home path?
    I have the access to the machine.
    2) The path of the CSS files depends on the web server used by OBIEE.
    When IIS web server is used, the CSS files in OracleBI_HOME\web\app\res directory
    when OC4J is used, the CSS files in OracleBI_HOME\oc4j_bi\j2ee\home\applications\analytics\analytics\res
    so inorder to update i must know which server is being used.
    Is there any way to find out which web application server is installed on the clients machine?
    Thanks in advance.!!!!!

    Please see responses to your first posting here: OBI EE Home Path

  • Transfer file from client to server using http

    HI friends,
    I want to transfer files from client to server...I tried that with the help of socket and rmi..........
    But Http is only the best mechanism for my application..........
    Without using servlets, how to transfer files with the help of http.....
    Any help would be appreciated.......

    Google is your friend, and appearently www.jguru.com also:
    http://www.jguru.com/faq/view.jsp?EID=160

  • File transfer from backend to sharepoint server using WebDAV

    Hi,
    Currently we are in development process of our product and we have a component called Document Publisher which should publish(upload) the documents to the web folders in the sharepoint server using WebDAV from the backend.
    I was able to find some classes in the backend like CL_HTTP_WEBDAV, CL_HTTP_WEBDAV_SKWF etc and these classes have some set of methods which i feel can be used for uploading the documents to another location from the backend. But i am not sure how to achieve this and i was not able to find much of the information about this online.
    It would be really great if somebody can help me in this.
    Thanks a lot in advance,
    Kasthuri

    Hi Kasturi,
    What you exactly want to do because your query not clearly visible to anyone?
    Regards

  • Fetch excel file from app. server using open dataset...

    Hello Experts,
    Our functional consultant is asking me if it possible to get an excel file from the
    application server file using OPEN dataset and in background mode? If yes, Please tell me on how to do this.
    Thank you guys and take care!

    Hi Viraylab,
    to download this the procedure:
    you can use the FM 'EXCEL_OLE_STANDARD_DAT ' for this purpose.
    this FM 'EXCEL_OLE_STANDARD_DAT' can be used to start Excel with a new sheet and transfer data from an internal table to the sheet.
    Here are some of the parameters:
    file_name: Name and path of the Excel worksheet file e.g. ?C:TEMPZTEST?
    data_tab: Name of the internal table that should be uploaded to Exvcel
    fieldnames: Internal tabel with column headers
    How to build the field names table:
    data: begin of i_fieldnames occurs 20,
    field(60), end of i_fieldnames.
    i_fieldnames-field = ?This is column 1?. append i_fieldnames-field.
    i_fieldnames-field = ?This is column 2?. append i_fieldnames-field.
    to upload follow this:
    OPEN DATASET dsn FOR INPUT IN BINARY MODE.
    DO.
    READ DATASET dsn INTO itab-field.
    IF sy-subrc = 0.
    APPEND itab.
    ELSE.
    EXIT.
    ENDIF.
    ENDDO.
    [/code]Rob
    or Try this function module.
    FILE_READ_AND_CONVERT_SAP_DATA
    pass 'XLS' to I_FILEFORMAT..
    Dont forgot to Reward me points .....All the very best....
    Regards,
    Sreenivasa sarma K.

  • UnDeploying EAR from Oracle App server using Ant Script

    I am trying to deploy & undeploy the ear file using the ant script.
    I am using the following script to undeploy the application
              <target name="undeploy" description="Undeploy Application">
              <java jar="${OCM_DIR}/jdev/lib/oc4j_remote_deploy.jar" fork="true">
                   <arg value="http://${ias.host}:${ias.em.port}/${ias.dcmservlet}/"/>
                   <arg value="${ias.admin}"/>
                   <arg value="${ias.admin.password}"/>
                   <arg value="undeploy"/>
                   <arg value="${ias.oracle.home}"/>
                   <arg value="${app.name}"/>
                   <arg value="${ias.oc4j.instance}"/>
              </java>
         </target>
    & getting the following error
    [java] Initializing log
    [java] Servlet interface for OC4J DCM commands
    [java] Command timeout defined at 600 seconds
    [java] Executing DCM command...
    [java] Executing command undeploy /oramp01/app/oracle/product/devmid01 jisdev JIS_sandbox_dev UNDEFINED
    [java] Command = UNDEPLOY
    [java] Opening connection to Oc4jDcmServlet
    [java] Setting userName to ias_admin
    [java] Sending command to DCM servlet
    [java] HTTP response code = 200, HTTP response msg = OK
    [java] Command was successfully sent to Oc4jDcmServlet
    [java] Receiving session id from servlet to check command status
    [java] Session id = aa63b901712fe1d1f07cfd44380b5459eda2437e860
    [java] Please, wait for command to finish...
    [java] Checking command status...
    [java] Setting userName to ias_admin
    [java] Setting Cookie to JSESSIONID=aa63b901712fe1d1f07cfd44380b5459eda2437e860
    [java] Checking command status
    [java] HTTP response code = 200, HTTP response msg = OK
    [java] Command has finished
    [java] Receiving command exit value
    [java] Receiving command output
    [java] **** No output was received from command
    [java] Closing connection to Oc4jDcmServlet
    [java] #### DCM command did not complete successfully (-8)
    [java] #### HTTP return code was -8
    [java] Java Result: -8
    Can you please let me know what is the problem and how can we fix it.
    Both the oracle as well as the jdev/lib/oc4j_remote_deploy.jar are of the version 10.1.2.
    Thanks,
    Vishnu

    I think you need:
    <arg value="-undeploy"/>
    (notice the -)
    Have you had any luck?

  • To create an infospoke to transfer to app server

    Hi guys,
    i want to create an infospoke to transfer the file to
    app server, what do i give the logical target system
    where and how to  define the app server (it doesnt seem
    to be possible in SALE).
    thanks
    Your help will be greatly appreciated

    Hello Realist,
    How r u ?
    Under Destination Tab
    Give ur Target System Name for Logical Target System &
    Under Type Specific Properties select File and Check the Check box for Application Server.
    Best Regards....
    Sankar Kumar
    +91 98403 47141

  • Office Web Apps server not working externally

    Hopefully someone with a functional OWA server can help.  When my users try to share a presentation, whiteboard, or poll as an external user or to an external user (coming through Edge), the content fails to share and this error occurs:
    "We can't connect to the server for presenting right now"
    The server functions internally fine and content shares perfectly.  The OWA server has a certificate from an internal CA and it is published through a TMG reverse proxy.  When I hit the discovery URL, it works fine and triggers the reverse proxy
    rule.  However, when I try to share content, it does not hit the rule.
    Thanks for your help!
    Jim

    Hi,
    Looks like the external lync clients can't connect the office web app server. So please check if you publish the web office app to internet correctly.
    Please refer this document about Publishing Office Web Apps Server Using a Reverse Proxy Server:
    http://technet.microsoft.com/en-us/library/jj204665.aspx
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Sean Xiao
    TechNet Community Support

  • Crystal Report Viewer Not viwed - Through APP Server Re-Direction

    Hello Team
    I have a critical problem in my organizaion for viewing the reports.
    Configuration that we are using:
    1. Windows Server 2008 R2
    2. Crystal 13 - Server Trial Version - Expiring on Aug-25th, 2014
    3. Used Visual Studio 2010 - .NET
    4. IIS 7.0 - configured a  Virtual Directory for ASP.NET application
    Out Application is using an Oracle APP Server to view the HTML. A button is provided in the HTML to redirect to view the Crystal Report.
    when I click on the Hyperlink and the url is directly accessed, then the Report is being shown without any issue.
    But ours is a corporate application and we have given a provision of accessign this application when users are outside of network. Hence the Crystal Server is under fire-wall. So, I cannot access it directly with a URL. Hence the app server is configured in such a way that if it find a name like "Reports" in the URL, then it redirects to the actual Web Server and gets back the data to the browser.
    for URL redirection, the app server is configured as below
        ProxyPass /crystalreportviewers/ http://<<ServerIP>>/crystalreportviewers/
        ProxyPassReverse /crystalreportviewers/ http://<<ServerIP>>/crystalreportviewers
        ProxyPass /reports10/ http://<<ServerIP>>/reports10/
        ProxyPassReverse /reports10/ http://<<ServerIP>>/reports10
    When the user redirects from the APP server using those redirection rules, the pages are being executed but the final crystal report viewer control is not being shown on the browser. I am not sure if we need to perform any other steps to get these thigns done.
    Our server is behind fire-wall and whenever I am in network, I used to get the output but when the redirection happens not able to load the Crystal Report Viewer. Not sure, if there are any other security rules that I need to consider to get back the CrystalReportViewer.
    Also, there is something called CrystalReportInteractiveViewer prior to Crystal13. Do we have anything as such in Crystal 13 also? Please help me in getting this worked.
    Please let me know if I am not clear in my explanation and I can certainly provide you a better information based on your queries.
    Thanks
    -Srinivasa Nadella

    Hi Srinivasa,
    Please move this thread to SAP Crystal Reports, version for Visual Studio
    Helpful threads: Having issues with Crystal reports report viewer
    c# - Application level assembly redirection not working - Stack Overflow
    asp.net mvc - Why is my Crystal Report and Viewer invisible on a Web Form in an MVC application? - Stack Overflow
    Regards,
    DJ

  • Oracle 10g - Creating a new Application Server using standalone OC4J 10g

    I have some issues in creating a new app. server using standalone oc4j 10g 10.1.3 instance. After I created the app. server instance, I tested the connection and it says connection refused. I used the userid as oc4jadmin and the password as welcome. I am getting a message connection refused. For connection, I used the default hostname "localhost" and I didn't mention anything in the URL path.

    Thanks Steve..
    Here is what I am trying to do.. I want to create a new app server instance (i.e.) stand alone oc4j server, where I can deploy my web service and run a test.
    Oracle JDeveloper 10g:
    Under Connection Navigator, Application Server --
    1) Right click to 'Create New Application Server Connection'
    2) Connection type as 'Standalone OC4J 10 g 10.1.3',
    3) Username ==> oc4jadmin, Password ==>welcome, checked the Deploy password.
    4) Hostname: localhost RMI Port: 23791
    URL path: <<blank>>
    5) Test Connection ==> getting a error message...
    Error while getting remote MBeanServer for url: ormi://localhost:23791/default:
    Error reading application-client descriptor: Error communicating with server: Connection refused: connect; nested exception is:
         javax.naming.CommunicationException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
    Any input you can provide would be of great help.

  • Vendor open line item amount payment in app through different house banks

    Hi,
    Kindly Help me.
    Our client requirment is vendor open line item amount payment in app through using different house banks is it possible.
    Please let me known
    Thanks & Regards
    Ramu

    Hi
    Generally , you can assign a default house bank and account id in the vendor master record. During execution of  Automatc payment program  this house bank will be used ( provided your APP configuration via FBZP and APP parameters are in line ). However, you can change the default house bank at the document line item level to a different house bank and this would be checked with house bank configuration via FBZP ( and your APP parameters ) and payment made via the preferred house bank .
    You may also change the house bank while editing the Automatic payment proposal through a re-allocation of house bank .
    Hope this helps.
    Regards
    VidhyaDhar

  • OIA jobs.xml constrain execute of file import on only one of two app server

    I am trying to get the jobs.xml and scheduling-context.xml files to fire an import job on one of the two app servers. There are two application servers utilizing the same shared database. Files to import into OIA reside on one of the two application servers file systems only and we want to use the jobs.xml and scheduling-context.xml files on one of the app servers to setup the imports.
    I have these two beans enabled
    <ref bean="usersImportJob"/>
    <ref bean="usersImportTrigger"/>
    This is a snippet from the jobs.xml file
    <bean id="usersImportTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
    <property name="jobDetail">
    <ref bean="usersImportJob"/>
    </property>
    <property name="cronExpression">
    <value>0 0/5 * * * ?</value>
    </property>
    </bean>
    <bean id="usersImportJob" class="org.springframework.scheduling.quartz.JobDetailBean">
    <property name="name">
    <value>Users Import</value>
    </property>
    <property name="description">
    <value>Users import Job</value>
    </property>
    <property name="jobClass">
    <value>com.vaau.rbacx.scheduling.manager.providers.quartz.jobs.IAMJob</value>
    </property>
    <property name="group">
    <value>SYSTEM</value>
    </property>
    <property name="durability">
    <value>true</value>
    </property>
    <property name="jobDataAsMap">
    <map>
    <!-- only single user name can be specified for jobOwnerName (optional)-->
    <entry key="jobOwnerName">
    <value>REPLACE_ME</value>
    </entry>
    <!-- multiple user names can be specified as
    comma delimited e.g user1,user2 (optional)-->
    <entry key="usersToNotify">
    <value>REPLACE_ME</value>
    </entry>
    <entry key="IAMActionName">
    <value>ACTION_IMPORT_USERS</value>
    </entry>
    <entry key="IAMServerName">
    <value>FILE_SERVER</value>
    </entry>
    <!-- Job chaining, i.e. specify the next job to run (optional) -->
    <entry key="NEXT_JOB">
    <value>rolesImportJob</value>
    </entry>
    </map>
    </property>
    </bean>
    QUESTION:_
    Is the IAMServerName value suppose to have the literal hostname of the application server (ex. "oia.bluebird.com") configured in place of the default "FILE_SERVER" text?
    Your insite is greatly appreciated

    Hi Meg,
    I have to say that I've only seen the jobs.xml be defined for data feeds only. It does not make calls out to app/DB servers OOTB.
    The alternative solution are the following:
    1. Use your IDM provisioning connector to the application then pull the data from the IDM product into OIA
    2. Extract the data from the app server using the ETL functionality/engine within the OIA product to extract the data into a data feed (then OIA will pick that up)
    3. Construct some extracting functionality (like a java class) instead of ETL
    Hope this has helped
    Regards,
    Daniel Redfern
    Technicalconfessions.com

Maybe you are looking for

  • How to determine the position of cursor in Text Area?

    I have to solve next problem. I need to create special editor for my application. Page consist of two regions. First one is Text Area. Second one is Toolbar. User input Text in Text Area. He can use toolbar for inputing additional text in the cursor

  • Exact  difference between se09 and se10

    Hi all, i want to know the exact difference  between se09 and se10  . i know SE09 is the workbench transport requests transaction - here the developers can track changes to all ABAP workbench objects (dictionary, reports, module pools, etc). This is

  • MSSQL 7.0 - Oracle 8 (When?)

    Hi, I've recently been assigned the task of converting our MSSQL 7.0 database to Oracle 8 and I was hoping for a rough estimate as to when the OMW would support MSSQL 7.0? Thanks for your time, Jonathan Claggett ([email protected]) null

  • Need driver for the following . . .

    Hi,  I have been hunting and can't seem to locate drivers for the following hardware id: PCI\VEN_10EC&DEV_5227&SUBSYS_2166103C&REV_01 Its there in the device manager as an unknown PCI device. this seems to be the realtek card reader, and having gone

  • AOL Desktop for Macs.  Anyone have used it?

    G4 Digital Audio Version used; supplied with clean HDD and now upgraded OS 10.4.11 I use AOL as an internet service provider for dial up. Don't knock it, but you can if u want I'm cool with people here. I use the dial up because I use two ISP and att