Skip to Content
0
Former Member
Oct 20, 2008 at 11:16 AM

How to concatenate a string of 240 with blank spaces in between

438 Views

Hi All,

I am using BAPI 'BAPI_CTRACCONTRACTACCOUNT_CH1' for one of my developments. In this BAPI there is an extension parameter EXTESIONIN. The parameter values I should provide to EXTENSIONIN are as below:

EXTENSIONIN-STRUCTURE = 'BAPI_TE_FKKVKPI' (I have enhanced this structure and added custom fields into this structure).

EXTENSIONIN-VALUEPART1 = concatenation of all the field values, which I have added in structure BAPI_TE_FKKVKPI.

Now my question how can I concatenate all field values if any of the field values is blank. If I do concatenate then the field values may be misplaced thus leads to wrong field value updation.

Thanks in Advance

Venkat