cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with PA0378 and HR_MAINTAIN_MASTERDATA: How to handle dialog box

Former Member
0 Kudos

Greetings experts!

I'm using HR_MAINTAIN_MASTERDATA to, among other things, create a record in PA0378. My functional guy wants the BEGDA to be the same as the ENDDA but when you do that a dialog pops up (when you're using PA30) that says "

Current end date: 12/19/2008 (this is the one I'm using)
Calculated end date: 01/18/2009

Do you want to replace the current
end date with the calculated end date?

There are three buttons [Yes], [No] and [Cancel]. [Yes] is the default which is causing the calculated date to be used rather than the one I specified. How can I get around this using HR_MAINTAIN_MASTERDATA or, if I cannot get around it using that approach, will I have to do a recording or could I just use a Native SQL INSERT statement to create the record?

Many thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Are you using 'no display mode' ?

Former Member
0 Kudos

Yes, I think so (dialog_mode = '0'). This program will run as a batch (background).

Oddly enough, when I tried doing a BDC recording of 378 with same BEGDA/ENDDA the dialog doesn't pop up - I just get some warning messages and it accepts the ENDDA I use rather than the calculated one (I thought I could record myself clicking "No" on the dialog but it never popped up).

Thanks!!!

Former Member
0 Kudos

The 'No Display Mode' should supress popup message and should use the specified dates .

Can you run the program and confirm what dates it is using .

Former Member
0 Kudos

Now that I think of it, last night when we ran it I'd accidentally left the dialog_mode param to '1' and so the tester had to step through the screens. That might explain it. I've turned it to "0" now and we can re-test.

Thanks for you help.

Former Member
0 Kudos

Glad that it helped you .