Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

structure 'RP50D'

Former Member
0 Likes
1,858

Hi,

Could u pls let me know why is structure 'RP50D' used in Dynamic Actions? Pls give suitable programs where it has been used.

Thanks in advance,

Saipriya

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,253

Hi,

rp50d gets fille dduring the dynamic action.

You can put a break point and chk whether this structure is getting filled , if it does it's a dynamic action.

Also all the dynamic actions are store in table T588Z ,

you can chk up for the infotype u r looking for.

Check these links for more info.

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAPA/PAPA.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAPD/PAPD.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PYINT/PYINT_BASICS.pdf

http://www.atomhr.com/training/Technical_Topics_in_HR.htm

http://www.planetsap.com/hr_abap_main_page.htm

you can see some Standard Program examples in this one..

http://www.sapdevelopment.co.uk/programs/programshr.htm

http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci1030179,00.html?Offer=SAlgwn12604#...

These are the FAQ's that might helps you

http://www.sap-img.com/human/hr-faq.htm

http://www.sapgenie.com/faq/hr.htm

Reward Points if found helpfull..

Cheers,

Chandra Sekhar.

8 REPLIES 8
Read only

Former Member
0 Likes
1,253

Hi,

See the programs:

RPCDYNG0

RPUDYN442G0

Regards,

Renjith Michael.

Read only

Former Member
0 Likes
1,253
Read only

Former Member
0 Likes
1,254

Hi,

rp50d gets fille dduring the dynamic action.

You can put a break point and chk whether this structure is getting filled , if it does it's a dynamic action.

Also all the dynamic actions are store in table T588Z ,

you can chk up for the infotype u r looking for.

Check these links for more info.

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAPA/PAPA.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAPD/PAPD.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PYINT/PYINT_BASICS.pdf

http://www.atomhr.com/training/Technical_Topics_in_HR.htm

http://www.planetsap.com/hr_abap_main_page.htm

you can see some Standard Program examples in this one..

http://www.sapdevelopment.co.uk/programs/programshr.htm

http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci1030179,00.html?Offer=SAlgwn12604#...

These are the FAQ's that might helps you

http://www.sap-img.com/human/hr-faq.htm

http://www.sapgenie.com/faq/hr.htm

Reward Points if found helpfull..

Cheers,

Chandra Sekhar.

Read only

0 Likes
1,253

I understand that RP50D is used to get the return values from a subroutine that is called during Dynamic action. I also observed that the return values can also be directly populated in the Pnnnn structure and used as such in the Dynamic action. if that be the case why use RP50D?

Read only

0 Likes
1,253

Hello Saipriya,

Please gothrough this piece of code.

          • CREATE INFOTYPE 0041 **** (BRAZIL)

T001P-MOLGA='37'

P0000-MASSN='01'

GET_DATE(HBRDYNMS)

INS,0041/D

P0041-DAT01=RP50D-DATE

P0041-DAR01='PA'

P0041-BEGDA=P0000-BEGDA

You can see in the above code RP50D-DATE.

1) This getting filled from the Form GET_DATE(HBRDYNMS).

2) Now we want use this as the date in the infotype 0041.

The conclusion from this is , if we want to do some manipulations and use the manipulated data in the next infotypes. So this structure is filled and this is used in DYNAMIC ACTIONS to fill next coming infotypes.

Hope this will clear your doubt.

Regards,

Kiran I

Read only

0 Likes
1,253

Thanks for the info

In the place of the following piece of code

T001P-MOLGA='37'

P0000-MASSN='01'

GET_DATE(HBRDYNMS)

INS,0041/D

P0041-DAT01=RP50D-DATE

P0041-DAR01='PA'

P0041-BEGDA=P0000-BEGDA

if this is used

T001P-MOLGA='37'

P0000-MASSN='01'

INS,0041/D

GET_DATE(HBRDYNMS)

P0041-DAR01='PA'

P0041-BEGDA=P0000-BEGDA

and assuming that GET_DATE populates directly in the structure P0041-DAT01.

Both the cases seem to give the same result. So i would like to know if there would be aproblem if i do not use RP50D and directly populate the IT structure

Read only

0 Likes
1,253

Hi Saipriya,

You can not populate structure p0041 inside the routine GET_DATE since Dynamic action is triggered for IT0000 (I'm assuming it is triggered for Actions Infotype). Inside GET_DATE you can only modify the structure p0000 ans RP50D.

Now if you need to update the IT0041 with date from P0000, you store the date in RP50D structure in GET DATE routine, then use command INS,0041......./D, then populate p0041 with RP50D structure. This is the reason why return structure RP50D is used.

If the default fields provided by SAP are not sufficient then you can implement the include CI_PRP50D to include your own fields in the structure.

Hope this helps,

Shrinivas

Read only

Former Member
0 Likes
1,253

hi

good

check this link.

http://wiki.ittoolbox.com/index.php/Dynamic_Action

thanks

mrutyun^