cancel
Showing results for 
Search instead for 
Did you mean: 

Saving RAW field with BAPI in extensionin

Former Member
0 Kudos

Hi,

I have a web dynpro application where I have a function module which returns a field named ROLE_GUID of type raw (byte[] in java). I need to save this field in table CATSDB using bapi BAPI_CATIMESHEETMGR_INSERT, the parameter is to be passed to he function as part of the EXTENSION_IN parameter using structure BAPT_TE_CATSDB.

What I understand is that parameters are to be passed to extension_in as fixed length strings.

My question is:

- How do I convert the raw value to a string that I can put in extension_in ?

Thanks,

Diego

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Solved. The fields have fixed length. Just pad them.

ravi_rajput
Participant
0 Kudos

Hi diego. How did you relate CATSRECORDS_IN and EXTENSIONIN, Could you provide some code snippet. I would really appreciate it