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: 

PO & Output type

Former Member
0 Kudos

Hi,

In my current smartform, one of the criteria is if the output type is ZDFT, then display a certain text. How do I obtain the output type that was used in sending the PO to a smartform? Is it a system field?

Thanks,

John

4 REPLIES 4

Former Member
0 Kudos

Hi John,

You can see output types in TCode NACE.

Regards,

Satish

Former Member
0 Kudos

Hello ,

I guess the same would be available in the NAST structure of your SmartForm Print program. Pass the Output type as an Input to your Smart Form.

Regards

Saket Sharma

naimesh_patel
Active Contributor
0 Kudos

You can check the NAST-KSCHL.

You need to add one more Import parameters in the SMARTForms.

Open your Smartform ..Form Interface.. Import tabe.. Define like:

I_KSCHL type NAST-KSCHL

You can than use this I_KSCHL into the Smartforms to dispaly your certain text.

You need to pass this parameter in the FM call of the smartforms.

    CALL FUNCTION LF_FM_NAME
      EXPORTING
        ARCHIVE_INDEX      = TOA_DARA
 .........
         I_KSCHL            = NAST-KSCHL
      TABLES
.....

Regards,

Naimesh Patel

former_member191735
Active Contributor
0 Kudos

You can pass NAST structure or You can simply pass a parameter of NAST-KSCHL. make sure you pass the same from Print program and import in smartfomr to use further.

To be specific, export NAST structure from driver program with smartform interface and import the same in smartform.