cancel
Showing results for 
Search instead for 
Did you mean: 

Calling custom Infotype method from Webdynpro Abap

ashish_shah
Contributor
0 Kudos

Hi Experts,

I am working on an application where i need to call a method of a custom defined infotype.

I have done this -->

1. Create a custom infotype 9111

2. SAP creates a class of that infotype ZCL_HRPA_INFOTYPE_9111

3. Inside this method there are few inherited method which provide me functionality of insert , update , delete

i want to call methods IF_HRPA_INFTY_BL~MODIFY,

IF_HRPA_INFTY_BL~INSERT

However when i call these method from webdynpro abap this method does not work.

where as when i try to insert an entry using PA30 transaction it works.

Does anyone know why does this happen and what is the solution?

Regards,

Ashish Shah

Accepted Solutions (0)

Answers (4)

Answers (4)

0 Kudos

Hi,

I have same requirement, can u please provide me the solution.

It will be very helpful.

Thanks,

Aman

Former Member
0 Kudos

try using HRPA_INFTY_DB, should work.

regards

sivaraj

ashish_shah
Contributor
0 Kudos

NO solutions yet

Former Member
0 Kudos

Hi Ashish,

You need to create method inside your assistance class, the class your webdynpro component talks to.

Within the methods of Assistance class you will have to create instance of ZCL_HRPA_INFOTYPE_9111 and call its method IF_HRPA_INFTY_BL~INSERT passing the data.

Cheers

Prashant