RE:[sap-log-mm] Display descriptions of cost center and G/L account in account assignment subscreen- ME51N / ME52N
Posted by
Admin at
Share this post:
|
0 Comments
Posted by Skroyd (SAP System Analyst) on May 21 at 2:10 AM | Mark as helpful |
We have done the following to display GL account text in ME51N & ME21N
We registered the SAP Object: R3TR FUGR MEACCTVI for our SAP Release: 701.
- In SE51, we added the field text_sakto to screen 1100 (Single Account Assignment) in program SAPLMEACCTVI.
- Via SE80, we added the following code to the flow logic of screen 1100 under PROCESS BEFORE OUTPUT: MODULE fill_text_sakto in the function group MEACCTVI.
- Within the MODULE fill_text_sakto we added the following code:
FORM FILL_TEXT_SAKTO .
SELECT SINGLE txt20 INTO text_sakto
FROM skat
WHERE spras eq sy-langu
AND saknr eq MEACCT1100-SAKTO.
ENDFORM.
Hope someone finds this helpful.
---------------Original Message---------------
From: sapconsultant
Sent: Wednesday, August 29, 2007 2:45 PM
Subject: Display descriptions of cost center and G/L account in account assignment subscreen- ME51N / ME52N
> Hi Gurus,
>
> i have a really nice job to do and i am really a person who workes the whole night to solve a problem but after several nights i now have to get external help:
>
> I have to display the description of cost center and G/L accounts in the account assignment subscreen (tab strip 'account assignment' in purchase requisition and PO.
>
> So far so good!
>
> I rememered the way to create a new account assignment subscreen 9000
> with transaction OXK1.
> - No problem
>
> I marked the indicator 'With TEXT' for the field 'cost center'
> - Test Creation of PO - cost center description on PO
> - Wunderful!
>
> >>>>>>> NOW THE PROBLEM:
>
> In transaction OXK1 the indicator 'WITH TEXT' for the field G/L account
> is grey so i can't set this!
>
> I tried the following:
>
> In transaction SE51 (for program SAPLKACB, subscreen 9000) I created an ouput field for the G/L account description, set up the determination coding (MODULE FILL_TEXT_SAKNR OUTPUT) and set the indicator 'WITH TEXT' hard in table 'TCOBC'.
>
> - Test Creation of PO - NO G/L account description on PO tab strip 'account assignment' - phew!
>
> When i checked the screen of field 'G/L account' on the tab strip 'account assignment' with F1 - F9 (techn. information) i saw that this is not
> program SAPLKACB, subscreen 9000 !!!! This field comes from program
> 'SAPLMEACCTVI' screen '1100' .
>
> It seems that there are two different subsceens on this one tab strip 'account assignment' in PO / requisition.
>
>
> HELP!!! Does anybody nows how i can get the description of the G/L account
> on the account assignment subscreen??
>
> I got tired after several failed trials and would be glad for any hint for a solution
>
> Thanks in advance
>
> Christian
__.____._ We registered the SAP Object: R3TR FUGR MEACCTVI for our SAP Release: 701.
- In SE51, we added the field text_sakto to screen 1100 (Single Account Assignment) in program SAPLMEACCTVI.
- Via SE80, we added the following code to the flow logic of screen 1100 under PROCESS BEFORE OUTPUT: MODULE fill_text_sakto in the function group MEACCTVI.
- Within the MODULE fill_text_sakto we added the following code:
FORM FILL_TEXT_SAKTO .
SELECT SINGLE txt20 INTO text_sakto
FROM skat
WHERE spras eq sy-langu
AND saknr eq MEACCT1100-SAKTO.
ENDFORM.
Hope someone finds this helpful.
---------------Original Message---------------
From: sapconsultant
Sent: Wednesday, August 29, 2007 2:45 PM
Subject: Display descriptions of cost center and G/L account in account assignment subscreen- ME51N / ME52N
> Hi Gurus,
>
> i have a really nice job to do and i am really a person who workes the whole night to solve a problem but after several nights i now have to get external help:
>
> I have to display the description of cost center and G/L accounts in the account assignment subscreen (tab strip 'account assignment' in purchase requisition and PO.
>
> So far so good!
>
> I rememered the way to create a new account assignment subscreen 9000
> with transaction OXK1.
> - No problem
>
> I marked the indicator 'With TEXT' for the field 'cost center'
> - Test Creation of PO - cost center description on PO
> - Wunderful!
>
> >>>>>>> NOW THE PROBLEM:
>
> In transaction OXK1 the indicator 'WITH TEXT' for the field G/L account
> is grey so i can't set this!
>
> I tried the following:
>
> In transaction SE51 (for program SAPLKACB, subscreen 9000) I created an ouput field for the G/L account description, set up the determination coding (MODULE FILL_TEXT_SAKNR OUTPUT) and set the indicator 'WITH TEXT' hard in table 'TCOBC'.
>
> - Test Creation of PO - NO G/L account description on PO tab strip 'account assignment' - phew!
>
> When i checked the screen of field 'G/L account' on the tab strip 'account assignment' with F1 - F9 (techn. information) i saw that this is not
> program SAPLKACB, subscreen 9000 !!!! This field comes from program
> 'SAPLMEACCTVI' screen '1100' .
>
> It seems that there are two different subsceens on this one tab strip 'account assignment' in PO / requisition.
>
>
> HELP!!! Does anybody nows how i can get the description of the G/L account
> on the account assignment subscreen??
>
> I got tired after several failed trials and would be glad for any hint for a solution
>
> Thanks in advance
>
> Christian
Copyright © 2010 Toolbox.com and message author.
Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
In the Spotlight
_.____.__ Your SAP Security is at Risk...Learn How to Stay Protected. Read the free white paper from SenSage