on 09-21-2010 12:23 PM
Hi Experts,
There is backend table value
1- task in process
2-task completed
- New task
For new task it is in blank value(null value). This is Standard SAP table.I binded moder attribute as simpletype for dropdownbykey.if i pass null its giving null pointer exception before executing BAPI
Regards,
Manivannan P
Helo Manivannan,
try this:
setAttributeValue(<name_of_context_attribute>, null);
I think if RFC import parameter is not optional, it should be set to null explicitly.
Best regards,
Chinnu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can do either way, like you can do it from R/3 side or with Portal side. But logic is same. In both way you have to use loop statement to suppress null to space.
If you do this at R/3 side,
then before return data you have to suppress null to empty space.
If you do this at Webdynpro side,
then dont bind BAPI ourput context directly, rather use some intermediate context, and map those context to drop down key. Each time, when BAPI calls, a loop has to be used to remove null to empty space then assign BAPI result to intermediate context.
and this will solve your issue.
Regards!
Sheik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
Try to pass blank string (" ")instead of NULL.
Thanks
Sarbjeet Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.