Application Development and Automation 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: 
Read only

Smart forms dunning

Former Member
0 Likes
963

Hello Everyone,

I am new to SAP Smartforms. I have a scenario where a dunning report needs to be generated for some company codes. There are 120 company codes out of which only for 40 company codes the dunning report needs to be generated.

I don't know where and how I can provide list of company codes without hard coding. Please help me.

3 REPLIES 3
Read only

Former Member
0 Likes
848

Can someone please help me

Read only

rajkumarnarasimman
Active Contributor
0 Likes
848

Hi Sanjay Selvan,

"I don't know where and how I can provide list of company codes without hard coding. Please help me.

Use TVARV table and maintain the company codes instead of hardcoding as shown in below screenshot.

Regards

Rajkumar Narasimman

Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
848

What does this have to do with the Smartforms? This should be decided by the output program before the form is even called.

I'd check first with the FI consultant on the options to use FI correspondence (or whatever is the right term for this) configuration to trigger output only for the companies that require it. Not sure why this is even an ABAP task...

As far as alternatives to hard-coding in general - obviously you'll need to store this information somewhere. Sorry, even if you're new to anything it's just simple logic IMHO.