Abap / SAP on AS400 / EBCDIC

Hi all,
we have some problems here with one of our customer installations.
Until now every RFC and Abap program that we have installed at different customers works fine. Most of them use Win or Linux as their platform.
Now we have a customer wich is using an AS400 as his platform and there the trouble begins. RFC and Abap Code is not running as expected (for example when i check an init value etc.etc.) He told us that he as EBCDIC. Well i know what EBCDIC is but where do i have to be careful in my RFC and Reports, Dynpros etc.etc.
Any ideas ?
Greetings
Henning

You shouldn't have any issues with EBCDIC unless working directly with files on the application layer.
REgards
Rich Heilman

Similar Messages

  • Is it possible to call web service from ABAP SAP 4.6 c..If yes how

    Hi Friends,
    Is it possible to call web service from ABAP-SAP 4.6 c..If yes Could you please let me know how.
    Thanks in Advance.
    Murali Krishna K
    Edited by: Murali Krishna Kakarla on Jan 26, 2008 7:09 PM
    Edited by: Murali Krishna Kakarla on Jan 26, 2008 7:11 PM

    Olivier CHRETIEN wrote:>
    > Hi Terry,
    >
    > So these function modules must use the SAPHTTPA RFC destination which uses the exe saphttp.exe ?
    >
    > How much abap code lines do you have for a web service call ?
    > Do you have to code the call specifically for each different web service ?
    > Are you able to use the WSDL ?
    >
    > Nice job if you have coded your own private SOAP runtime !
    >
    > But I don't think this is an easy solution for everybody...
    >
    > Regards,
    >
    > Olivier
    Yes, SAPHTTPA (runs on application server) and/or SAPHTTP (runs on front-end pc), one of which, is required for HTTP communication.  So far, nothing too elaborate as far as SOAP goes, but the logic is simplistic.  Here's some sample code:
      DEST = 'SAPHTTPA'.
      TRANSLATE HOST TO LOWER CASE.
      MYURL = 'wssrvTest/Service.asmx/GetByOrderItem'.
      CONCATENATE HOST MYURL INTO MYURL.
      REQUEST_HEADERS-DATA = 
                  'Content-type: application/x-www-form-urlencoded'.
      APPEND REQUEST_HEADERS.
      CLEAR REQUEST_HEADERS.
    *........Convert Order Number to External Format........................
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
           EXPORTING
                INPUT  = ORDER
           IMPORTING
                OUTPUT = ORDER.
    *........Convert Item Number to External Format.........................
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
           EXPORTING
                INPUT  = ITEM
           IMPORTING
                OUTPUT = ITEM.
    *........Convert Material Number to External Format.....................
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
           EXPORTING
                INPUT  = MATERIAL
           IMPORTING
                OUTPUT = MATERIAL.
      CONCATENATE 'sOrder=' ORDER
                   INTO REQUEST_BODY-DATA.
      APPEND REQUEST_BODY.
      CLEAR REQUEST_BODY.
      CONCATENATE '&sItem=' ITEM
                   INTO REQUEST_BODY-DATA.
      APPEND REQUEST_BODY.
      CLEAR REQUEST_BODY.
      CONCATENATE '&sMaterial=' MATERIAL
                  INTO REQUEST_BODY-DATA.
      APPEND REQUEST_BODY.
      CLEAR REQUEST_BODY.
      CALL FUNCTION 'HTTP_POST'
           EXPORTING
                ABSOLUTE_URI          = MYURL
                RFC_DESTINATION       = DEST
                BLANKSTOCRLF          = 'X'
           TABLES
                RESPONSE_ENTITY_BODY  = RESPONSE_BODY
                REQUEST_ENTITY_BODY   = REQUEST_BODY
                RESPONSE_HEADERS      = RESPONSE_HEADERS
                REQUEST_HEADERS       = REQUEST_HEADERS
           EXCEPTIONS
                CONNECT_FAILED        = 1
                TIMEOUT               = 2
                INTERNAL_ERROR        = 3
                TCPIP_ERROR           = 4
                DATA_ERROR            = 5
                SYSTEM_FAILURE        = 6
                COMMUNICATION_FAILURE = 7
                OTHERS                = 8.
      CHECK SY-SUBRC = 0.  "more appropriate msg goes here
      LOOP AT RESPONSE_BODY.
        IF RESPONSE_BODY+0(7) <> '<string' AND
           RESPONSE_BODY+0(8) <> '</string' AND
           RESPONSE_BODY+0(5) <> '<?xml'.
          SPLIT RESPONSE_BODY-DATA AT '=' INTO FIELD_NAME FIELD_VALUE.
          TRANSLATE FIELD_NAME TO UPPER CASE.
          CASE FIELD_NAME.
            WHEN 'HEIGHT'.
              HEIGHT = FIELD_VALUE.
            WHEN 'WIDTH'.
              WIDTH = FIELD_VALUE.
            WHEN 'LENGTH'.
              LENGTH = FIELD_VALUE.
            WHEN 'WEIGHT'.
              WEIGHT = FIELD_VALUE.
            WHEN 'QTY'.
              QTY = FIELD_VALUE.
          ENDCASE.
        ENDIF.
      ENDLOOP.
    Hope this helps...
    Terry
    Edited by: Terry West on Feb 4, 2008 3:08 PM

  • SAP NetWeaver Application Server ABAP & SAP Business Warehouse 7.4 SP8 on SAP HANA with ERP-System

    Hello,
    I have a running Instance of SAP NetWeaver Application Server ABAP & SAP Business Warehouse 7.4 SP8 on SAP HANA 1.0 SP8.
    Here I have the minisap Licence of A4H.
    When I get the Licence of ERP - do I have a fully ERP System on HANA ?
    Or do I need a new Instance?

    Hi Julia,
    even if you or your company have an SAP license for ERP, you are legally not allowed to install the license key into the free offering it because you have accepted the terms and conditions of the trial/developer version.
    If you want to use your own licenses, you would need to switch to the BYOL model where you bring in the license. For that you would need to purchase the SAP Cloud Appliance Library subscription. You get more details here (CAL FAQ - Business related questions ). To purchase the SAP Cloud Appliance Library subscription you would need to select the "Unlock full library" link on the top right corner of the Subscriptions screen on http://cal.sap.com.
    Best Regards,
      Hannes

  • Cant find 'SAP NetWeaver Application Server ABAP & SAP Business Warehouse 7.4 SP8 on SAP HANA 1.0 SP8 [Developer Edition]'

    I have successfull installed and been running 'SAP NetWeaver Application Server ABAP & SAP Business Warehouse 7.4 SP5 on SAP HANA 1.0 SP7 [Developer Edition]'
    In my CAL-account I have seen that 'SAP NetWeaver Application Server ABAP & SAP Business Warehouse 7.4 SP8 on SAP HANA 1.0 SP8 [Developer Edition]' has become available.
    Searching 'AWS Marketplace' with 'SAP HANA one' only brings up the version (SP5-7) I already have installed. How am I supposed to proceed to install the latest version (SP8-8)?

    It wasn't removed. I and at least one other person reported it as abusive, because it contains just a link. I think after three reports, it's automatically hidden until the moderator rejects it permanently, or releases it. In this case, it was released.
    Now, why did I report it? Well, the common view (obviously not shared by the moderator here), is that posts like that
    1) Indicate the original poster (in this case you) could have searched for yourself to find the same link
    2) Damage the site as a whole, as you end up with just a whole bundle of links from one place to another and no real content
    3) Encourage posting of FAQ
    My experience is that quite often the link isn't in fact relevant, and is just the result of the first hit of a keyword search using google. In this case it was relevant - but couldn't you have searched and found it yourself?
    In the areas I moderate, posts that constitute a single link are rejected as a matter of course. See this blog for a full and complete discussion: Posting links and the jungle you end up in..

  • SAP -- XI -- AS400(DB2) scenario configuration?

    Hi Experts,
    I have a scenario SAP -->XI -->AS400(DB2).
    I would like to know the step by step configuration of XI >AS400 (DB2). It will be great if any one can share the docs. Is it a good option to use JDBC adaptor for this scenario? If yes please let me know the steps for XIAS400 configuration.
    Thanks & Regards,
    Praveen.

    Hi Praveen,
    You can go for JDBC adapter, But, check this link it is also suggesting to use File adapter..
    R3-AS400
    for JDBC adapter check few links as well
    AS400 acess using JDBC adapter
    Re: JDCB Connection from XI to AS400
    JDBC drivers for DB2 on AS400 V5R3
    Sachin

  • Chances of getting job after doing ABAP SAP certification as a fresher?

    Hello everyone...
    I am a fresher.
    I want to do SAP Certification in ABAP Module.
    I wanted to ask everyone about the jobs opportunities for fresher in ABAP SAP.
    Is it advisable to do ABAP certification?
    what are the chances of getting a job after ABAP certification?
    Please help me with this doubt.
    Thank you in advance.

    Hi Parag,
    please understand that Certification never gurantees a job in SAP, although it will boost your Resume and will provide some extent of knowledge too, but it will not impact in your job hunt, so if you wants to do Certification only for job purpose, its not advisable.
    Yes, if you wants to appear in interview with an advantage of being a Certified professional, then you can take Certification.
    The reason behind it is that in Certification exams , theoritical questions are asked, but oin real time working there are so much difference in the work profile based on industry requirements, so real time experiences are always preffered to that of Certification in SAP.
    If you have any further queries, please revert.

  • Where can i get the ABAP SAP Certified Development Associate logo?

    Hi every one,
    My name is Fahad and i recently completed my certification as "ABAP    SAP Certified Development Associate u2013 ABAP    with SAP NetWeaver    7.0"; in Karachi - Pakistan. I need to know where i can get the SAP certified logo,as i need to use it in my blog. What is the eligibility criteria or requirements for getting that?.
    Best Regards,
    Fahad

    Fahad
    Please email your S-User ID and other certification details like Name, Certification topic, location, date and other details to Kenneth @ kenneth(dot)schieffer(at)sap(dot)com
    Cheers!
    Zub

  • When will SAP NetWeaver AS ABAP & SAP BW7.4 SP10 on HANA 1.0 SPXX [Dev Ed]

    I have installed 'SAP NetWeaver Application Server ABAP & SAP Business Warehouse 7.4 SP8 on SAP HANA 1.0 SP8 [Developer Edition]' but it is a bit buggy which is a problems since it is not possible to install corrections on these dev editions.
    I looked at the corrections in BW740 SP09 & 10 and several of the issue I face seem to be covered by corrections therein. Hence, when will BW7.4 SP10 on HANA be available?

    Thanks for this info. I hope that you soon overcome the challenges of improving SP8 because it is quite a challenge to develop on the current release. I my case especially with regards to the integration of HANA functionalities into the BW data flow through HAP and AMDP.
    Is there a place to see the latest status on this issue (thread/blog etc.)?

  • Migrate SAP in AS400 to Oracle

    Hi all,
    there is a customer with SAP in AS400 and they are thinking in migrate the SAP database from AS400 to Oracle
    but they are interested in other customer experiences with this kind of migration.
    Does anyone know customer examples?
    Thanks in advance

    Thanks Pavan,
    But the link is not active anymore Can you please share me the new location or the ones that you have downloaded already? Thanks
    [code]
    Step 1: Download all required software and documentation
    I started out by downloading the Oracle Migration Workbench from OTN as well as the MySQL 4.0 plugin. The Reference Guide on Windows is here as well as the Release Notes. All Migration Workbench Documentation. I had to download the MySQL Connector/J 3.0.x driver as well (from MySQL’s Site).
    [/code]
    I can not understand why the migration workbench seems not updated anymore? Its version is pegged at 10g? Is there new for from this? Thanks

  • RFC connection from SAP to AS400 system

    Hi ,
    I am working on a Interface requirement wherein I need to get connected to AS400 fetch some data and update in Shipment Document in SAP at runtime.
    I am thinking about calling RFC but not sure whether it will work or not.
    Has anybody worked on the requirement like this.
    please help me out with this regard.
    thanks in Advance,
    Nitin

    Hi Nitin,
    RFC works other way around. Means you can login from other system to SAP to get the data using RFC. For your requirement you can ALE.
    Regards,
    Atish

  • Connect to webservice via TCP/IP or RFC in ABAP ( SAP to WEB Connectivity)

    Hi All ,
        My requirement is  I want to fetch some data from a 'Web site'  into my abap program .
       How should i do ? what is the step by step process of doing these ? by RFC or TCP/IP .
      If go for TCP/IP connection or RFC then please tell me waht is the program id , where it is created at SAP side or Web side .
    Regards ,
    Nilesh K Jain .

    Hi! It all depends on what is your system where the website is running on.
    On the portal? Or another system ? Or??
    I think the best way for you is to create remote function modules and create with these RFC's webservices on SOAP manner.
    For information on the webservices you can look:
    http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/content.htm
    And with this SDN site:
    Web Services Development in ABAP [original link is broken]
    you can find the steps how to create the webservices in ABAP

  • Book on HR ABAP , SAP-BW

    Hi All,
    Can anybody send me a good book for learning HR, PA, Payroll Abap, Its very urgent, Please send the same on my e-mail id [email protected]
    Also if u are able to send me a book on SAP-BW

    http://www.netwind.com/html/sap-training-books.html

  • ABAP / SAP memory

    Hi Friends,
    Kindly give me  sample programs, for ABAP Memory and SAP memory.
    TIA.
    Regards,
    MARK K

    Hi,
    DATA TEXT1(10) VALUE 'Exporting'.
    DATA ITAB LIKE SBOOK OCCURS 10 WITH HEADER LINE.
    DO 5 TIMES.
      ITAB-BOOKID = 100 + SY-INDEX.
      APPEND ITAB.
    ENDDO.
    EXPORT TEXT1
           TEXT2 FROM 'Literal'
      TO MEMORY ID 'text'.
    EXPORT ITAB
      TO MEMORY ID 'table'.
    In this example, the text fields TEXT1 and TEXT2 are stored in the ABAP memory of program SAPMZTS1 under the name "text". The internal table ITAB is stored under the name "table".
    DATA TEXT1(10) VALUE 'Exporting'.
    DATA ITAB LIKE SBOOK OCCURS 10 WITH HEADER LINE.
    DO 5 TIMES.
      ITAB-BOOKID = 100 + SY-INDEX.
      APPEND ITAB.
    ENDDO.
    EXPORT TEXT1
           TEXT2 FROM 'Literal'
      TO MEMORY ID 'text'.
    EXPORT ITAB
      TO MEMORY ID 'table'.
    SUBMIT SAPMZTS2 AND RETURN.
    SUBMIT SAPMZTS3.
    The first part of this program is the same as the example in the section Saving Data Objects in Memory. In the example, the programs SAPMZTS1 and SAPMZTS2 are called using SUBMIT. You can create and maintain the programs called using the SUBMIT statement by double-clicking their names in the statement. For further information about the SUBMIT statement, refer to Calling Executable Programs (Reports)
    Example for SAPMZTS2:
    PROGRAM SAPMZTS2.
    DATA: TEXT1(10),
          TEXT3 LIKE TEXT1 VALUE 'Initial'.
    IMPORT TEXT3 FROM MEMORY ID 'text'.
    WRITE: / SY-SUBRC, TEXT3.
    IMPORT TEXT2 TO TEXT1 FROM MEMORY ID 'text'.
    WRITE: / SY-SUBRC, TEXT1.
    Example for SAPMZTS3:
    PROGRAM SAPMZTS3.
    DATA JTAB LIKE SBOOK OCCURS 10 WITH HEADER LINE.
    IMPORT ITAB TO JTAB FROM MEMORY ID 'table'.
    LOOP AT JTAB.
      WRITE / JTAB-BOOKID.
    ENDLOOP.
    DATA: TEXT(10) VALUE '0123456789',
          IDEN(3)  VALUE 'XYZ'.
    EXPORT TEXT TO MEMORY ID IDEN.
    TEXT = 'xxxxxxxxxx'.
    IMPORT TEXT FROM MEMORY ID IDEN.
    WRITE: / SY-SUBRC, TEXT.
    FREE MEMORY.
    TEXT = 'xxxxxxxxxx'.
    IMPORT TEXT FROM MEMORY ID IDEN.
    WRITE: / SY-SUBRC, TEXT.
    The output is
    0 0123456789
    4 xxxxxxxxxx
    The FREE MEMORY statement deletes the data cluster "XYZ". Consequently, SY-SUBRC is 4 after the following IMPORT statement, and the target field remains unchanged.
    sap memory
    TABLES SBOOK.
    START-OF-SELECTION.
      WRITE: 'Select a booking',
      SKIP.
    GET SBOOK.
      WRITE: SBOOK-CARRID, SBOOK-CONNID,
             SBOOK-FLDATE, SBOOK-BOOKID.
      HIDE:  SBOOK-CARRID, SBOOK-CONNID,
             SBOOK-FLDATE, SBOOK-BOOKID.
    AT LINE-SELECTION.
      SET PARAMETER ID: 'CAR' FIELD SBOOK-CARRID,
                        'CON' FIELD SBOOK-CONNID,
                        'DAY' FIELD SBOOK-FLDATE,
                        'BOK' FIELD SBOOK-BOOKID.
      CALL TRANSACTION 'BOOK'.
    Thanks, 
    Das............

  • Comsume Web Service via ABAP SAP 4.7

    Hello Experts
    We wanted use an ABAP program to call a web service.  We were only given the target WSDL file.  Not sure what to do with this and what information can we get from this. 
    As I checked, the format is different from the conventional web service I found in the blogs.  Usually the WSDL URL is format below.
    http://www.webservicex.net/airport.asmx?wsdl
    and you can see and test the services from this URL http://www.webservicex.net/airport.asmx
    But in our case, this the WSDL URL is below.
    http://<host>/dd10/services/shipRSS?wsdl
    and we cannot see and test service from http://<host>/dd10/services/shipRSS this is what we are getting.
    "shipRSS
    Hi there, this is an AXIS service!
    Perhaps there will be a form for invoking the service here..."
    Having this kind of WSDL, can we still create an ABAP program that can consume this?  Is there difference in the programming and parameters.  Currently we are using the program template from this blog /people/durairaj.athavanraja/blog/2004/09/20/consuming-web-service-from-abap as we are only running on SAP 4.7 but it seems not to be working.  Any thoughts?
    Thank you very much!
    Tony

    Hi Andrei,
    We did the changes in the program and we seem to have made some progress here.  Here are the test results now.  
    Test Soap
    >> Starting...
    >>
    >> TEST: SOAP call to method STFC_CONNECTION
    >>
    >> Result of SOAP call
       echotext =
       resptext =
    << ...Done
    Here is an excerpt of the program of which parameters are inputted.  We are suppose to send an XML string.  We have not made much changes in the sample program except the one you highlighted to us before.  But if there are any concerns it will on the part where to construct soap request document which is shown below.  If it is not too much to ask, would you help us check the parameters if they are correct.  Thank you very much.  You've been very helpful.
    1 construct soap request document
      CREATE OBJECT osoap.
      IF osoap IS INITIAL.
        WRITE: / '> cannot create soap document, exiting...'. EXIT.
      ENDIF.
      TRY.
    ** OLD VALUE:
    **    CALL METHOD osoap->set_method
    **      EXPORTING
    **        nsprefix   = 'saprfc'
    **        nsvalue    = CSoapConstants=>sc_rfc_function_ns
    **       attributes =
    **        name       = 'STFC_CONNECTION'.
    NEW VALUE
      CALL METHOD osoap->set_method
      EXPORTING
        nsvalue ='http://webservice.<namespace>'
        name = 'exec' .
        "-- parameter: REQUTEXT
        GET REFERENCE OF p_requtext INTO dref.
        CALL METHOD osoap->add_parameter
          EXPORTING
          nsprefix   =
          nsvalue    =
          attributes =
            direction  = CSoapConstants=>ic_param_in
            name       = 'REQUTEXT'
            value      = dref.
        "-- parameter: ECHOTEXT
        GET REFERENCE OF p_echotext INTO dref.
        CALL METHOD osoap->add_parameter
          EXPORTING
          nsprefix   =
          nsvalue    =
          attributes =
            direction  = CSoapConstants=>ic_param_out
            name       = 'ECHOTEXT'
            value      = dref.
        "-- parameter: RESPTEXT
        GET REFERENCE OF p_resptext INTO dref.
        CALL METHOD osoap->add_parameter
          EXPORTING
          nsprefix   =
          nsvalue    =
          attributes =
            direction  = CSoapConstants=>ic_param_out
            name       = 'RESPTEXT'
            value      = dref.
        "-- use ABAP tag names
        CALL METHOD osoap->set_tag_name_format
          EXPORTING format = CSoapConstants=>ic_tagfmt_default.
      CATCH CSoapExceptionUsage INTO usgEx.
        WRITE: / ' > exception occurred'.
        exTxt = usgEx->get_text( ).
        WRITE: / ' > text: ', exTxt.
        EXIT.
      ENDTRY.
      isoap = osoap.

  • ABAP SAP script unable to see push buttons

    Dear friends,
      I am new to ABAP and I am trying to create SAP script layout, but I created new form, I did not see Pages, Windows and Page Windows push buttons.
    I could not figure out why I am unable see those windows? Please, can somebody help?  I don't see even on first page where I can create new Form name.  
    I really appreciated  your help.
    Shailesh

    Hi,
    In script go to SETTING---> there select  PC EDITOR check box , uncheck graphic editor.
    U will get it.

Maybe you are looking for