02-13-2017 6:46 AM
I am not able to see print priview in ME23N . However we are using customize smartforms and output type. Please help asap.
Regards,
Priyanka.
02-14-2017 8:20 AM
I hope you have written the wrong code.
Me23n means Only single purchase order, Am i correct.
What is the meaning of the below query.
select knumv kposon kschl kwer from konv into corresponding fields of table it_konvl for all entries in it_ekpo where kposn = it_ekpo-ebelp.
You are fetching all purchase orders item level data. Suppose if it_ekpo-ebelp is 10
Then the above query will fetch all purchase orders item level 10 Data.
Execute the query in Se38 .
You need to pass ekko~KNUMV to konv~knumv.
Please Check the above logic.
hope you understood What you did Wrong.
02-13-2017 9:24 AM
Does it take time, or are you not able at all? This would actually be much different issues.
Change the customizing back to the standard form and test the scenario again. If the preview works with the standard form then you can be sure that your developer made something wrong.
02-14-2017 6:51 AM
error.png I'm not able to see print preview, It show's error message as attached. How to optimize code.
02-14-2017 7:30 AM
Hello,
here is key fields linkage between EKKO, KONV:
EKKO-KNUMV - Number of the document condition
KONV-KNUMV - Number of the document condition
Well to achieve the same you can make use of inner join on EKKO,EKPO and KONV.
thank you!!
02-14-2017 8:20 AM
I hope you have written the wrong code.
Me23n means Only single purchase order, Am i correct.
What is the meaning of the below query.
select knumv kposon kschl kwer from konv into corresponding fields of table it_konvl for all entries in it_ekpo where kposn = it_ekpo-ebelp.
You are fetching all purchase orders item level data. Suppose if it_ekpo-ebelp is 10
Then the above query will fetch all purchase orders item level 10 Data.
Execute the query in Se38 .
You need to pass ekko~KNUMV to konv~knumv.
Please Check the above logic.
hope you understood What you did Wrong.
02-14-2017 8:52 AM
Look in your system for good old SAP provided Smartform like Y640_MMPO_A, If found ask your Abaper to look at the global/initialization code for PREPARE_CONDITION and to adapt his own code. If not found look at 852250 - updated /SMB40/ preconfigured form for 470 and 640 and similar notes.
Regards,
Raymond
02-14-2017 10:44 AM
Check the Logic once..when fetching the data from the table KONV ...
02-18-2017 11:13 AM
Hi,
Actually this smartform developed by another developer. can any one guide me for the same. Where to go and change query.
02-20-2017 3:56 AM