Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Java mapping for optional fields

Hi experts,

I am doing an java mapping, for the input structure there are some optional optional fields in it. It means while getting input file those fields may or may not contain the value so i what to handle the empty fields because i am getting null pointer exception while reading those fields.

Can any one please suggest how to handle empty fields in java mapping any of your help is highly appreciated.

Regards,

Avinash.

Former Member
Not what you were looking for? View more on this topic or Ask a question