cancel
Showing results for 
Search instead for 
Did you mean: 

PR03- Trip Advances- Remove Automatic Tick in Cash

Former Member
0 Kudos

In transaction code PR03- Trip Advances, when I make an entry in an existing trip by going to change mode, the "Cash" check box gets defaulted automatically with a tick.

If not required, I have to remove it manually.

How can I remove this automatic tick mark in Cash?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

This is a standard behaviour for Advance in transaction PR03. The field "cash" is always defaulted. Please see F1 help further.

This is also hard coded:

Include: MP56TF50

  • Begin of QHKK012709 Don't set KASSA to X in PR03 if field is hidden

select * from t706z1 where prog = sy-cprog

and morei = wa_head-morei

and schem = wa_head-schem

and dynnr = sy-dynnr

and fname = 'PTK08-KASSA'

  • and tripf = tripf

and rdynnr = 'PR03'.

endselect.

if not t706z1-auswl eq '-'.

  • vsch-kassa = 'X'.

vsch-kassa = 'X'. <<<<----


endif.

Regards,

Raynard

Former Member
0 Kudos

Hey Raynard

Thanks a lot.

I achieved it by changing the standard code as given by you.

Answers (2)

Answers (2)

Former Member
0 Kudos

May i know your actual requirement ??

Former Member
0 Kudos

Hi Anantha

My requirement exactly is that I do not want the cash box to be ticked by default in PR03

Former Member
0 Kudos

Hi,

Go to travel expense->Dialog and travel expense control->travel expense control->define posting and payment of trip advances.

Here check if "payment via cash office" is selected or not. Select 3rd option in this.

Hope this helps.

Thanks and Regards,

Shilpa

Former Member
0 Kudos

Thnx Shilpa

But its not working. I tried both the options other than cash office. But its still the same

Former Member
0 Kudos

please look into the BADIs and user exits and see if you can change it