Skip to Content
author's profile photo Former Member
Former Member

ALE IDoc Conversion Rule or BADI

Hi,

I'm new to ALE IDoc. I have a requirement to hide some sensitive data field for the HR information when outbound the Idoc.

Example, I need to outbound the IT8 Basic Pay with payscale area etc but not with the basic pay amount. I can convert the basic pay amount to zero when the idoc is being created.

I've searched through some information and found out that there are several ways to achieve it. However, I'm not sure which one is a better way.

Is it using the Conversion Rule (BD62) or using Badi or Idoc Reduction method is better?

Kindly give me some hints as I'm very confuse of which one is the better solution.

Many thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Dec 09, 2011 at 03:33 AM

    IDoc reduction is to be used when you want to drop off groups of optional segments. The conversion rules are best suited to manipulate values (like code conversion etc)

    Since you decided to make the value zero for basic pay, the conversion rule is better suited from also future maintenance perspective. I wouldn't suggest going to a BADI unless you have something more complex to achieve

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 09, 2011 at 06:12 AM

    Hi ,

    IDOC_CREATION_CHECK is a BADI defination which may help you.

    In this method IDOC_DATA_CHECK is there here you can read the perticular segment of IDOC and clear that field.

    I think this may help, as this BADI is basically for checking the IDOC creation and data validation before outbound Idoc is created.

    Regards,

    Ganesh.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.