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: 

ERROR: You have entered an invalid credit card number (see online info)

Former Member
0 Kudos

Hello experts,

I'm using the following code to do an organizational reassignment.

CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
  EXPORTING
    PERNR                   = PERNR
    MASSN                   = '02'
    ACTIO                   = 'INS'
    BEGDA                   = start_date
    ENDDA                   = '99991231'
    WERKS                   = PERS_Area
    PERSG                   = Empl_Group
    PERSK                   = Empl_Subgroup
  IMPORTING
    RETURN1                 = bapiret1
  TABLES
    PROPOSED_VALUES         = t_prop.

BUT I keep getting the error:

E RP 145 You have entered an invalid credit card number (see online info)

This I find very strange as in t_prop I don't give a credit card number.

I have just filled it with the IT0000 data.

Even if I fill it with all required fields (Credit card number is not required), it makes no difference.

Even if I fill t_prop with all required fields and a valid credit card number, it doesn't work...

Please help, I don't see what is wrong here...

4 REPLIES 4

former_member184119
Active Contributor
0 Kudos

Please Check the exceptions and message once!!

Regards

Sas

0 Kudos

Please Check the exceptions and message once!!

Regards

Sas

What do I need to do?

If you mean, check what the error message means: I already did this and it does not make any sense, because I'm not giving a credit card number and even if I do, it generates the same error... (???)

Former Member
0 Kudos

Via PA40 you could just skip the credit card number without filling anything in.

Via FM HR_MAINTAIN_MASTERDATA it took empty fields as value (???)

So I skiped the copying of the communication infotype and it works fine...

0 Kudos

Hi,

how did you skiped the infotype?

do I need to add special command to table PROPOSED_VALUES