Application Development 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: 

Generating new Request number

Former Member
0 Kudos

hi frends i was working with smartforms on develpment.i had made sme changes in the code and then save it.system asked for the request no.by mistake i had not gone for "own Request" and click OK for the default Request value displayed there. The changes i have done are not reflecting into the print preview(for which i had made changes).Is this because i had not created new request?how to slve it.can i generate new request and then see the changes in the print preview.

I want to see the changes in the same client and on the same server.

I am doing changes in the print format of the WORK ORDER.

8 REPLIES 8

Former Member
0 Kudos

Hi

If you're testing your modification in development system, and so in the same system where the rquest was created, I think your modification are wrong, because it does not matter in which request you've placed your smartform.

If you're testing the smartform in another enviroment, the problem can depend on the request but only if it hasn't be transported there yet.

Max

0 Kudos

thnx MAX....frend now i have created my new request saved the smart form and activted.but still it is not working....i have also tried to comment out the all code and then see the result..still it is not effecting the print preview.

I have a smartform designed earlier.There is a text elemet "PAN no of vendor" i clicked on it then system took me to a code. the ouptut parameter shown there is "FOR_PROJ". i have made the value of this FOR_PROJ=12345678. and commented out the rest of code.still it is not showing this value in actual print preview.

while creating PO with ME21N if we write anything under "your ref" field under "communication" tab then the data in your ref is displayed in the preview.

what shoud i do. i am very new to ABAP and smartforms.but i have to solve this

0 Kudos

Hi

How have you set the value for FOR_PROJ?

How have you commented the old code?

U make sure that text element is used, perhaps that information is placed in another text element

Max

0 Kudos

commented out old code just by using ".

and new code is:

clear FOR_PROJ.

FOR_PROJ = 12345678.

in global setting FOR_PROJ type char40.

i think i might have chossen the wrong place to edit the code.?plz suggest me the way. in the painter. i clicked on the appropriate line then it takes me to a text element and a code under it.

0 Kudos

also while creating PO with ME21N if we write anything under "your ref" field under "communication" tab then the data in your ref is displayed in the preview.

0 Kudos

You've written:

....i clicked on the appropriate line then it takes me to a text element and a code under it....

Probably the problem is here, your code modification has to be placed before the text elenent and not under the text element: try to move the abap node before the text

Max

0 Kudos

ITS LIKE THIS DISPLAYED OVER THERE. I AM IN FIRST PAGE:

%TEXT26 NEW TEXT 26
%CODE10 NEW PROGAM LINES10

0 Kudos

So you should have:

%CODE10 NEW PROGAM LINES10
%TEXT26 NEW TEXT 26

U need to change the value before printing it.

Max