cancel
Showing results for 
Search instead for 
Did you mean: 

Event Handler Header Extension Table

0 Kudos

Scenario:

Currently, EH Header Extension Table ID (/SAPRCX/EHEXT) exist in system, based on /SAPRCX/EHEX table.

Tcode: /N/SAPTRX/TSC0ET (See attached file.)

Question:

If I want to add Fields to EH Header Extension Table ID (/SAPRCX/EHEXT) then How I can add new fields ?

or

How to create new EH Header Extension Table ID?

Thanks,

Chan Patel

Accepted Solutions (1)

Accepted Solutions (1)

former_member190756
Active Contributor
0 Kudos

Hello Chan,

just copy /SAPRCX/EHEXT. Add and remove fields.

Go to /SAPTRX/TSC0ET and enter the table here as new entry and save.

In the background a view must the be generated.

Check this in SE11.

Afterwards add the table to your EH Type in /SAPTRX/TSC0TT.

Best regards,

Steffen

Answers (1)

Answers (1)

former_member186607
Active Contributor
0 Kudos

Hi Chan,

the name of the generated view should be <namespace_of_new_table>V_<name_of_new_table_w/o_namespace>, e.g. view /SAPRCX/V_EHEXT corresponds to table /SAPRCX/EHEXT.

Cheers, Daniel

0 Kudos

I did exact steps.

1. Copy existing /SAPRCX/EHEXT Ext. Tab ID and create my own ZSAPRCXT ext. table ID. but is it says :

- No View table created.

SE11 There is predefined.table created like

/SAPRCX/V_EHEX

/SAPRCX/V_ELOC

/SAPRCX/V_EQPEXT

/SAPRCX/V_LEASE

2.  When I create new Extension table.

Give Extension Table ID, Description and when I choose ...Extension table for selection:

Lenth of table gives me error..like

/1CADMC/00000134 example then it display only /1CADMC/00000,no full table name and give error this table don't have active version.

Is some came across this kind of error..

1. Error message:

Error Message:

_________________________________________________

View /SAPRCX/V_EHEX for extension table /SAPRCX/EHEX could not be
activated

Message no. /SAPTRX/TS_APP204

Diagnosis

A view is generated for each extension table when the Customizing data is
saved.

This view could not be activated.

System Response

The extension table is not used.

Procedure for System Administration

Check that the fields used in your extension table do not occur in table
/SAPTRX/EH_HDR.

----------------------------------------------------------------------------------

-

kevin_wilson2
Contributor
0 Kudos

Chandresh,

You usually experience this issue if the person activating the extension table in the IMG activity is not a registered developer or has no authorizations to create a table in SAP. This is often the case that a configurer executes this transaction yet a developer needs to do it. You should now get a developer to create the view with the exact name that Daniel described above with the join between your Z table and /SAPTRX/EH_HDR. Once it's manually created then the selection will work.

Thanks

Kevin