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

Problem with BAPI_FTR_PAYDET_DELETE

Former Member
0 Likes
671

Hello,

I want to change the payment-details within security-transactions concerning "House Bank". I plan to do this using

BAPI_FTR_PAYDET_DELETE and BAPI_FTR_PAYDET_CREATE.

To start I created an ABAP to call "BAPI_FTR_PAYDET_DELETE". I provided this FM with the details of the payment-detail to be

erased. Within debugger I saw that the correct deal-data and payment-data were selected and the correct entry within VTBZV was selected for deletion.

At the end the SAVE-Method was called and the BAPI returned with SY-SUBRC = 0 and also the table for all kinds of messages contained no entry.

So I supposed that the BAPI was executed successfully.

But the real result was absolutely nothing: within the security-deal all payment-deals still were present. There were also no messages within system-log.

Something must have gone wrong but I got no information from the BAPI.

Does anyone know more about BAPI_FTR_PAYDET_DELETE?

Thanx a lot!

Dietrich Kunze

4 REPLIES 4
Read only

VenkatRamesh_V
Active Contributor
0 Likes
618

Hi, Dietrich,

Pass  Fields with the  correct Format.

Use this Function module for Conversion  'CONVERSION_EXIT_ALPHA_INPUT'


Regards,

Venkat.

Read only

0 Likes
618

Hi Venkat,

thanx for your reply.

What is your intention using this FM? Do you suggest to apply it on the input-parameters?

Regards

Dietrich

Read only

0 Likes
618

Hi,

In bapi some fields  never consider,if you never delcared with the domain size.

Eg: table entry contains 000123, in excel contains entry without zero means it will never consider.

Use that FM and try.

Regards,

Venkat.

Read only

0 Likes
618

Hi Venkat,

I took a very close look at the BAPI within debugger and finally found the reason: at the end this BAPI calls an FM IN UPDATE TASK and this requires mandatory a COMMIT WORK within the calling program.

I completely forgot that. Sorry bothering you!

Regards & thanx for your patience

Dietrich