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

Find Idoc extension type for Basic Idoc type

Former Member
0 Likes
5,790

Hi all,

Is there any way to find existing extesions for Idoc given by SAP? For example, for basic idoc DEBMAS05 for version 4.7 , Idoc extension is DEBMASEXT.

In similar way I want to know what is Idoc extension for Idoc basic type PREQCR02 [Create Purchase Requisition].

Thanks in advance.

Madhura

9 REPLIES 9
Read only

Former Member
0 Likes
2,935

Hello,

Goto we30 and give PREQCR02 and press F9 check that....

may helpful to u

Thank u,

santhosh

Read only

Former Member
0 Likes
2,935

Hello

Or Goto tcode we30 give the PREQCR02 and say display in that screen u have name as extra tb in that

extra->displat enhancement....there u can see the ext of that idoc type.

try this ......

Thank u,

santhosh

Read only

0 Likes
2,935

Hi,

Its not showing any extension name by any ways you have specified.

I tried creating Z extension also, where in I put e.g. ZTEST as extension name and radio button on Extension in WE30. It takes me to screen Create extension.

There I specify radio button on Create New and Linked basic type PREQCR02 and description.

As I press enter this gives me an error message Action is not possible for generated Idoc types.

What this error means? If I try to create Z extension for any other Basic type like MATMAS05, or DEBMAS05 , it creats suceesfully.

Can anyone elaborate more on what actually this error states?

Thanks,

Madhura

Read only

Read only

0 Likes
2,935

The reason is preqcr02 is a generated idoc type and matmas05 and debmas05 are not generated idoc types .

You can search in table EDBAS for this . If you go for dynamic debuggin , message comes from form

create_ext_structure in include MSED5F02


 data: l_edbas type edbas.
  select single * from edbas into l_edbas
     where idoctyp eq edi_iapi01-idoctyp.
 if l_edbas-generated eq 'X'.
   message e099(b1) with
      'Action is not possible for generated idoctypes'.
 endif.

Edited by: anil sasidharan on Feb 25, 2009 12:51 PM

Edited by: anil sasidharan on Feb 25, 2009 12:59 PM

Read only

0 Likes
2,935

Hi Anil,

Can you please elaborate more on what do you mean by generated idoc types?

Thanks for help,

Madhura

Read only

0 Likes
2,935

I also donno much about generated idoc types...I suppose this flag will be set if the idoc type is generated from some application ( like BAPI ) ....I'm searching abt it...will let u know if get further information .

You'll get more info about how this flag is set from includes DI40AF01,MSED5F02

Read only

Former Member
0 Likes
2,935

Hi,

Check transaction WE82 " Output types and Assignment to IDoc Types" overview. Here find and entry for the Basic type PREQCR02 and see if there is any extension assigned in the extension field.

These entries are stored in the table 'EDIMSG'

regards,

Advait

Edited by: Advait Gode on Feb 25, 2009 8:43 AM

Read only

Former Member
0 Likes
2,935

thanks