Skip to Content
author's profile photo Former Member
Former Member

Attach Customized PO Smartform in me23n

Hi Experts,

I have added the customized driver program and smartform in nace.

The client wants to print the PO from the standard transaction me23n. The print icon is disabled. How come?

Regards

Mani

Picture1.jpg (59.5 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    Posted on Jan 10, 2014 at 11:34 AM

    Please dont the whole code. Instead you can add it as attachment. I checked your code when you do print preview PO number will come in NAST table you should use that not P_EBELN. Declare a global data as NAST. Check in debugging what value you get there.Check how SAP is doing in SAPFM06P

    Nabheet

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      zmm is the driver program and smartform name is ZMMSF_PO_PRINT3.

      The issue has been resolved. After debugging, I checked that the SSF Function module for not getting triggered.

      Special thanks to Kiran and Nabhneet. #Respect,

      Regards

      Mani

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2014 at 10:21 AM

    Hi,

    In me22n, I clicked on Messages and entered the details. Then its showing print preview and print icon enabled. But when I click on print preview button it says "Processing routine ENTRY_NEU in the driver program does not exist."

    Regards

    Mani

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2014 at 08:13 AM

    Hi Mani,

    Place the screen shot! where the icon is disabled!

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 10, 2014 at 08:18 AM

    Hi,

    Check your smartform. It should be active and error free.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 10, 2014 at 09:06 AM

    Hi,

    Can you run the smart form driver program by itself ?.

    I always develop smart form driver program as standalone executable program that can also be called via form .

    This way the developing / testing / trouble shooting is much easier.

    For example printing delivery note:

    Interactive:

    ELECTION-SCREEN BEGIN OF BLOCK block04 WITH FRAME .

    PARAMETERS: p_vbeln TYPE likp-vbeln OBLIGATORY MATCHCODE OBJECT vmvl .

    PARAMETERS: p_langu TYPE t002-spras DEFAULT sy-langu .

    SELECTION-SCREEN SKIP .

    PARAMETERS: p_dialog TYPE nodia AS CHECKBOX . "DEFAULT abap_false .

    PARAMETERS: p_prview TYPE tdpreview AS CHECKBOX . "DEFAULT abap_true .

    PARAMETERS: p_immed TYPE ssfcompop-tdimmed AS CHECKBOX . "DEFAULT abap_true .

    PARAMETERS: p_delete TYPE ssfcompop-tddelete AS CHECKBOX . "DEFAULT abap_true .

    PARAMETERS: p_padest TYPE tsp03-padest ." OBLIGATORY .

    SELECTION-SCREEN SKIP .

    PARAMETERS: p_sform TYPE tnapr-sform DEFAULT 'YSD_RVADDN_J_01' OBLIGATORY .

    SELECTION-SCREEN SKIP .

    AT SELECTION-SCREEN .

    nast-objky = p_vbeln .

    nast-ldest = p_padest .

    nast-dimme = p_immed .

    nast-delet = p_delete .

    DATA: my_subrc_1 TYPE sysubrc .

    PERFORM entry

    USING

    my_subrc_1

    p_prview .

    Via form :

    *----------------------------------------------------------------------*

    FORM entry

    USING

    return_code

    us_screen .

    p_prview = us_screen .

    IF 'YSD_RVADDN_J_01 SEU_INT SE38' NS sy-tcode .

    p_dialog = abap_true . "No dialog .

    ENDIF .

    p_padest = nast-ldest .

    p_immed = nast-dimme .

    p_delete = nast-delet .

    likp-vbeln = nast-objky .

    PERFORM get_data_1 .

    ENDFORM . "entry

    *----------------------------------------------------------------------*

    Regards.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Eitan,

      Apologies for the late reply. The client is already using the smartform through some custom tcode. They want to use in me23n itself. Are you saying custom tcode would be better?

      Regards

      Mani

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.