SAP for Engineering, Construction, and Operations Discussions
Share your knowledge on SAP for Engineering, Construction, and Operations, connect with community members, and join discussions.
cancel
Showing results for 
Search instead for 
Did you mean: 

I need to add a single field from with_item table . need to write select query with reference to company code , account doc no , fiscal year

0 Kudos

I need to add a single field from with_item table . need to write select query with reference to company code , account doc no , fiscal year

3 REPLIES 3

Former Member
0 Kudos

Hi Arun ,

Can you explain little bit more ??

what is account doc no? 

what are the transactions should be displayed in your output??

-Rajesh N

0 Kudos

i have added the field in the final internal table , I just need to write a select query in loop with reference to  belnr,bukrs,gjahr

0 Kudos

SELECT SINGLE WT_QSSHH FROM WITH_ITEM into  corresponding fields of

  wa_tot where bukrs  =  wa_tot-bukrs and belnr  =  wa_tot-belnr

  and gjahr  = wa_tot-gjahr.

this query will serve the purpose?