cancel
Showing results for 
Search instead for 
Did you mean: 

2LIS_13_VDHDR confusion

Former Member
0 Kudos

Hi Team,

We have 0doc_number in header data for Billing Header extractor VDHDR.

Do we map this to Billing invoice number.?

If no, where does the billing invoice number map to.

I'm confused with 0doc_number showing in header and Item extractors and we have a seperate 0Bill_num showing only in Item .?

what gets mapped to 0doc_number and 0bill_num?

thanks

Andy

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

0doc_number -- might refer to Sales order number --Check VBAK-VBELN Sales order number.

0Bill_num -- refers to Billing number -- Check VBRK-VBELN

Former Member
0 Kudos

Thanks Manga for your reply.

But don't you expect the Header Data and Item Data are linked via the Billing Invoice number.?

I wanted to know which field does the BIlling Document number map to in 13_VDHDR.?

Or the reference between the Header and Item is via the sales doc number?

i.e The Header and Item Billing data are linked via Sales doc number

I think this is the answer? Can anybody confirm.

Thanks

Andy

Former Member
0 Kudos

I am sorry to misguide you on 0DOC_NUMBER...

In help it is clearly mentioned that 2llis_13_vdhdr 0DOC_NUMBER refers to Billing number. refer to thelink..

http://help.sap.com/saphelp_nw70/helpdata/en/1f/0bf23839caf878e10000000a114084/frameset.htm

And 2LIS_13_VDITM -- For Item..0DOC_NUMBER refers to Sales document number and 0BILL_NUM---Billing document number..

You need to map 0DOC_NUMBER of VDHDR to 0BILL_NUM of VDITM

The best way I would do is to do a RSA3 for both of the extractors take a Doc_number and compare ..

Former Member
0 Kudos

Yes, I have gone thru the same link, but what confounded me was the

Data Element

Field in Transfer Structure

Source

Fields were empty for 0Bill_num in VDITM...?

2LIS_13_VDHDR 2LIS_13_VDITM

InfoObject 0DOC_NUMBER 0BILL_NUM

Description Billing document number Billing document number

Data Element VBELN ?

Field in Transfer

Structure VBELN ?

Source VBELN ?

Yes, the RSA3 idea is Good.

But I shld say I did not understand this statement of yours

<b>You need to map 0DOC_NUMBER of VDHDR to 0BILL_NUM of VDITM ?</b>

I mean where? in the infosource?

Thanks again Manga for your time..

Andy

Former Member
0 Kudos

<i>You need to map 0DOC_NUMBER of VDHDR to 0BILL_NUM of VDITM ?</i>

I mean to say for comparison...you cant create any transformations or transfer rules between VDHDR and VDITM .

Even though 0Bill_num in VDITM is empty..it still refers to VBRP-VBELN..You can be sure on that.

Basically it needs to extract from the table right.. so help has given info on at the dataelement level so that you can know how much it would be if you go thru ABAPdictionary in Se11 on R/3 system..

Former Member
0 Kudos

Hi,

Sales document number is diff. from billing document number bcz when a customer given order/ quotation then sales document number will be raise, when the material delivered then billing document number raise.

Former Member
0 Kudos

Hi Manga,

thanks for the conirmation on 0Bill_num.

I will do RSA3 and check if 0doc_number and 0Bill_num correspond to the same data.

Any suggesions on how to handle if true/false

if 0Doc_numbr and 0Bill_num are same...but 0doc_number corresponds to sales doc number in BI rt? How do we handle this.

If 0DOcNumber and 0 Bill_num are indeed what they are i.e sales doc and billing doc..this doesnt make sense right?

The billing header data shld have Billing invoice?

I think we are going in circles...but RSA3 idea is good..I will see how the results are...but please let me know your thghts on the results from the RSA3 exercise.

Thanks

Andy