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

Re: How to read only customer number from url?

$
0
0

Hi Akshath,

 

you can use below code

pass your URL in any variable lv_url.

constants :  lc_ques           TYPE char1        VALUE '?' ,

                    lc_equal           Type  char1        value    '=' ,

                    lc_back            type   char1        value    '/' .

 

   SPLIT  lv_url                      AT          lc_ques             INTO       lv_1st_part_url          lv_2nd_part_url.

   Split     lv_2nd_part_url    AT          lc_equal           into         lv_3rd_part_url          lv_4th_part_url.

   SPLIT  lv_4th_part_url     AT           lc_back               INTO      lv_5th_part_URL       lv_customer_no.

 

   and LV_CUSTOMER_NO will get value 000123.


hope this will help you.

 

Regards

Bhavana


Viewing all articles
Browse latest Browse all 9164

Trending Articles



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