on 10-11-2013 7:13 AM
Hi Experts,
We have made changes to the existing GP Input/Output parameter structure and the new requests are working fine.
When we open the old requests(Completed) which does not have new parameter structure is not opening since the structure is changed.
It throws GP Invocation Exception and structure with name and namespace null.
Any of you experienced the same issue? How can we fix this?
Appreciate your quick help.
Thanks in advance.
Regards,
Senthil
Hi All,
We have got the answer through the SAP messgae.
Solution:
Always perform the Null check for the structure before get/set any value in the GP interface.
For example:
if(businessPartnerOut.getStructureInfo().getStructure("StructureName") != null)
{
//do something here
}
if(businessPartnerIn.getStructureInfo().getAttribute("AttributeName") != null)
{
//do something
}
Thanks.
Regards,
Senthil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.