on 06-05-2009 11:11 AM
Hi,
I had a requiremnt to display a particular field.
For example i had field called LIMIT VALUE .
When this value exceeds 15000 then i want to display a particular material in my main window.
And also after printing all the line items i want to display the approval history in a seperate page.
Regards,
Ram.
Hi,
As you said the data is already in the internal table, so add one more flag variable to that internal table and do the following changes in the driver program.
a) Loop through your internal table and then find the records with LIMIT VALUE more than 15,000 and there make the flag variable to 'X'.
b) Then while printing the data in the smartform give the condition and then proceed accordingly.
c) For printing the Approval history create a Text element after the mainwindow and then right click on the text element there Create -> Command.
d) There click the Go to Page check box and there give the new page name where you want to print the Approval history.
Hope this will help you,
Regards,
Venkat.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try to put a condition in the text element node.
If you observe in the text element there is a option for conditions there you can put a condition.
For the next one:
Try to create a seperate page for approval history and create a command node in that check the check box 'GO TO NEW PAGE' and give the page you created for approval history.
Regards,
venu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It is better to collect all the values into another internal table using that condition i.e LIMIT VALUE > 15000. Then display the values in main window. Implement the code in Driver program and transfer the values into Smart form or Script.
For 2nd Question
Create a separate page for approval history.
If it is Smart form use Command node to transfer the control to next page.
If it is a script use NEW-PAGE for next page based on condition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can put a condition in the text element node.
In the text element there is a option for conditions there you can put a condition.
For the second question
You create a seperate page for approval history.
And create a command node in that check the check box 'GO TO NEW PAGE' and give the page you created for approval history.
Hope this will help.
Regards
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
well either in sapscript or smartforms you can use
IF.
*coding e.G. A1 &GV_MATNR&
ELSE.
*coding
ENDIF:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you are working on smartfrom then you can have conditiom on the text element in Condition Tab.
Create the seprate page for approval history and call as next page .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.