cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with Extracting from Preceding item field (POSNV) in Table VBFA

Former Member
0 Kudos

Hi,

We are creating Sales Order with the copy functionality and used the concept of Preceding Document and Follow on documents from Table VBFA.

Quotation: VBTYP_N = B

Contract: VBTYP_N=G

Sales Order: VBTYP_N=C

For every Preceding Document, Follow on Document is created with Preceding Item (Technical Name: POSNV) as u201C0u201D and u201C1u201D.

We have built the logic as for every Subsequent Document Category (VBTYP_N) it will take Preceding Item (POSNV) as u201C0u201D and capture in the report. Thus help us to identify Sales Order Tracking.

For Example: Inquire No. 34 have following subsequent documents:

Output from VBFA:

Preceding Doc. Preceding Item Follow On doc Subseq. Item Subseq. Doc Cate.

34 (Inquire) 200039 B

34 1 200039 1 B

34 1 300241 1 G

34 1 400466 1 C

Preceding Doc. Preceding Item Follow On doc Subseq. Item Subseq. Doc Cate.

200039 (Quotation) 300241 G

200039 1 300241 1 G

200039 1 400466 1 C

And so onu2026

u2003

Preceding Doc. Preceding Item Follow On doc Subseq. Item Subseq. Doc Cate.

50 (Inquire) 200046 B

50 1 200046 1 B

50 1 300240 1 G

50 1 400465 1 C

Preceding Doc. Preceding Item Follow On doc Subseq. Item Subseq. Doc Cate.

200046 (Quotation) 1 300240 1 G

200046 1 400465 1 C

Here for Quotation 200046 Preceding Item u201C0u201D is not getting created. I have checked Order also but unable to find the cause for the same.

Can you please help me out in finding the cause of this problem.

Thanks,

Rajat Bhargava

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member588542
Active Participant
0 Kudos

Hello,

I am sure you have to change the copy control setting.

You have to tick the flag of ´´Copy Item number´´ and then the item numbering will be the same.

BR

L

Former Member
0 Kudos

Thanks Luis for the update.

This is the special behavior we are facing with one sales document only. Rest all are acting normal. If there is a copy control issue, then the subsequent document would not have been reflected in VBFA table with Inquire as input field as I have showed above (Inquire as number u201C50u201D).

Please correct me if I am wrong here.

Many Thanks

Rajat

Former Member
0 Kudos

Thanks Luis,

I found the cause of this issue. Contract is created with reference to Quotation, however reference functionality is copies later to order.

Thus table is not updated with correct value.

Thanks again for your reply.

Regards

Rajat

Former Member
0 Kudos

Pls let me know if you need any other detail regarding this.

Regards

Rajat