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

ME_PROCESS_REQ_CUST

Former Member
0 Likes
432

I implement badi ME_PROCESS_REQ_CUST metod

PROCESS_ITEM ( check record by record of request )

i need to read cost center to do a custom control

but in structure MEREQ_ITEM there isnt cost center.

have me any help??

F

1 REPLY 1
Read only

Former Member
0 Likes
358

if you are debugging a BADI, click 'call'.

It will give you all the programs which are called or active and from where you can get any information.

for example if you find the program SAPMV45A and the variable you require is available in the program then in debugger just find out its value as a variable::

(SAPMV45A)VBAK-AUART

Example::

Now right the below code in your BADI to get the information....

CONSTANTS: C_VBAK(14) TYPE C VALUE '(SAPMV45A)VBAK',

FIELD-SYMBOLS: <FS_VBAK> TYPE VBAK.

ASSIGN (C_VBAK) TO <FS_VBAK>.

CHECK <FS_VBAK>-AUART = C_ZSQT OR

<FS_VBAK>-AUART = C_ZDQT.

SELECT SINGLE AUART

FROM VBAK

INTO V_AUART

WHERE VBELN = <FS_VBAK>-VGBEL.