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: 

how to set(transaction) vorgang = 4 using BAPI_INCOMINGINVOICE_PARK

fikretsomay
Participant
0 Kudos

Hi,

I am using  BAPI_INCOMINGINVOICE_PARK .

I can successfuly create document, but it sets the transaction (vorgang) = 2 , Credit memo ,

but i want to create the docemnt with vorgang = 4 Subsequent credit.

I use :

Header- invoice_ind  = ''.

and

item-de_cre_ind = 'X'.

When i give these it creates the document with vorgang = 2 = Credit memo

Thank you.

6 REPLIES 6

former_member233510
Active Contributor
0 Kudos

For creating subsequent credit, you need to enter the value 'X' in the DE_CRE_IND field in the Item data and the INVOICE_IND value should be blank in the header data. Could you please re-check your entries?

0 Kudos

Hi,

Thank you for your answer. I have searched lots of forums,and also checked coding,but there is not any problem with coding.

Is there any situation that i cant create subsequent credit, with this bapi?

fikretsomay
Participant
0 Kudos

Hi,

Anyone has a solution?

Thank you.

0 Kudos

Hi,

these are the possible values.

XRECH = 'X' and TBTKZ = SPACE, then VORANG = 1 - Invoice

XRECH = SPACE and TBTKZ = SPACE, then VORANG = 2 - Credit memo

XRECH = 'X' and TBTKZ = 'X', then VORANG = 3 - Subsequent debit

XRECH = SPACE and TBTKZ = 'X', then VORANG = 4 - Subsequent credit

hope this helps.

0 Kudos

Hi

Thank you for your answer,but i also know that it depends on these values.The problem is when i am using that bapi result does not like as i wanted.= VORGANG = 4 - Subsequent credit,

At the RBKPB table it still saves TBTKZ with initial not X.

Thank you.

zhk
Discoverer
0 Kudos

i have same question and are you solve it?