Application Development 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: 

Field not getting defaulted

Former Member
0 Kudos
114

Hi,

I am working on Infotype 185, my requirement is i need to default the PAN no. for IT 185 based on some condition(i.e subtye for pan no.) . i am writing code in zxpadu01 for defaulting. But when we go through pa30 Tcode and try to create a record with subtype 2 , system after executing zxpadu01 exit, the standard module gets executed which again defaults the PAN card to 'AAAAA9999A'. The code for the same is mentioned below.

MODULE ASSIGN_DEFAULT OUTPUT.

IF PSYST-IOPER EQ 'INS' AND PSYST-NSELC EQ '1'.

P0185-ICNUM = 'AAAAA9999A'.

ENDIF.

ENDMODULE. " ASSIGN_DEFAULT OUTPUT

Module in which the code get executed is MP01852IN.

Any one who has worked on this please help me solving the issue .

Thanks in Advance,

Dhiraj.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
57

Hi dhiraj,

1. I don't think much can be done about this.

2. BCOS

3. The standard code

P0185-ICNUM = 'AAAAA9999A'

is getting called after our user exit.

4. One way is to REPAIR this include,

(by getting access key),

and remove the line

P0185-ICNUM = 'AAAAA9999A'

regards,

amit m.

1 REPLY 1

Former Member
0 Kudos
58

Hi dhiraj,

1. I don't think much can be done about this.

2. BCOS

3. The standard code

P0185-ICNUM = 'AAAAA9999A'

is getting called after our user exit.

4. One way is to REPAIR this include,

(by getting access key),

and remove the line

P0185-ICNUM = 'AAAAA9999A'

regards,

amit m.