Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9091

Re: Question about Scope of Initial Load

$
0
0

Hello Dongsu,

 

This is a bit strange indeed. In IDM 7.2 the values are correct, seems to be an error on SAP side during the implementation.

 

Are you running the latest SP?

 

If so, there is actually a solution to circumvent this as well though:

 

Option 1: Adjust the entries in the attrvaluehelp table directly

Option 2: Create two scripts, that handle string conversion

 

- First script

     a) if there is a "+" in the string it needs to be removed from the string

     b) if there is a "-" in the string it needs to be replaced "_"

  

     var result = "";

     if(Par.indexOf("-") =-1)

          (    

               result = uReplaceString(Par, "+", "");

          )

       else

          (

               result = uReplaceString(Par, "-", "_")

          ) 

     return result;

 

          - A script with this or similar logic needs to be linked in the initial load to the MX_TIMEZONE attribute

 

- Second script basically does the opposite

      a) replace "_" with "-"

      b) Add a "+" to the string if there is no "_"

 

          var result = "";

          if(Par.indexOf("_") = -1)

               (

                    var length = Par.length;

                    var substr1 = mid(Par,1,3);

                    var substr2 = mid(Par, 4, length-3);

                    substr1 = substr1 + "+";

                    result = substr1 + substr2;

                )

          else

               (

                    result = uReplaceString(Par, "_", "-");

               )

         return result;

 

     - A script with this or similar logic needs to be linked to every instance where the attribute MX_TIMEZONE is provisioned to the ABAP system

 

NOTE: The brackets for the if and else clauses are not the correct syntax so copy/pasting this is not gonna work. The forum apparently does not allow certain special characters.

 

Regards

Tobias


Viewing all articles
Browse latest Browse all 9091

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>