2006 Nov 08 6:13 AM
Hi all of you,
I am new to this community, i have heard a lot about you that here i can get any answers related to ABAP so today only i joined.
i am having a task " Purchase order layout. Here if the company code (EKKO-BUKRS) is AU05 print carter Holt Harvey on the top and if plant (EKPO-WERKS) is 6111 or 6115 then type billing information & print the address from ADRC."
If someone give me some help or code regarding this i will be very much helpful.
Helpful answers surely get rewarding points.
Regards
Shailesh
2006 Nov 08 6:30 AM
hi
good
though i am not giving you any code, i hope this ll help you to solve your problem,
1-design a selection sreen as company code and plant and make them select-options because your client may need that.
2-design your sapscript screen and assigned the varible as you r passing the data from the deriver program.
3-in your select statement as
select single bukrs from ekko into corresponding fields of table it_ekko where bukrs in com_code(fild name of the select options)
similarly you write for the werks and pass the value to your sapscript screen, it ll print your data.
thanks
mrutyun^
2006 Nov 08 6:30 AM
hi
good
though i am not giving you any code, i hope this ll help you to solve your problem,
1-design a selection sreen as company code and plant and make them select-options because your client may need that.
2-design your sapscript screen and assigned the varible as you r passing the data from the deriver program.
3-in your select statement as
select single bukrs from ekko into corresponding fields of table it_ekko where bukrs in com_code(fild name of the select options)
similarly you write for the werks and pass the value to your sapscript screen, it ll print your data.
thanks
mrutyun^