cancel
Showing results for 
Search instead for 
Did you mean: 

F2 and IV simultaneously

Former Member
0 Kudos

Hi,

We are running VF04 with Delivery Related, Order Related and Intercompany Billing. During first run it creates F2, L2, G2 and in second run it creates IV's.

Is there any configuration required to create both F2 and IV simultaneously by running VF04 or VF01 only once ?

Please let me know on how to achieve this.

Thanks

Red Raider

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

If I run second time, it creates IV without any error.

0 Kudos

Hi,

This might be due to delay in updating the tables.

Please try executing VF04 with more than one document. Hope this helps.

Regards,

Sridhar

Former Member
0 Kudos

I tried with more documents and it gives the same errors. I just gave an example above.

Thanks,

RR

ivano_raimondi
Active Contributor
0 Kudos

Hello,

probably the database does not finish to update the first invoice, while tries to create the second, so the delivery is still locked.

In selection screen of VF04 there is a part 'Batch and Update'.

Please try to set Synchronous update.

It makes the system waits for database is updated before to go on to process the second line.

This would make the billing run a bit slower, but whould prevent locking problem.

Best regards,

Ivano.

Former Member
0 Kudos

Hi IVANO,

I tried both the options for Synchronous via VB log and w/o VB log. Still it gives the same error.

Do you remember its working for you ?

Thanks,

RR

ivano_raimondi
Active Contributor
0 Kudos

Hello,

please apologize, you are right. I tested in my system, and I got your same result !

It seems that in VF04 the system always runs in asynchronous update.

The flags are considered only when run SDBILLDL is run in background.

Please try to to perform SDBILLDL in background, or to perform VF06. In these cases the synchronous flag is considered, and lock problem should be solved.

Best regards,

Ivano.

Former Member
0 Kudos

Hello,

Please review the SAP Note 38501 in this regard.

Regards,

Raghavendra

Former Member
0 Kudos

Hi Raghavendra,

I already referred to that OSS note. It says about how to create IV before F2 but nothing about on how to generate both in one run.

Thanks,

RR

ivano_raimondi
Active Contributor
0 Kudos

Hello,

it is never possible to to create F2 and IV in one run by VF01.

After the implementation of note 38501, it is possible to create F2 and IV in the same run by VF04.

Please try to test.

Best regards,

Ivano.

Former Member
0 Kudos

Hi Raghavendra / IVANO,

We implemented the note.

Now in VF04, i can see both IV and F2 lines as below.

X I 4000 01/05/2012 C4001 IV FR 80965386 01 01 J

X L 4001 01/05/2012 1006953 F2 FR 80965386 01 01 J

When I click on SAVE, it just creates F2 and there will be an error log for IV as below.

Error Log for coll. run

0080965386 000000 Document 0080965386 is currently being processed

Diagnosis

The required processing is stopped, as the document

0080965386 is currently being processed and is therefore

blocked for this processing.

System Response

When creating billing documents, processing of the

preceding document 0080965386 is stopped. There is no

possibility of processing further preceding documents.

When creating cancellation billing documents, processing of

the preceding document 0080965386 is also stopped. As this

preceding document is part of the billing document to be

cancelled, cancellation of the complete billing document is

stopped.

If several billing documents are cancelled during

processing, processing of all billing documents is stopped.

Procedure

Check who is responsible for the document block and repeat

the transaction after clearing the matter.

Technical data

Tech. data details

Client 500

Group Number 1000088887

Sales Document Number 0080965386

Item Number of the SD Document 000000

Schedule Line Number 0342

Counter in Control Tables 00

Message Identification VF

System Message Number 342

Output Type E

Message Variable 01 0080965386

Message Variable 02

Message Variable 03

Message Variable 04

Group Type F

Please let me know about this.

Thanks,

RR