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

PO driver program problem

former_member576008
Active Participant
0 Likes
3,095

Hi,

I am unable to debug PO driver program on SAVE, when i checked with my functional on config he says everything is perfect in NACE.

But, the driver program break points are called when i click on the print preview button. I want to check values on save in the program.

I have tried session break point and update debugging as well but no use.

Please help on this.

Regards,

NK

1 ACCEPTED SOLUTION
Read only

Sijin_Chandran
Active Contributor
0 Likes
2,801

Hello NK ,

I am unable to debug PO driver program on SAVE

Are you talking about PO (me21n) SAVE button here ?

If yes then this will not trigger Driver program unless and until any settings like

Is the output type configured in nace to be triggered on save immediately

as told by Yakub Shan has been maintained in NACE system ( though  I haven't heard about this before in case of PO  ).

SAVE button at me21n is to Check and Save the PO details in respective tables.

I think that only Print Preview , Print and Printing code like ME9F can only invoke Driver Pgm .

13 REPLIES 13
Read only

Former Member
0 Likes
2,801

Hi NK,

Is the output type configured in nace to be triggered on save immediately.

OR you want to debug the on save feature of PO

Regards

Read only

0 Likes
2,801

Hi Yakub,

even though i set a break point in driver program ON SAVE, its not stopping at the break point.

In Message, the medium is 1. Print output and send immediately on saving.

Regards,

Nandha

Read only

arindam_m
Active Contributor
0 Likes
2,801

Hi,

How about doing a /h before save and then when the debugger opens. You have option to set BREAKPOINT AT..

This will help you set a break-point say at the Source Code or Subroutine that can help you get to the point.

Cheers,

Arindam

Read only

Sijin_Chandran
Active Contributor
0 Likes
2,802

Hello NK ,

I am unable to debug PO driver program on SAVE

Are you talking about PO (me21n) SAVE button here ?

If yes then this will not trigger Driver program unless and until any settings like

Is the output type configured in nace to be triggered on save immediately

as told by Yakub Shan has been maintained in NACE system ( though  I haven't heard about this before in case of PO  ).

SAVE button at me21n is to Check and Save the PO details in respective tables.

I think that only Print Preview , Print and Printing code like ME9F can only invoke Driver Pgm .

Read only

0 Likes
2,801

excellent,thanks.

ME9F is the answer.

Thanks,

NK

Read only

0 Likes
2,801

Welcome NK

Read only

Former Member
0 Likes
2,801

Hi NK,

Place a break point in the driver program.

Before you click on SAVE button go to debugging mode using /h, switch on the update debugging and continue.

Regards

Praveen

Read only

0 Likes
2,801

Hi,

I have had coded the BREAK USERNAME in my report, on print preview its working but its the break point is not stopping, when i save though its is hard coded.

regards,

NK

Read only

0 Likes
2,801

Hi Praveen,

I have tried that, but didnt work.

Regards,

NK

Read only

0 Likes
2,801

hi,

check the printing PO using tcode ME9F (printing PO's), probably there the break point will work. Because during the ME21N at save, if the message is not set to be printed at save, it wont pass to the drive program to print the PO.

Regards

Miguel

Read only

0 Likes
2,801

Hi Migul,

Could you please tell in detail about "if the message is not set to be printed at save" from your reply.

I will check those settings.

Regards,

NK

Read only

0 Likes
2,801

Hi,

go to me21n, messages -> Further Data -> Dispatch time -> 4 Send immediately.

Regards

Miguel

Read only

RaymondGiuseppi
Active Contributor
0 Likes
2,801

Activate the debug in update mode (update debugging in debug menu)

Regards,

Raymond