CI[Convergent Invoicing ] print form set up and determination
This post helps to understand how to set up the CI invoice print form setup and determination.
In CI, the print form setup is performed for the posting area 2680 . Before setting the values in posting area 2680, first we have to configure what are the set up input and output fields that would be used to determine the what is the form.
First look into the below table-TFK033C in Tx-SM30.
Look for application C and posting area 2680. Here 5 fields are specified i.e Invoicing Process, Invoicing Type, Invoicing Category, Company Code and Alt Form Determination to be used as input parameters to determine the form. In the function fields there are 4 fields , here we need to specify the print form ID and other control parameters.
Look for table-TFK033C1 in Tx- SM30 and look for the posting area 2680.
Here the F1/F4 modules specified for the input key fields and function fields.
Look for table-TFK033C2 in Tx- SM30 and look for the posting area 2680.
Here check modules are assigned for the fields.
Now let’s configure the required steps in Tx- FICAIMG for the form setup.
Select option- Define Billing Form.
Here specify a form ID( free text) and the application form[ the application form must exist in Tx- EFRM ]. Later we will come to Tx- EFRM to setup a new print form.
Select option- Enter Keys for Determining Alternative Billing Forms.
Define Form Determination(Free Text) as shown below.
Now select option- Define Specifications for Determination of billing Form.
The below screen appears, the posting area 2680. Here the view is already configured.
Here we have specified the alt form Determination= * and then provided the form ID as US01. Here we have not used the form determination”US01″ created in the option- Enter Keys for Determining Alternative Billing Forms.
Now from the menu select , Goto-> Select Keys.
Here we can see all the 5 fields that is assigned in the table- TFK033C for the posting area-2680. Here we have used only one field and it is possible that all the fields can be used for the input.
Now do the CI invoicing – Tx- FKKINV_S
Select the Billing Documents.
Provide the invoicing type.
Select Display Invoicing Document.
Here we can see the form ID and Form Name is determined. Usually when we run the CI invoicing the application should pass the alternate form determination ID and then it looks for the posting area 2680. As we don’t pass any values to the alternate form determination ID, then the program picks the entry mentioned with * from posting area and finds the form ID and from form ID gets the print form.
Do preview simulation.
Here is the print output.
The next thing we will try is to create own PDF form and then setup the process to pick this form.
Go to Tx- SFP and here just copy the old PDF form and create a new one.
Provide a name.
Activate the form.
In SPRO- Navigate to Print Workbench.
Usually for CI invoice the form class is – FICA_INVOICE.
Choose – Define Application Forms [ Or alternatively Tx- EFRM ].
Provide Application Form name and choose create. Provide form class as FICA_INVOICE.
Select for type- PDF based form and provide PDF form name created in Tx- SFP in above steps.
Activate and save the application form. Now we are ready with our own application from.
From Tx- FICAIMG
Let’s define Billing Form.
Provide form ID as TEST and assign the application form.
Lets define the Key for Determining alternative billing form.
Provide Form Determination – TEDT.
Choose- Define specifications for determination of Billing Form.
Provide alt form determination as – TEDT.
Now fill the function part.
Provide Form ID as – TEST and save.
Now let’s look for how the application will send the alt form determination key. It is the contract account.
In the convergent invoicing tab, the form determination is blank, so initially it picked the alt form determination key as * and then picked the form ID. Now lets assign our form determination key TEDT.
Create BITs , Create CI billing doc and create CI invoice.
During invoicing from contract account it picks the Alt form determination key as TEDT and from posting area 2680 it picks the Form ID as TEST and from form ID TEST derives the application form.
FM- FKK_INV_PRINT_PA_2680_GET can be debugged during CI invoicing to get to know how it derives the print form ID and print form.