Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Table COMH - how get corresponding message in Clear-Text

Former Member
0 Likes
1,540

Hello,

I have to read table COMH where Status is ‚D’ and send the corresponding message in ‘Text in Clear’ via email.

In COMH I found two fields, MSID and AUFNR

With this both, I read in Table COME

Now my Question:

Where can I find the message in Clear-Text?

Is there a Table or a Longtext or ... ?

( Sending messages via email I have solved in an earlier project.)

I will be pleased if someone can help me

Thank You

Best regards

Franz Patzal

Hello,

I have to read table COMH where Status is ‚D’ and send the corresponding message in ‘Text in Clear’ via email.

In COMH I found two fields, MSID and AUFNR

With this both, I read in Table COME

Now my Question:

Where can I find the message in Clear-Text?

Is there a Table or a Longtext or ... ?

( Sending messages via email I have solved in an earlier project.)

I will be pleased if someone can help me

Thank You

Best regards

Franz Patzal

8 REPLIES 8
Read only

Former Member
0 Likes
1,222

I don't know if these will help, but have you looked at COMHP and COMHR.

Instinct tells me that it's going to be in long text somewhere but I don't know what screens display this...

Neal

Read only

0 Likes
1,222

Hello Neal,

thank You for your answer.

But, I am sorry, unfortunately, this is not the solution.

theese both tables are empty in our system, but in COMH there are 260,000 entries.

best regards

Franz

Read only

0 Likes
1,222

Franz,

Could you tell me the tcode that creates / views these records.  At least what module they are from?  That would increase my ability to help.

Neal

Read only

0 Likes
1,222

Hello Neal,

My task is to look in table COMH and to dispatch the messages (MSID) with status 'D' in plain English by email.

I know neither the process nor the module.

I guess the Message is in longtext, but I did not find a corresponding MSID in Table STXH.

Best regards

Franz

Read only

0 Likes
1,222

Hi Franz,

Knowing underlying info like that is a necessity for an ABAPer.  Without knowing that kind of thing, you really can't do your job properly.  However, That type of knowledge is not in the ABAPer's job description.  That's why our Functional's are so critical to us.  It is their job to know that and give it to us.  It should normally come in your functional spec! 

Sounds like your functional is not on the ball.  I'd go back to them and tell them to buy a clue...

I will still dig around for you some more.

Neal

Read only

Former Member
0 Likes
1,222

Hi Franz,

Check these tables. I am not sure if this helps

TC50T - Process Message/Instr. Categories: Lang.-Dependent Texts

TC51T - Message Destinatiosn: Language-Dependent Texts

TC56T - Process Instruction Groups: Language-Dependent Texts

TCB01T - Process Instruction Types: Language-Dependent Texts

Check the above or else go to transaction SE80 and give the package name - COCB and it will bring all the necessary text tables, I hope this should help

Read only

0 Likes
1,222

Hello Raja Babu

thank You for your answer.

But, I am sorry, unfortunately, this is not the solution.

In the tables TCxx is the 'Clear-Text' to the Process Instruction Types etc.

I am searching for the 'Clear-Text' to the Field MSID in table COMH and COME

best regards

Franz

Read only

former_member213275
Contributor
0 Likes
1,222

Hi,

Try  reading values from table balhdr and balm using comh-msid = balhdr-extnumber, balhdr-lognumber = balm-lognumber and read values of msgv1, msgv2, and magv4.

Hope it helps.

Srikanth.