‎2008 Oct 31 12:26 PM
Hi abappers,
empty, is equals to space?
block_new = spacewhen I execute a module function, I have intro the date in the block_new (in this case space)
What value intro in the function module? because the value of block_new is empty
can you hep me, please?
Cordial greetings.
‎2008 Oct 31 12:29 PM
Hi,
Which function module are you passing this data to ?
May be you can try block_new = ' '.
If you want to pass empty value , just write clear block_new and then pass it to the function.
regards,
Advait
‎2008 Oct 31 12:50 PM
Hi Advait,
Thank you for you attention,
I use the function module Z of other system
...
CALL FUNCTION 'ZCONECT'
DESTINATION *zrfc
EXPORTING
block_old = 'O'
block_new = space
...
then I go to the function module in de DESTINATION and execute the function module with the value
O
space?, when I execute the function module, it ask the value of block_new, then I push the button V (intro) Is it correct?
Cordial greetings.
‎2008 Oct 31 1:19 PM
Its a custom function, check if the parameter block_new is mandatory, if it is, set a default value '' or make it optional in the function modules parameter in se37 .
regards,
Advait
‎2008 Oct 31 12:42 PM
> What value intro in the function module? because the value of block_new is empty
You will need to tell us which FM you are refering to...
Based on your other posts you are on release < 46B , so perhaps only you can look into this FM and see what it is expecting of this parameter (if not space).
Cheers,
Julius
‎2008 Oct 31 12:44 PM
No, Space is not equal to empty.
To pass an empty value you should either clear the variable or pass ''(two single quotes without any space inbetween).
Regards
Karthik D
‎2008 Nov 03 12:28 PM
Hi all,
thank you for you attention,
I view that the field of the funtion module contain all fields as obligatory (check box no mark on optional)
Then, when I execute the funtion module on the destination, if I send value empty ¿what happen?
return error?
Cordial greetings.
‎2008 Nov 03 12:39 PM
Hi,
If there is no default value specified, and you dont pass anything, it will give an error because that parameter is mandatory. But if you define some default value to that parameter and you dont pass it, then it wont give any error.
But it should be ok if you simply pass '' ( 2 single quaotes without any space in between ) this will also work and it will treat it as blank value.
What is the data type for block_new ?
regards,
Advait
Edited by: Advait Gode on Nov 3, 2008 1:40 PM
‎2008 Nov 03 1:32 PM
Hi Advait,
LIKE IREF-IIND
Dummy structure with fields for purely formal DDIC refs - Yes/No (X/ )
Data element OAX
Domain X
Data type CHAR
No. characters 1
Decimal places 0
Output length 1
On tab value range (Single vals) :
This column the text tytle is empty and the value here too is empty
(text tytle) Fix.val.
X
(text tytle) Short text
Yes
This column the text tytle is empty but the value here is simbol equal
=
(text tytle) Fix.val.
(text tytle) Short text
No
Cordial seetings
‎2008 Nov 03 2:04 PM
Hi,
I dont see any problem with passing of 2 single quotes '' or SPACE to this parameter when you call the function. However , have you tried with assigning a default value '' in that parameter and see what happens.
Also if you execute the function using SE37, it will ask you to pass the value block_new if you leave it blank, then you can provide enter a singe space. But not when you call it from the program.
regards,
Advait
Edited by: Advait Gode on Nov 3, 2008 3:05 PM
‎2008 Nov 25 4:02 PM
Thank at all for you attention,
The problem is solved.
the profile of the user remote (ACTV 02 (changed)) on the funtion remote.