cancel
Showing results for 
Search instead for 
Did you mean: 

Total line items in billing document

Former Member
0 Kudos

Dear Fnds,

I want to Find total line items in Billing document VBRk-posnr

Thanks in advance

Regards

raj.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

For this refer the table VBRP(Item data) and field POSNR.

Based on the information you can find the tot. line items in billing document.

BR,

Rajani

Former Member
0 Kudos

Dear rajini,

For example in my VBRK document iam having 10,20,30,40,50 line item sequences..

SO here total number of line item is 5..this number i want

Regards

raj.

Former Member
0 Kudos

Hi,

You can get the line items details in internal table then write the following command:

DESCRIBE TABLE itab LINES lv_lines.

In Lv_lines you will get the count for that Sales Order Number (VBELN).

Hope this may be useful..

Regards,

Prashant