Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
Read only

VKORG

Former Member
0 Likes
945

Hi Gurus,

I have a requirement as below,

Select all Orders from VKDFS where VKORG = Parameter ID VKO and VBTYP = “C”.

<b>i dont know the VKORG = Parameter ID VKO</b>. Can anybody help me out in this.

4 REPLIES 4
Read only

former_member404244
Active Contributor
0 Likes
906

Hi,

the parameter id for VKORG is VKO only.u can check in tcode->va01,there in the screen u will find VKORG,press F1 and see the technical information ,u will get..

Regards,

Nagaraj

Read only

0 Likes
906

hi,

Yah i know that, but with respect to that parameter id in select query, how will we retrieve the records?

Read only

0 Likes
906

Hi...

This is the Code for that:

DATA : V_VKORG TYPE VBAK-VKORG.

<b>GET PARAMETER ID 'VKO' FIELD V_VKORG.</b>

SELECT * FROM <YOUR TABLE> WHERE VKORG = V_VKORG

AND <ANY OTHER CONDTION>.

<b>Reward if Helpful</b>

Read only

0 Likes
906

Hi,

Actually I dont have any VKORG field in My Selection Screen.

then hw it is possible.?