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

Formal error: Invalid calling sequence for function modules

Former Member
0 Likes
424

Hi All,

I have developed a function module for FQEVENT 620 Payment: Transfer Line Items for Clearing.

The clearing works fine.

After clearing the open items i need to post an FI-CA Document(BAPI : BAPI_CTRACDOCUMENT_CREATE) for each open item(cleared item)

I have used the bapi : BAPI_CTRACDOCUMENT_CREATE in the same function module that i have developed for FQEVENT 620 Payment: Transfer Line Items for Clearing.Here i am getting an error "Formal error: Invalid calling sequence for function modules".

So please let me know where i can use this bapi to post fi-ca document.Is there a BAdi or Enhancement Spot where i can use this BAPI or tell me what should i do to overcome this error.

Regards

Venkat

1 REPLY 1
Read only

franois_henrotte
Active Contributor
0 Likes
337

try to call the BAPI function module with addition STARTING NEW TASK