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: 

BAPI_HRMASTER_SAVE_REPL_MULT - credit card upload problem

Former Member
0 Kudos

Hello All,

We are using BAPI_HRMASTER_SAVE_REPL_MULT to create/update credit card data for a personnel number.

A personnel number can have more than one credit card, with same validity. For example, one Amex card and one Visa card valid from May 1 2010 to May 31 2010.

( Which means in Pa0105, key is different only by Seqnr. )

When we pass this to BAPIHR0105-IT_REC_NO, and call the BAPI,

Its actually overwriting 000 SEQNR, instead of creating 001 when validity dates are same. (So only one row gets stored eg: Amex data)

How to achieve this please.

Note: From PA30 , its possible to 'create' similar records with same validity and 000 and 001 seqnr gets created.

Thanks

Meenakshi

1 ACCEPTED SOLUTION

suresh_datti
Active Contributor
0 Kudos

Have you tried using HR_INFOTYPE_OPERATION instead.. you will need to create a custom rfc wrapper,though

~Suresh

1 REPLY 1

suresh_datti
Active Contributor
0 Kudos

Have you tried using HR_INFOTYPE_OPERATION instead.. you will need to create a custom rfc wrapper,though

~Suresh