cancel
Showing results for 
Search instead for 
Did you mean: 

HRPAD00INFTY~IN_UPDATE

Former Member
0 Kudos

Dear Friends,

I have to insert the data in IT0000 ,IT0001 and IT0002 with the help of the HRPAD00INFTY badi.Am not aware about how i pass the value in this method IF_EX_HRPAD00INFTY~IN_UPDATE am not aware about i can do kindly help me out to guide me .

Kindly give me example so i can dooo at my level....

thanks

sandeep

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Try to get data and assign values in the follwing way:

FIELD-SYMBOLS: <loc> TYPE ANY.

DATA: gs_p0002 TYPE p0002,

ASSIGN ('(SAPFP50M)P0002') TO <loc>.

gs_p0002 = <loc>.

gs_p0002-ZZTELEPHONE = '11111111'.

<loc> = gs_p0002.

Regards,

Kanuprtiya

Former Member
0 Kudos

hi kanupriya,

i am not a fully technical guy so plz help me ...

My all the required data in the It0000 screen .Now i created the ZHRPAD00INFTY badi from se 19 in

HRPAD00INFTY~IN_UPDATE method i have to take all the screen values and save in the PA0002 table such as in standard badi is doing.

now how i will check it data regarding the IT0000 or IT0002 .

kindly guide me ......

i have my all screen data in this endmethod (parameters)

now how i have assign to pa0000.

method IF_EX_HRPAD00INFTY~IN_UPDATE.

NEW_PREF_IMAGE = NEW_PREF_IMAGE.

OLD_PREF_IMAGE = OLD_PREF_IMAGE.

NEW_IMAGE = endmethod..

OLD_IMAGE = OLD_IMAGE.

IPSPAR = IPSPAR.

endmethod.

thanks

sandeep

Former Member
0 Kudos

Hi Sandeep,

Can you please elaborate a little on the requirement?

Also, this badi will be called individually for all the infotypes i.e., when you are updating infotype 0001 (in PA30 or PA40) this badi will be called and the parameters of this will hold data for infotype 0001 only, and not any other infotype. So you wont be able to update data for any other infotype when you are working with infotype 0001 on the screen.

It would be of great help if you elaborate on your requirement.

Former Member
0 Kudos

Dear Ravi ,

i have to create the my own function module means z for creating the master data for 0000 infotype and 0002 infotype in that (HRPAD00INFTY~IN_UPDATE) method i have to write my code using the same parameter which am getting from that method.kindly help for the same ..

thanks

sandeep

Former Member
0 Kudos

Hi Sandeep,

Now the picture is pretty clear. But understand that this badi method will be called for every infotype that you maintain from PA30. As i understand you want to create infotype 0000 and 0002 using Z function modules in this method. But you want this to happen when?

Consider following as an example:

1) Maintain IT0001 using PA30

2) this badi method will be called automatically

3) put Z function modules in this method to create IT0000 and IT0002

4) end processing

The flow would look like above.

But still i m confused as to why there is such a requirement?!! If you could precisely elaborate the functional requirement that you have at hand then we can devise a better solution.

Regards,

Ravi.