on 04-07-2008 6:27 AM
Hi together,
since we have to add new fields to an interface, I want to extend IDOC type SALESORDER_CREATEFROMDAT202. Apparently this doesn´t work with Trx. we 30/31 - similar to
DEBMAS05 eg.
Thanks for any help
Gerd
I have done this recently. The procedure is same and it should work. First create a custom segment in we31. Then create a custom "Extension" object in we30 and assign the basic type as SALESORDER_CREATEFROMDAT202. Then add segment to it. Save and release. u ll have to reimport the idoc structure in XI
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Usually wat happen is
when u say display it shows u all the segment and element relation ship that is called as IDOC strucutre.
I m not getting why u r not able to see the IDOC strucutre,
R u putting the name starting with Z and selecting the option create and selecting the basic type SALESORDER_CREATEFROMDAT202 in WE30 tcode.
can u pls let me nkow the step by step process wat exactly u r doing.
chirag
>
> Then I get the error message "ACTION IS NOT POSSIBLE FOR GENERATED IDOC TYPES"
Hi,
This IDoc type has been generated from BAPI: SALESORDER_CREATEFROMDAT2. I'm not sure if you can just extend this IDoc type as you extend normal IDoc types (the ones that are not generated from BAPI)
I think that you'd rather need to do a copy of BAPI: SALESORDER_CREATEFROMDAT2 to eg. ZSALESORDER_CREATEFROMDAT2 and then you need to generate a new IDoc type from this new BAPI.
Useful tcode: BDBG
Useful link: [Asynchronous BAPI-ALE Communication|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2a1dd5d3-0801-0010-ed8d-bd797ed922cb]
Regards,
Jakub
Hi,
1. Go to transaction we30 put the IDoc name and select radio button Extension
2. select create
3. on the pop-up screen there are three radio button. Just select 'Create New' and in the text corresponding select the same IDoc SALESORDER_CREATEFROMDAT202 and prefix it by ZSALESORDER_CREATEFROMDAT202 . now give description and press enter and your extension will get created.
Regards
vijaya
Hi,
It will not work since this IDoc corresponds the following BAPI: BAPI_SALESORDER_CREATEFROMDAT2 and it looks like you are not able to extend IDocs created by tcode BDBG. Each segments in the IDoc SALESORDER_CREATEFROMDAT2 represents import/tables paramters of FM: BAPI_SALESORDER_CREATEFROMDAT2. Normally , first you create the BAPI and then you generate the IDoc type by tcode BDBG.
If you had extend the IDoc type by we30 you should have had to also extend the parameters in FM but this is not how it is. ;(
Regards,
Jakub
Hi,
Sorry but that doesn´t work.
- we30 --> "object name" 'ZADDDATB' (as extenstion) --> CREATE
- popup window: "create new", linked basic type 'ZSALESORDER_CREATEFROMDAT202'
This creates an error message "ZSALESORDER_CREATEFROMDAT202" does not exist!
I think, Jakub´s idea is not bad...but I don´t have a clue how this works (trx. BDBG...)
Best regards
Gerd
UUUPS - Sorry I replied to the wrong message.
Edited by: Gerd Knoerle on Apr 8, 2008 7:51 AM
Hi Jakub,
I´ve found an OSS-note which could be helpful - If I would understand it
I´m talking about note #143580.
Perhaps you (or somebody else) can help me to solve this puzzle.
Here´s what the note says:
1. include a customer own include structure CUTEST to table VBAP (e.g.)
2. create a checkbox structure CUTESTX
3. These structures have to be added to structures VBAPKOZ, VBAPKOZX, BAPE_VBAP and
BAPE_VBAPX
ad 2.) How do you create a checkbox structure?
ad 3.) What structure(S) - I thought there has to be created only ONE?
Thanks for any help
Gerd
I´m talking about note #143580.
This note describes how to make use of enhancements for BAPI. Maybe if it handles enhancements for BAPI it will also support enhancement of IDocs created from BAPI but I don't know.
Get familiar with the enhancement technology for BAPI - Customer Enhancement and Modification to BAPIs
Then I would try to post BAPI (via se37) using EXTENSIONIN table just to know how to fill E1BPPAREX segment in the IDoc. While you managed to create SO with "additional" fields you might try to send the IDoc.
Regards,
Jakub
PS. English translations of German's notes are bad.
Hi Jakub,
you talk about bad translations of even worse German notes?
Do you know how to populate this "checkpox structure"?
I followed the instructions given in note #143580 and got an error message "field cfield1 is used twice"
--> that message pops up when you try to inlcude structures cutest and cutestx in structure vbapkoz.
Thanks for any help
Gerd
> Do you know how to populate this "checkpox structure"?
Do you have to do that? I haven't found it in the note.
> I followed the instructions given in note #143580 and got an error message "field cfield1 is used twice"
> --> that message pops up when you try to inlcude structures cutest and cutestx in structure vbapkoz.
Maybe it's because that in point 2 might be an error - I guess there should be just two fields:
CFIELD1 CHAR1
CFIELD2 CHAR1
I guess that all you need to fill in is a table: EXTENSION but I might be wrong.
Regards,
Jakub
Hi gerd
kindly follow these links to enhance data in IDOCs
https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_weblog&query=extendIDOCtype&adv=false&sortby=cm_rnd_rankvalue
/people/michal.krawczyk2/blog/2006/11/14/xipi-data-type-enhancements-standard-business-partner
/people/jiaxiang.huang/blog/2008/01/14/some-experience-on-idoc-enhancement
hope this may solve your problem
Thanks
sandeep
PS: if helpful Kindly reward points
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Did u followed the same process.
/people/jiaxiang.huang/blog/2008/01/14/some-experience-on-idoc-enhancement
Once u enhanced the IDOC then u need to import the enhanced IDOC in IR and use that.
chirag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.