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

bapi structure

Former Member
0 Likes
627

hi all,

may i know why there is a difference for bapi structure?

for example, i define 1 structure as below, why there is a #?

types: begin of ty_msg,

id#like# bapiret2-id,

number#like#bapiret2-number,

end of ty_msg.

thanks

4 REPLIES 4
Read only

Clemenss
Active Contributor
0 Likes
598

e l ,

don't know what you did.

  1. means unknown/non-displayable character. Where did you see that and how did you define the structure?

Regards,

Clemens

Read only

Former Member
0 Likes
598

hi,

only when i print out the source the # is showing.

may i know why only when define bapi structure it has #?

thanks

Read only

Former Member
0 Likes
598

Hi,

You probably would have used "Tab" while coding..

Do the following code..I believe you will get it again..

DATA: "Press tab button here" BEGIN OF TEST,

ID "Press tab button here" like BAPIRET2-ID,

END OF TEST.

Now take a print out..OR check the code in debugging..You will see # in the places where you pressed tab the button..

It is not because of the bapi structure...

Thanks,

Naren

Read only

Former Member
0 Likes
598

Hi,

Or do the following..

Open a notepad..And use tab button...Have the following code in the notepad..

parameters: p_vbeln type vbeln.

if p_vbeln "Press tab button here" is initial.

"Press tab button here" "Press tab button here" write: / p_vbeln.

endif.

Copy the code and paste it in the abap editor...

Now activate the code..

Put a break point in the IF condition..

Now execute..You will see # in the debugging..

Thanks,

Naren