Application Development 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: 

challan creation screen(J1if01)

0 Kudos

Hi,

if the user click the material document in the report it should take user to challan creation screen(J1if01)

i am capturing the values of Material Document & Material Document year but not capturing the Exercise Group.

below i am attaching the code.

SELECT SINGLE *

from J_1IEXGRPS

into J_1IEXGRPS WHERE J_1IWERKS = wa_final-werks.

exgroup = J_1IEXGRPS-J_1IEXCGRP.

SET PARAMETER ID 'J2I' FIELD exgroup.

SET PARAMETER ID 'MBN' FIELD WA_FINAL-MBLNR .

SET PARAMETER ID 'MJA' FIELD WA_FINAL-MJAHR .

CALL TRANSACTION 'J1IF01' AND SKIP FIRST SCREEN.

2 REPLIES 2

Former Member
0 Kudos

Check for sy-subrc condition after select. Further are you getting value in exgroup or not. pls check and revert.

anya

0 Kudos

Hi,

What i understood with your question!!

Is it giving you error in that transaction of challan.

If it is a mandatory field without which you cannot move ahead than pass other group field

and check again.

Please specify the exact problem you are dealing with..

Regards,

Mayank