‎2009 Feb 25 5:49 AM
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
‎2009 Feb 25 6:21 AM
Hello,
Goto we30 and give PREQCR02 and press F9 check that....
may helpful to u
Thank u,
santhosh
‎2009 Feb 25 6:31 AM
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
‎2009 Feb 25 6:42 AM
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
‎2009 Feb 25 6:47 AM
‎2009 Feb 25 7:19 AM
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
‎2009 Feb 25 8:43 AM
Hi Anil,
Can you please elaborate more on what do you mean by generated idoc types?
Thanks for help,
Madhura
‎2009 Feb 25 9:24 AM
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
‎2009 Feb 25 7:43 AM
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
‎2009 Mar 19 4:42 PM