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

Process Order number

Former Member
0 Likes
553

I have a selection screen that gets matnr werks charg. How to extract the process order number baesd on this information?

4 REPLIES 4
Read only

Former Member
0 Likes
526

Hi

write a select query based on the values given on the selection screen

like

select process number f

from table X

into table itab

where matnr = selection screen matnr

werks = ''''''''''''''''''''''''''''''''''''''''''''' werks

charg = '''''''''''''''''''''''''''''''''''''''''' charg

reward if useful

Read only

Former Member
0 Likes
526

Please table AFPO for item details (Matnr + Charg + Werks) and AUFK for header details

Read only

Former Member
0 Likes
526

I cannot get Process Order (AUFNR) from table AFPO because the batch number ( CHARG) is empty for all records.

I need the methodology to extract the process order using batch number. What table to go to?

Read only

Former Member
0 Likes
526

SELECT SINGLE aufnr

FROM mseg

INTO v_aufnr

WHERE charg = charg

AND bwart = '101'.

SELECT SINGLE werks

FROM caufv

INTO v_werks

WHERE aufnr = v_aufnr.