‎2008 Oct 29 6:28 AM
Hi all,
i am getting these errors ,
data :it_header type bapimereqheader , "Transfer Structure for Purchase Req. - Header
it_headerx type bapimereqheaderx , "Change Parameter for Enjoy Purchase Requisition - Header
g_reqstno type bapimereqheader-preq_no,
PROGRAM: LZ_LPR_STRCREATETOP LINE: 114
Error: Structure name is not matching WA_RESULT
PROGRAM: LZ_LPR_STRCREATETOP LINE: 131
Error: Structure name is not matching IT_HEADER
PROGRAM: LZ_LPR_STRCREATETOP LINE: 132
Error: Structure name is not matching IT_HEADERX
select kostl "Cost Center
from csks
into table it_kostl
for all entries in it_data
where kokrs eq c_pur_org
and kostl eq it_data-kostl
and datbi ge sy-datum.
PROGRAM: LZ_LPR_STRCREATEU01 LINE: 253
Negative SQL Statements in Where Condition of Select
could any one can help me
thanks and regards,
urs,
suman
‎2008 Oct 29 6:30 AM
Hi Suman,
Where have you declared WA_RESULT?
and what is the TYPE of that work area.....
Also taking the errors into consideration, it looks like you are not using seperate work area in your loops or you have declared a work area that does not match the internal table type...
Please check if all the declaration of work area and internal table are correct.
Best Regards,
Ram.
‎2009 May 15 7:57 AM