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 - Generation using Output Determination Logic

Former Member
0 Likes
932

We currently have a solution in place whereby upon saving a customer agreement/contract (trans VA41 & VA42) an ORDERS05 IDoc is generated. This has been achieved using the following Output Determination settings;

Output Type ZA00 (copy of BA00)

Output Type to Partner Function setting of medium 'A' (ALE) and function 'SP' (Sold-To)

Access Sequence of 0004 (Sales Org/Sales Doc Type)

Output Determination Procedure of V10000 (Order Output) assigned at Header Level

We now wish to implement a Smart Forms solution so that we may print off the bespoke customer agreement either when the contract is first created (trans VA41), or following the addition of a new service/agreement line item (trans VA42).

I initially envisaged using Output Determination rules again however I am now unsure as to whether this will be the correct approach. The solution will be user driven in that they will highlight the agreement line item(s) which they wish to invoke the Smart Form contract for. However from here I cannot see how the output determination rules would be invoked.

If we can use output determination rules I am assuming that it will have to be be at line item level, however this solution will have to work alongside my current IDoc solution which proposes output at Header Level.

Can anybody help clear my confusion or provide documentation which would help. On SAP Help 4.7 I have found the Smart Forms section but cannot see details re output determination using condition techniques.

Many Thanks

Ian

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
672

Ian,

You are on the right track.

You can configure two output determination conditions, one which you already have and will send out a IDOC and the new one which print the smart form.

You can do this in NACE transaction. You just will have configure two output conditions.

Regards,

Ravi

Note : Please mark the helpful answers

3 REPLIES 3
Read only

Former Member
0 Likes
673

Ian,

You are on the right track.

You can configure two output determination conditions, one which you already have and will send out a IDOC and the new one which print the smart form.

You can do this in NACE transaction. You just will have configure two output conditions.

Regards,

Ravi

Note : Please mark the helpful answers

Read only

0 Likes
672

Ravikumar

Thanks for your prompt reply. I suppose the question I still have is how this will work based on the fact that IDocs are created at 'header' level based on the settings originally stated, but the items will have to be be at line level.

I can put in another condition as you suggest that references the Smart Form but I then need to link this to an item ? Looking at the item categories sat within the 'assign output determination procedures' section of the SD output determination section there is already a separate output type in use for some of the item categories I would need so does this prevent me from selecting these ?

Ian

Read only

0 Likes
672

Ian,

Usually the output determination conditions are at the header level of the document.

Now, given that if you want to have a filter on the iterm categories, you will have the data of the document inside the print program. So, you look at the item categories and filter the data. Pass the relevant data to be printed and if there is no data to be printed, don't call the smart form at all, just update the output condition as success.

Regards,

Ravi