on 05-12-2008 9:44 AM
Hi Friends,
iam facing one proble in this program iam not gettting ekko data and ekko-ebeln value . so ,please correct the program and send it to me . reards are helpful answers.
Thanks& regards,
Narasimha Rao.
PROGRAM ZAN_GOODS_RECEIPT.
*----
TABLES DECLARATION.
tables : likp,lips,ekko,ekpo.
*----
FORM STRUCTURE DECLARATION.
form f_head tables in_tab structure itcsy
data:l_ebeln(10) type n.
data: begin of l_ekgrp occurs 0,
ekgrp type ekko-ekgrp,
end of l_ekgrp.
read table in_tab with key name = 'EKKO-EBELN'.
if sy-subrc = 0.
l_ebeln = in_tab-value.
select ekgrp
from ekko
into table l_ekgrp
where ebeln = l_ebeln.
endif.
read table out_tab with key name = 'EKGRP'.
if sy-subrc = 0.
out_tab-value = l_ekgrp.
modify out_tab index 1.
endif.
endform.
Hi,
form f_head tables in_tab structure itcsy
out_tab structure itcsy.
data:l_ebeln(10) type n.
data: begin of l_ekgrp occurs 0,
ekgrp type ekko-ekgrp,
end of l_ekgrp.
read table in_tab with key name = 'EKKO-EBELN'.
if sy-subrc = 0.
l_ebeln = in_tab-value.
select ekgrp
from ekko
into table l_ekgrp
where ebeln = l_ebeln.
endif.
read table out_tab with key name = 'EKGRP'.
if sy-subrc = 0.
out_tab-value = l_ekgrp.
modify out_tab index 1.
endif.
CHECk with THis.
If any doubts:REFER:
Regards,
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Why are you asking the same question again and again.....?
Can Any one Guess...? May be it is old post. I just found
this thread..
Edited by: Vijay Babu Dudla on Sep 25, 2008 5:44 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
did you call the form in the script as follows.
/: perform f_head tables in program ZAN_GOODS_RECEIPT
/: using &ekko-ebeln&
/: changing &ekgrp&
/: endperform.
Thanks,
NN.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi...
You have sent the form but how r u selecting in_tab and is there any data in in_tab.....
wht is the select query to select data in in_tab.
Regards,
sg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.