on 05-11-2007 4:24 PM
I am having trouble converting a SAPScript to SmartForm. Part of the reason is that I don't understand the SAPScript.
include &vblkp-zztdnameh& object vbbk id 0001 paragraph HT
if &sapscript-subrc& = ' 0'
...
Also is anybody willing to export a preconfigured (standard) SmartForm for me? I am looking for the PickList (SDPIK). We do not have the Best Practices update so I am not able to import the SAP Preconfigured SmartForms. I am on ECC 5.0
Regards,
Davis
that statement is trying to insert a text object of name
vblkp-zztdnameh (the content of this variable)
and object vbbk, id --0001., using paragraph format HT
and tis checking whether the text was written successfully .. (whether such a text was existing)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It will print 1 object with the Object of 'VBBK' (delivery header I believe), ID of '0001', and name of 'zztdnameh' .
Have a look at structure THEAD and/or FM READ_TEXT. This should help clarify things for you.
In your smartform create a Text Node and make the Text Type 'Include Text'.
Name = &vblkp-tdnameh&
Object = VBBK
ID = 0001
Check the 'No error if no text exists' checkbox.
Message was edited by:
Matt Nagel
To see what it will print exactly, go to So10 transaction.
GIve the value of vblkp-zztdnameh for Text name.
0001 for TEXT ID.
and press display.
If you want to do the same in the smartform, you should create a TEXT ELEMNET node in the smartform. Select the Standard Text from the List Box, then giv ethe Txt Name , ID and Paragraph format.
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.