Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Taking out relevant characters from string

Former Member
0 Kudos

Hi,

In the excel file I have made the dropdown of all the House Bank from Master table. I am uploading the data in SAP through BDC.

BOBA - BOBUJJAIN , HDFCD - HDFCFORTEF, SBS - SBSKOSAMBA in this way . Now I want to upload BOBA,HDFCD,SBS in Vendor master TCODE xk01.Since HKONT field is 5 char long it is taking SBS - in the relevant case.How to get the alphabets only not special characters.

Regards,

Bharti Jain

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Bharti,

You could split the field on '-' (if that is the pattern for all your entries) in Fields F1 and F2 and then use F1 as field value in BDC.

In case of SBS - SBSKOSAMBA, F1 = SBS; F2 = SBSKOSAMBA.

Hope this helps!

Regards,

Shyam

2 REPLIES 2

deepak_dhamat
Active Contributor
0 Kudos

hi ,

Remove that - "hyphen from

BOBA - BOBUJJAIN , HDFCD - HDFCFORTEF, SBS - SBSKOSAMBA in this way . Now I want to upload BOBA,HDFCD,SBS in

or before passing data to hkont

replace - with Space

regards

Deepak.

Former Member
0 Kudos

Hi Bharti,

You could split the field on '-' (if that is the pattern for all your entries) in Fields F1 and F2 and then use F1 as field value in BDC.

In case of SBS - SBSKOSAMBA, F1 = SBS; F2 = SBSKOSAMBA.

Hope this helps!

Regards,

Shyam