cancel
Showing results for 
Search instead for 
Did you mean: 

PO smartform

Former Member
0 Kudos

Hi Gurus,

I created a PO smartform and configured it in Nace.

When i try to see the print preview from me22n, i get the error that "Error in address output (name not filled)."

And when i try to click on any button in me22n it is showing me print preview, for example..when i click header button then it is showing print preview screen where we have to give the printer. and even when i try to come out using back button.

Kindly Help.

Thanks

Srihari.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

That Error is related to the Address node In the smartform.Please check the Address Node once.

The printpreview Coming for the every Click in ME22n is for the reason of delay in server time.

Thanks and Regards,

Reward If helpful(With points).

Former Member
0 Kudos

thanks for the reply shiva. But, what do i do to stop print preview come for every click. What should i rectify to stop that happening.

Regards,

Srihari.

Former Member
0 Kudos

Hi

This is the coding i am giving in the window of the smartform..

For progrma lines this is the code i gave:

SELECT SINGLE * FROM lfa1 INTO l_lfa1

WHERE lifnr = zxekko-lifnr.

IF sy-subrc = 0.

MOVE l_lfa1-adrnr TO adRNR.

ENDIF.

In input parameters:zxekko,output parameters:adrnr

then i created an address node, where in the address number i gave:&adrnr&.

Now,i am getting the error message:error in address output(name not filled).

Where did i go wrong.

Regards and Thanks,

Srihari.

Former Member
0 Kudos

Hi,

In input Parameters give LIFNR instaed ZXEKKO.

Regards

Sandipan

Former Member
0 Kudos

Thanks for the reply.I changed it, but i am not getting any output now. It is showing the output,but there is not data now. It is showing blank.

Regards,

Srihari.

Former Member
0 Kudos

Hi,

One thing is happening data is not there in ZXEKKO-LIFNR.

I have tried to pass a hardcoded LIFNR in ZXEKKO-LIFNR and then it is working.

And one thing when you are selecting Single data pass it in work Area Rather Than Internal Table.

See the code Below:--



zxekko-lifnr = '0000000121'.  "Check From Database Table LFA1 and give a value which have *adrnr* also
SELECT SINGLE adrnr FROM lfa1
INTO *wa_lfa1*
WHERE lifnr = zxekko-lifnr.
IF sy-subrc = 0.
  MOVE wa_lfa1-adrnr TO adrnr.
ENDIF.

Input Parameter: WA_LFA1

ZXEKKO

Output Parameter : ADRNR

Check and revert Back

Regards

sandipan

Former Member
0 Kudos

Thanks for the reply sandipan. I checked it and still not working. Howver, If you dont mind i will mail you the smartform and the print program, could you please check and then tell me what i have to change.

Thanks and Regards,

Srihari.

Former Member
0 Kudos

Hi,

I have checked it in my system and it is working.

Put a break point in the program lines as

break USERID.

Then Check whether adrnr is populating or not.

If it is not populating then it will give the error.

as i have earlier mentioned try to hardcode a LIFNR value and then Check.

Regards

Sandipan

Former Member
0 Kudos

Thanks for the REplys. It got solved and points rewarded.

Regards,

Srihari.

Answers (0)