cancel
Showing results for 
Search instead for 
Did you mean: 

Vendor Details in UPPER CASE

Former Member
0 Kudos

Hi

My requirement is that, whenever a vendor is created or changed, and the Check is printed out using F110, the Name, address should always be in UPPER CASE.

I tried using a user-exit while save XK01(vendor Create)..to store the values in upper case...but it was of no use.

Can any one help me in this.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

adding more to sudheer's answer we must use the FM OIJY_CONVERT_TO_UPPERCASE , Translate is an obselete.

fareed

Former Member
0 Kudos

Hi,

Use FM 'OIJY_CONVERT_TO_UPPERCASE' instead of TRANSLATE because TRANSALE IS absolute statement in EC6.

Thanks,

Phani Diwakar.

Former Member
0 Kudos

Hi,

If the user exit does not work, try the FIELD EXIT for the required fields.

Regards,

Subramanian

Former Member
0 Kudos

Hi,

Check Printing using the script F110_PRENUM_CHCK, driver program name is RFFOUS_C

In the corresponding script layout "F110_PRENUM_CHCK" may be you have to write "PERFORM <form_name> in <program_name> USING <INPUT_FIELD> CHANGING <OUTPUT_FIELD>" the TRASLATE using UPPER CASE command. It will solve your problem.

Regards,

Sudheer

Edited by: Sudheer Pusala on Jul 28, 2008 9:56 PM

Former Member
0 Kudos

Thanks Sudheer,

We are using a custom script and custom print program.( Copied from Standard)

Can you please let me know in detail where do i need to write the TRANSLATE command.

The vendor data is being pulled from LFA1 table.

But iam unable to find that in the print program.

Can you please tell me where xactly do i need to code.

Former Member
0 Kudos

Logic to be written in SAP Script

/: PERFORM VENDOR_UPPER_CASE IN PROGRAM <YOUR_CUSTOM_PROGRAM>

/: USING &VENDOR_NO&

/: CHANGING &V_VENDOR&

/: ENDPERFORM

Logic to be written in "YOUR_CUSTOM_PROGRAM"

FORM VENDOR_UPPER_CASE TABLES in_tab STRUCTURE itcsy

out_tab STRUCTURE itcsy.

CLEAR v_VENDOR.

READ TABLE in_tab INDEX 1.

IF sy-subrc = 0.

TRANSULATE IN_tab-value USING UPPER CASE.

MOVE IN_tab-value TO out_tab-value.

CONDENSE out_tab-value.

MODIFY out_tab INDEX sy-tabix.

ENDFORM. "

Now in the script layout to display upper case vendor name write: &V_VENDOR&

Reagrds,

Sudheer Pusala.

Edited by: Sudheer Pusala on Jul 28, 2008 11:06 PM