cancel
Showing results for 
Search instead for 
Did you mean: 

Assignning Output type to Invoice/Po.

former_member181995
Active Contributor
0 Kudos

Ho Folks,

is there any userexit in the Invoice print/po print for assigning the exact form to an output?

I have different forms for each country right now.

I would prefer not to setup an output type (email) for every country unless I have to.

The best solution would be a userexit so that I can build a table to assign the correct form.

is there any user-exit or program so that i can assign?

Amit.

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member181995
Active Contributor
0 Kudos

No answer!

0 Kudos

Hi,

this could easyly be solved by using your self-defined print program:

copy for example standard print program RVADIN01. Before the open_form call

CALL FUNCTION 'OPEN_FORM'

EXPORTING

APPLICATION = 'TX'

ARCHIVE_INDEX = TOA_DARA

ARCHIVE_PARAMS = ARC_PARAMS

DEVICE = LVF_DEVICE

DIALOG = ' '

FORM = TNAPR-FONAM <-----

LANGUAGE = NAST-SPRAS

OPTIONS = LVS_ITCPO

MAIL_SENDER = LVS_SENDER

MAIL_RECIPIENT = LVS_RECIPIENT

you should assign the name of the form to field TNAPR-FONAM depending on your requirements.

The self-defined print program can then be assigned the output type in TA V/40.

Regards,

Andreas

former_member181995
Active Contributor
0 Kudos

This message was moderated.

Former Member
0 Kudos

T-code : NACE

Click on "Output Types"

Select the output type and double-click on "Processing Routines"

and put the form name.

former_member204513
Active Contributor
0 Kudos

Hi Amit,

These are the User Exits available in the billing please go through this and choose one of them which will sute for you with the help of ABAPer.

User Exits For Billing

USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)

The internal number range used in the standard system is specified in the billing type table and can be changed in this user exit. This user exit is only called when the billing documents is created.

USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)

In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMKCV (header fields).

USEREXIT_ACCOUNT_PREP_KOMPCV (Module pool SAPLV60A)

In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMPCV (item fields).

USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)

Depending on the number range, table TVFKD is used to set the billing date (country-specific requirments in Italy). USEREXIT_NUMBER_RANGE is automatically deactivated when this user exit is being applied.

USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)

This user exit is only called when the billing document is created. It is used to provide the header and the item of the new billing document with deviating or additional data.

USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB)

Printing the item line of a billing document can be supplemented or changed.

USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)

Printing the header line of a billing document can be supplemented or changed.

User exits in program RV60AFZD

Short descriptions of the user exits are contained in the program:

USEREXIT_RELI_XVBPAK_AVBPAK

USEREXIT_NEWROLE_XVBPAK_AVBPAK

USEREXIT_NEWROLE_XVBPAP_AVBPAK

I hope it will help you,

Regards,

Murali.

former_member181995
Active Contributor
0 Kudos

HI Murli,

Is there any USER EXIT by which i can assign my form directly to it.

As i have many form for different countries.

rasikm_waghela
Active Participant
0 Kudos

I think in transaction SM30 you can create customized table.

Please take help of your abaper in this.

Regards