cancel
Showing results for 
Search instead for 
Did you mean: 

How to get ITM_TYPE field value from IPricingDocumentUserExit java class

Former Member
0 Kudos

Dear Experts,

Can please help me in fetching ITM_TYPE field value from IPricingDocumentUserExit / IPricingItemUserExit java class.

I am working on Internet Pricing configuration (Java).

Plese share the piece of Java code to fetch 'ITM_TYPE' value.

Thanks in advnace,

Abdul Gafar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Abdul,

Try this out...



String itemType= "default";
try {
itemType= prItem.getHeaderAttributeValue("ITM_TYPE").getValue();
} catch (UnsuppliedAttributeException e) {
e.printStackTrace();
} 

Easwar Ram

http://www.parxlns.com

Answers (1)

Answers (1)

Former Member
0 Kudos

Dear Eswar,

Thank you for your information.

However I have not found the method

getHeaderAttributeValue() in IPricingDocumentUserExit / IPricingItemUserExit java classes.

Could you please check it once and let me know the class name on which the above method is invoked.

ITM_TYPE field is available in the structure CRMT_ACS_I_COM in crm.

Thanks

Abdul Gafar

Former Member
0 Kudos

Hi Eswer,

The code mentioned by you is the correct solution.

The configuration at CRM side is not done properly. So the ITEM_TYPE value is not fetched. After setting the configuration at CRM side, it is working fine.

Thanks for your input.

Abdul Gafar