Enterprise Resource Planning Blogs by Members
Gain new perspectives and knowledge about enterprise resource planning in blog posts from community members. Share your own comments and ERP insights today!
cancel
Showing results for 
Search instead for 
Did you mean: 
suman_sardar2
Active Contributor
32,148

Many times we are fetching data from the various tables where we have to take the Header details and also the Item details and to do that we have to incorporate the logic to the ABAPers with the proper Primary and Foreign key logic to fetch the correct data to build any Logistics report like Sales report.

As we all know that for any sales report we have take the following tables data as Header tables;

  1. VBAK
  2. LIKP
  3. VBRK
  4. MKPF

And corresponding Item details from the below tables;

  1. VBAP
  2. LIPS
  3. VBRP
  4. MSEG

And same is applicable for the Purchase report also.

Here are some tables which is as VIEW category where SAP has taken care the joining and the both Header and Item details can be seen in the SE16 or SE16N at a glance.

Table NameShort text
WB2_V_EKKO_EKPOData Selection from PO
WB2_V_EKKO_EKPO2Data Selection from PO (without WBGT)
WB2_V_LIKP_LIPSData Selection from Deliveries
WB2_V_LIKP_LIPS2Data Selection from Deliveries (without WBGT)
WB2_V_MKPF_MSEGData Selection from Material Documents
WB2_V_MKPF_MSEG2Data Selection from Material Documents (without WBGT)
WB2_V_RBKP_RSEGSelect Invoice Verification Documents
WB2_V_RBKP_RSEG2Select Invoice Verification Documents (without WBGT)
WB2_V_VBAK_VBAPData Selection from SO
WB2_V_VBAK_VBAP2Data Selection from SO (without WBGT)
WB2_V_VBRK_VBRLData Selection from Customer Billing Document Lists
WB2_V_VBRK_VBRL2Data Selection from Cust. Billing Doc. Lists (without WBGT)
WB2_V_VBRK_VBRPData Selection from Customer Billing Document
WB2_V_VBRK_VBRP2Data Selection from Customer Billing Documents (w/o WBGT)

Here are sample screen shot attached as reference;

Sales Billing Table

Purchasing Table

The above tables are very useful to check the Itemized details at a glance like Material Movement details,Billing details,Purchase details and etc.

Hope this is helpful.

Thanks,

Suman$

35 Comments
Former Member
0 Kudos

Hi Suman$,

thanks for the great information shared by you.It always becomes easier when we can get details of header and item table data in a single table.

Regards

Arya Nath

suman_sardar2
Active Contributor
0 Kudos

Hi Arya,

Thanks for the reply.

Yes it is time saving.

Thanks,

Suman$

amit_anasane
Active Participant
0 Kudos

Thanks for sharing usefull info..

suman_sardar2
Active Contributor
0 Kudos

Hi Siva,

For example go to SE16N and and put the table name WB2_V_MKPF_MSEG2 and execute it should display records.

Thanks,

Suman$

suman_sardar2
Active Contributor
0 Kudos

Thanks for the comment Amit :smile:

Former Member
0 Kudos

Hi SumanS,

Thanks for sharing such valuable a valuable doc.

Regards

-AJC

SivaPrasad_Vasireddy
Active Contributor
0 Kudos

Hi Suman,

Thank you for sharing its working Fine

Iam Able to Execute the Tables- (without WBGT)

suman_sardar2
Active Contributor
0 Kudos

Thank you Ashish..

moazzam_ali
Active Contributor
0 Kudos

Hi Suman

Can you please share where and why we will use these tables instead of VBAK VBAP VBRK and VBRP etc?? What is the difference between VBRP and WB2_V_VBRK_VBRP2?

Thank$

suman_sardar2
Active Contributor
0 Kudos

Hi Moazzam,

Every time we have to check some test case like canceled invoice when we have to take the data from the Header table VBRK and usually copying all the VBRP-VBELN to paste it in the VBRP to take the item data.

So we can take both the datas from the single table "WB2_V_VBRK_VBRP2".

I think this is useful to save some time.

Thanks,

Suman$

moazzam_ali
Active Contributor
0 Kudos

I didnt notice this. Yes you are right. It'll save time and its new thing for me to learn. Thanks for sharing Suman :smile:

Thank$

suman_sardar2
Active Contributor
0 Kudos

Thank you MoazzaM.... It feels great to hear such comment from you. :smile:

Former Member
0 Kudos

Thanks for sharing this useful information.

Regards

Manjit Dhiman

suman_sardar2
Active Contributor
0 Kudos

Thanks Dhiman..

0 Kudos

Very useful tables...appreciate you sharing this with all:)

suman_sardar2
Active Contributor
0 Kudos

Thanks Govind.

Former Member
0 Kudos

Hi Suman$,

                This is very much helpful and time saving. Thanks for sharing. :smile:

Regards,

Anirban Sukul

suman_sardar2
Active Contributor
0 Kudos

Thank you for the comment.Hope you are enjoying using it. :wink:

Former Member
0 Kudos

Hi,

Very handy info suman. Thanks for sharing. Sukant

srinu_s1
Active Contributor
0 Kudos

Thanks Suman for sharing this useful information.

Regards,

srinu.

suman_sardar2
Active Contributor
0 Kudos

Thank You

Former Member
0 Kudos

Hai suman .. thank you so much for your information ...nice posting keep it up it will help a lot

suman_sardar2
Active Contributor
0 Kudos

Thank you Venu

SivaPrasad_Vasireddy
Active Contributor
0 Kudos

Hi Suman,

Please can we get the Tables in the same way for PP(production) Module

i have serached but not able to Locate

Regards

Siva

Former Member
0 Kudos

Good it is.

nileshr_pawar
Explorer
0 Kudos

Thanks Suman!!!

VigneshV
Participant
0 Kudos

Dear Suman,

Great document.

Vignesh.V

gerald_brosch
Explorer
0 Kudos

Can you please explain the difference of the 2 views for example WB2_V_EKKO_EKPO and WB2_V_EKKO_EKPO2 (w/o WBGT)?
Why does view WB2_EKKO_EKPO does not contain any data in our System but the other view?

Thanks,

Gerald

Former Member
0 Kudos

Hi,

WBGT stands for Global Trade. If you don´t  use GTM, take those views ending with 2 in the document.

Regards,

JM

gerald_brosch
Explorer
0 Kudos

Thanks Joan! BR GB

Former Member
0 Kudos

Thanks for sharing!

thangam_perumal
Contributor
0 Kudos

Thanks for sharing. If i select in SE16N, it is coming "No Values found" but we have values in EKKO & EKPO.

suman_sardar2
Active Contributor
0 Kudos

Try this one.

WB2_V_EKKO_EKPO2

former_member185462
Active Participant
0 Kudos

Thanks for Sharing

former_member561926
Discoverer
0 Kudos
Wonderfull information Suman.

Regards

Sai
Labels in this area