Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-2620

ABAP 'SPACE' keyword assigned as default value in JCo meta-data instead of space character

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • jboss-fuse-6.2
    • None
    • None
    • % %
    • Hide
      • Run the sap-trfc-destination-standalone quick start
      • Note that the four customer records mentioned in the quick state are not created in SAP.
      • Modify the requests messages by adding the attribute TEST_RUN to the top most element and assign a single space character value to the attribute:
        <BAPI_FLCUST_CREATEFROMDATA:Request .., TEST_RUN=" " ...>
      • Rerun the quick start and observe the customer records are created now. This previous step should not be necessary.
      Show
      Run the sap-trfc-destination-standalone quick start Note that the four customer records mentioned in the quick state are not created in SAP. Modify the requests messages by adding the attribute TEST_RUN to the top most element and assign a single space character value to the attribute: <BAPI_FLCUST_CREATEFROMDATA:Request .., TEST_RUN=" " ...> Rerun the quick start and observe the customer records are created now. This previous step should not be necessary.

    Description

      ABAP defines the keyword SPACE to specify a single space character in ABAP programs. This keyword is used regularly to specify the default value of a single character CHAR parameter in remote function module interfaces. The meta data for this parameter from the JCo runtime will indicate the default value for it using the keyword (i.e. literally the character string 'SPACE') instead of the character string ' '. This causes the data layer of the SAP components to use the character string 'SPACE' for the value of the parameter instead of ' ' when the parameter is not specified.

      Attachments

        Activity

          People

            bicollin1@redhat.com William Collins (Inactive)
            bicollin1@redhat.com William Collins (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: