2008 Oct 13 11:25 AM
Hi All,
i am developing extension idoc.
the basic idoc type is MBGMCR02. i want to extent this idoc adding two fields like MBLNR and MAKT_D.
i have created a Segment type which is having bouth fields.
but when i am creating extension IDoc system sowing error in 2nd screen "Action is not possible for generated idoctypes'.
help me please.
Hi All,
i am developing extension idoc.
the basic idoc type is MBGMCR02. i want to extent this idoc adding two fields like MBLNR and MAKT_D.
i have created a Segment type which is having bouth fields.
but when i am creating extension IDoc system sowing error in 2nd screen "Action is not possible for generated idoctypes'.
help me please.
2008 Oct 13 11:33 AM
hi,
you can use MBGMCR03 IDoc without Extension.
look at the new Segment: E1BPPAREX.
you can define a DD Structure with your fields and assign them to this new Segment.
Structurename = DDD Structure
And Valuepart1 = FIELD1FIELD2
2008 Oct 13 12:11 PM
Hi Gordon,
Can u please explain properly? How can I assign DD Structure to this new Segment?
2008 Oct 13 12:32 PM
Hi,
You need to create the structure 'CI_DATA' with the required fields and map the fields like this
E1BPPAREX-STRUCTURE = 'CI_DATA'
E1BPPAREX-VALUEPART1 = ur field values.
Hope it was helpful.Ask me if u need more clarification
Rhea.
2008 Oct 13 12:18 PM
Hello,
Here is what you need to do.
1. Create a Z-Segment in the Transaction WE31 with all the Fields that you want to have in the Extended IDoc
2. Specify a Z-IDoc Type , lets say ZMBGMCR02, and select the Option Extension in WE30. Click on Create Button.
3. A popup will be opened where you'll need to select the Option Create New. Specify the Linked Basic Type as MBGMCR02.
4. Add the Segment wherever you want at an appropriate position and choose the Optionality (Whether it is a Mandatory Segment) accordingly.
5. Save the Extension and you'll have the Extended IDoc Ready for your data storage.
Thanks and Regards,
Venkat Phani Prasad Konduri
2008 Oct 13 12:33 PM
Hi Konduri.
i know this. i want to know How can I assign DD Structure to this new Segment (E1BPPAREX)?
basic idoc type is MBGMCR02.
2008 Oct 13 1:47 PM
Mohanty,
you have to fill the PAREX Segment in the User/exit or BADI.
STRUCTURE = your DD Structure
You have to concatenate all fields of your Structure into the Valuepart fields until they are full
example:
structure = zstruc1
field1 = 'Hello'
field2 = 'World'
field3 = '12345'
Valuepart1 = 'HelloWorld12345'
2008 Oct 21 6:21 AM
Hi
BAPI_GOODSMVT_CREATE i need to Implement for MBGMCR03(basis type extension)??
2008 Oct 21 8:03 AM
Hello,
Which SAP version are you working on ? Atleast the extension segment E1BPPAREX is not present in the release 4.7 for the BAPI_GOODSMVT_CREATE function. Not sure of higher releases.
regards,
Advait
2008 Oct 21 8:25 AM
2008 Oct 21 8:57 AM
Hi,
Yes From ECC 6 there is extension segment (E1BPPAREX) for MBGMCR03 idoc type.
Also there is parameter EXTENSIONIN in BAPI_GOODSMVT_CREATE bapi.
Rhea.
2008 Oct 21 10:03 AM
thank,
i have add 3 fields in that idoc type.can u help me which process code use for Goods Movement and which Function Module is usefull.
and which program need to be run.
2008 Oct 21 10:07 AM
The process code should be BAPI in your case.
regards,
Advait
2008 Oct 21 11:18 AM
Hi,
This idoc is of type BAPI-ALE interface. So for these idoc's the process code will be 'BAPI' . This idoc inbound process code agiain will call BAPI_GOODSMVT_CREATE FM to create a goods movement. So you can use this IDOC type by configuring the process code as BAPI in we21.
Also use parameter EXTENSIONIN in BAPI_GOODSMVT_CREATE bapi
Rhea.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |