Application Development and Automation 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: 
Read only

System function RSCP_COBJ_USE

Former Member
0 Likes
581

Hi all,

Im having trouble in understanding the functionality of system function RSCP_COBJ_USE.

Based on my understanding, this object encode char into some kind of binary code and later on

gets converted into files e.g XLS.

The problem is, in prod system, this object convert 'ABC123#' into 41424331323309, but in

Dev system, the encoded binary is 41424331323323. The differences is the '#' value at the end, between '09 and '23'.

I also found out that '#' is actually a new tab in EXCEL and hence a new tab in binary is '09'. If the binary for # is 23, it means

display the # value in EXCEL.

Im puzzled on how the object determine the output of the value, whether it's for display or it's a command for new tab.

It all started with Gui_Download function module.

Edited by: Derek_Chong on Sep 23, 2009 9:53 AM

1 REPLY 1
Read only

Sandra_Rossi
Active Contributor
0 Likes
437

RSCP_COBJ_USE system function is reserved to SAP. Don't try to interpret what it does.

Maybe your concern is only about the # sign. Be careful, when SAP is not able to display a value (like a tab, hex value 09), it displays # by default. You don't have the possibility to make the difference with the true # character (hex value 23).

When you say that it doesn't work identically between prod and dev, I think you're wrong. The problem is that the input characters are not the same (though what you SEE is # in both systems). So it's then normal that the "conversion" in binary gives different values.