cancel
Showing results for 
Search instead for 
Did you mean: 

How can i move the position of the element in Script From ?

carlos_zhang3
Participant
0 Kudos

Dear Guru ,

I am developing one SCRIPT FORM for the purchase order in ECC6 system .

And i found it is very diffult to move the element position because i am adding the space in the editor for the position moving ...

Please see my stupid code :


/E	 	ITEM_HEADER_F
UL	 	&ULINE(105)&
IL	 	Item    Material    Description                               Unit   Qty
	 	   Price   Per      Net Value  Delivery Date
UL	 	&ULINE(105)&
IL	 	&EKPO-EBELP&   &EKPO-MATNR&       &EKPO-TXZ01&
	 	                           &EKPO-MEINS& &EKPO-MENGE&  &EKPO-NETPR&
	 	 &*T006A-MSEHT&  &EKPO-NETWR&  &EKET-EEIND&	 	                                                                        

I thought there must have another good idea to control the posiion of the element in script form editor .

Has someone knew that ?

Thanks a lot .

Best Regards,

Carlos

Accepted Solutions (1)

Accepted Solutions (1)

former_member188005
Contributor
0 Kudos

Carlos,

For the Paragraph tag IL sepcify the TABS where u want to place the elements

For Example: Go to Tabs in Paragraph for IL

Tab 1 - EBELP at 10 MM

Tab2 - MATNR at 30 MM and so on...

Make a note that the field length has to be condisered when specifying the position or else the values will overlap each other.

Regards..

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Carlos,

Tabs :

You can define as many tab positions as you require for each paragraph format. The text can be aligned in different ways:

u2022 Left-aligned with LEFT

u2022 Right-aligned with RIGHT

u2022 Centered with CENTER

u2022 At the sign with SIGN

u2022 At the comma or decimal point with DECIMAL

You can control the tab feed in a paragraph with tab positions. The tab stops you define in the paragraph format replace the tab spacing you defined in the header data of the form.

The tab stops are represented as, , in the text editor.

Eg:

/E ITEM_HEADER

IL <TI>Item,,Material,,Description</>

IP <TI>,,,,Quantity,,,,Price,,Price unit,,,,,,Value</>

/ &ULINE(71)&

/

/E ITEM_LINE

IL &VBDPA-POSNR&,,&VBDPA-MATNR&,,&VBDPA-ARKTX&

,,&VBDPA-IDNKD& &VBDPA-POSEX&

Regards,

Chandra Kavali

satyajit_mohapatra
Active Contributor
0 Kudos

Use tabs for the fields using ',,' as shown below.



/E	 	ITEM_HEADER_F
UL	 	&ULINE(105)&
IL	 	Item,,Material,,Description,,Unit,,Qty,,Price,,Per,,Net Value,,Delivery Date
UL	 	&ULINE(105)&
IL	 	&EKPO-EBELP&,, &EKPO-MATNR&,,&EKPO-TXT&,,&EKPO-MEINS&,,&EKPO-MENGE&,,&EKPO-NETWR&,,&*T006A-MSEHT&,,&EKPO-NETWR&,,&EKET-EEIND&	 
	

Now, in paragraph format IL-> TABS-> Define 8 tabs as left aligned with distance specified from the left margin.

Former Member
0 Kudos

Why do you need to "move"....the lines will only be laid down when you specifically call the element name...so call the element names in the sequence you desire....