on 07-28-2008 8:48 PM
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.
Hi,
adding more to sudheer's answer we must use the FM OIJY_CONVERT_TO_UPPERCASE , Translate is an obselete.
fareed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use FM 'OIJY_CONVERT_TO_UPPERCASE' instead of TRANSLATE because TRANSALE IS absolute statement in EC6.
Thanks,
Phani Diwakar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If the user exit does not work, try the FIELD EXIT for the required fields.
Regards,
Subramanian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.