Application Development and Automation 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: 
Read only

SAP Script

Former Member
0 Likes
279

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
253

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^

1 REPLY 1
Read only

Former Member
0 Likes
254

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^