04-19-2012 10:05 AM
Hi Experts,
We have an Idoc created using the BDFG transaction ,which needs to be enhanced with a new field.
I am new to BDFG and hence would like to know the steps to be followed for the above.
Thanks in advance!
Regards,
Diptee
04-19-2012 10:39 AM
Hi,
Procedure to Generate a custom message from Ale Interfaces :
-> Start Transaction BDFG
• Enter Function Module as CRMXIF_PARTNER_REL_SAVE and press Enter. The corresponding Business Object and relevant Message Types are displayed
• From the menu choose Interface Create
• Enter the parameters as shown below for Outbound Processing. Leave the Inbound Processing parameters unpopulated
-> Press the Continue button to proceed
• Once the Interface is generated, choose the menu option Interface Check to see if all components have been created and activated successfully
• Go to Transaction WE30, enter IDoc Type ZCRMXIF_BUPAREL_EXT01 and choose the menu option Development Object Check. All the non-released segments are highlighted in the check
• Set the Release for all the non-released Segment Types through Transaction WE31.
Structure for Custom Fields in the interface Procedure:
-> Create a Structure ZDB1_CENTRIX_INTERFACE CRM to Centrix Interface Structure as follows: -
->Set the Enhancement Category to Can be enhanced (Character Type)
Table Type to hold multiple records of the Structure
Create a new Table Type ZDB1_CENTRIX_INTERFACE_T Table Type for CRM to Centrix Interface Structure with line type as ZDB1_CENTRIX_INTERFACE structure
Append Structure for:-
Create a new Append Structure ZDB1_CENTRIX_APPEND Centrix Interface Data Structure for the
-> Set the Enhancement Category to Can be enhanced (Deep)
Structure BURS_EI_RELATION_DATA is the data type for the component CENTRAL_DATA of the CRM Relationship complex structure CRMXIF_PARTNER_REL_COMPLEX
It is under this level that we are attaching the append structure with the custom fields
These fields will be reflected in the Hierarchical structure of IDoc Type as we will create a custom
message type from this extended Complex Structure
04-19-2012 10:12 AM
Hi Diptee,
Not exactly sure.. but in th BDFG, it gives the ALE interfaces.
For your requirement, there is already one existing Interface and a Business Object must be assigned with it. I think, you need to take this business object and enhance it the we enhance and delegate the Business object using SWO1 transaction.
Please let me know if it's of any use..
04-19-2012 10:16 AM
HI Harshad,
Do you mean SWO1 will allow me to enhance the exsiting idoc?
Regards,
Diptee
04-19-2012 10:39 AM
Hi,
Procedure to Generate a custom message from Ale Interfaces :
-> Start Transaction BDFG
• Enter Function Module as CRMXIF_PARTNER_REL_SAVE and press Enter. The corresponding Business Object and relevant Message Types are displayed
• From the menu choose Interface Create
• Enter the parameters as shown below for Outbound Processing. Leave the Inbound Processing parameters unpopulated
-> Press the Continue button to proceed
• Once the Interface is generated, choose the menu option Interface Check to see if all components have been created and activated successfully
• Go to Transaction WE30, enter IDoc Type ZCRMXIF_BUPAREL_EXT01 and choose the menu option Development Object Check. All the non-released segments are highlighted in the check
• Set the Release for all the non-released Segment Types through Transaction WE31.
Structure for Custom Fields in the interface Procedure:
-> Create a Structure ZDB1_CENTRIX_INTERFACE CRM to Centrix Interface Structure as follows: -
->Set the Enhancement Category to Can be enhanced (Character Type)
Table Type to hold multiple records of the Structure
Create a new Table Type ZDB1_CENTRIX_INTERFACE_T Table Type for CRM to Centrix Interface Structure with line type as ZDB1_CENTRIX_INTERFACE structure
Append Structure for:-
Create a new Append Structure ZDB1_CENTRIX_APPEND Centrix Interface Data Structure for the
-> Set the Enhancement Category to Can be enhanced (Deep)
Structure BURS_EI_RELATION_DATA is the data type for the component CENTRAL_DATA of the CRM Relationship complex structure CRMXIF_PARTNER_REL_COMPLEX
It is under this level that we are attaching the append structure with the custom fields
These fields will be reflected in the Hierarchical structure of IDoc Type as we will create a custom
message type from this extended Complex Structure
04-19-2012 10:55 AM
Hi Ramya,
Thanks for the detailed instructions.
As per my understanding, as i need to add a new segment to the existing idoc structure I would need to use the instructions under the head 'Append Structure for:-'. Please confirm if this is correct.
Also please confirm if i may use SE11 to create the Append structure.
Additionally, will I still be able to use the existing inbound FM meant for processing the idoc (with the addition of code to handle the new fields).
It would be great if you could also tell me how should I proceed with the code changes to the inbound FM.
Regards,
Diptee
04-23-2012 5:06 AM
04-23-2012 5:39 AM
Hi Diptee,
Use SE11 to create the Append structure.And add the custom code to the existing inbound
FM to process the I doc's.This is correct Procedure.Diptee u can follow this.
05-10-2021 3:24 PM
Hi Members,
I have a requirement to enhance the BATMAS03 IDOC type in SAP, but of course via WE31 its not getting possible.
Can you help me with the steps to enhance it using BDFG/BDBG transaction?
I need to enhance BATMAS03 with a field EAN11/UPC Code.
Looking forward to your response.
Thanks,
Arushi