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

Remove field from IDOC

Former Member
0 Likes
3,660

We r sending customer master IDOC from one system to other. We do not require a field to be sent. Can someone suggest is there any way to remove or hide that field. We are using standard IDOC type DEBMAS06.

Thanks,

Aparna

6 REPLIES 6
Read only

Former Member
0 Likes
1,944

Hi,

Check below link for idoc reduction.

[link1|]

Thanks,

Asit Purbey.

Read only

Former Member
0 Likes
1,944

hi,

you can not delete the field but there is option to delete the segemnt.

if you do not want to send the segement with out that afield data ,clear the field data by reading segment in the user-exit

and send.

The below steps are mentioned in the belwo link..

[Steps to delete segemnt...from an idoc|https://wiki.sdn.sap.com/wiki/display/HOME/StepbyStepprocedureforcreationof+IDOC]

3.2 IDoc reduction

3.2.1 Principle

Standard basic IDoc types are often adapted to all imaginable interfaces. However, it sometimes happens that the sent volume is too big compared with the needs. A filter can applied (see above), which represents a dynamical method.

The number of segments or the number of fields in a segment can also be reduced in a static way, while still keeping the structure of the basic IDoc type. Indeed, for all basic IDocs, SAP had envisaged their reduction.

A reduced IDoc has less segments than the basic IDoc, provided that the deleted segments are not mandatory. The segments of a reduced IDoc can also have less fields than the corresponding segments of the basic IDoc.

Dealing with the standard basic IDoc types, their integration function module already takes into account the possibility of a reduction. The advantage to use reduced IDocs seems to be obvious then: to profit from standard functions while reducing the volume of exchanged data.

3.2.2 Customizing

Launch the BD53 transaction (IDoc Reduction Maintenance: Initial Screen).

In the Reduced message type field, type the value ZVISTAPM_REDUCED, then press the Create button.

In the popup window which appears, type in the Message type reference field the value MATMAS.

Validate. In the next popup window, type a short description for the new reduced message type. Validate.

In the following window, select the segments and the fields needed for the new reduced message type.

Save.

Prabhudas

Edited by: Prabhu Das on Jul 6, 2009 11:46 PM

Read only

0 Likes
1,944

I tried IDOC reduction. Its not working.

Filtering works if i want to restrict the unwanted data. When we click on "Create filter group" ,its automatically picking up some fields... How can i add my own field there?

Read only

0 Likes
1,944

Do you mean the filter group of the distribution Model ?

-> Go to BD95 and BD59 to add new Filter Group.

Regards,

Gordon

Read only

0 Likes
1,944

I should pass blank value to a field in Customer Master IDOC. How can i acheive that?

Read only

0 Likes
1,944

i did it through BD79 transaction. it solved the problem