cancel
Showing results for 
Search instead for 
Did you mean: 

Segment Has to be disable

vijender_p
Active Participant
0 Kudos

Hi all,

Actually am working in a scenario in the which am getting a IDOC from the R/3 system and i have to pass IDOC to the Target with  in the i have to

disable the fields .

What am trying to tell is i have to disable the E1POO02 when the subty is 9002 and 9003 And also when the SUBTY is 9002 and 9003  E1P1TYP also      have to be disable   .

so what i have did is i have used Fix values in the field of SUBTY and mapped with the Target SUBTY of E1P0002  in the which

In the Key i have kept 9002 and 9003 and value as false and kept use default value as true .

But , the target system the value are enabling ....

Please let me know what changes i have to do .

Thanks,

vijender

Accepted Solutions (1)

Accepted Solutions (1)

sahithi_moparthi
Contributor
0 Kudos

Hi,

Try  using Create If function as below:

If SUBTY is not equals to 9002 and 9003 then createif E1POO02.

Same logic applicables to E1P1TYP also.

Let me know if still faces issues.

Answers (2)

Answers (2)

nabendu_sen
Active Contributor
0 Kudos

For more information and example of createIf, please check:

SAPTechnical.COM - Implementation of Node functions

Regards,

Nabendu.

pvishnuvardan_reddy
Active Contributor
0 Kudos

Hi Vijender,

If you want to disable the fields on some condition in the target end, then as sahithi suggested, use CreateIf node function.

Use Equals function and compare subty is 9002 and 9003 or not, then pass the output of these to CreateIf function, and the output of this to the target node.

Regards

Vishnu