cancel
Showing results for 
Search instead for 
Did you mean: 

DB to IDoc Scenario - Required condition check in GMapping

Former Member
0 Kudos

Hi All,

Working with DB to IDOC Interface. I will have to fix the values for SourceField = A01 and TargetField = 111.

If the above condition is true then I would like to trigger a Tcode i.e VA01. Though the triggering of TCode will be done by ABAPers, but want to know how this SourceField = A01 and TargetField = 111 conditionally check in graphical mapping. If I use equals function it returns boolean ( true or false)

Regrds

S.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Swarna,

Why dont you use fixvalue in graphical mapping, its very simple to use. Just search for fix value and you will get all the help needed in SDN.

Former Member
0 Kudos

source ---equalS(TextFunction)==A01 then 111(Target).

Done.

Edited by: Swarna on Apr 1, 2011 10:12 AM

Former Member
0 Kudos

Hi Swarna,

Use If without Else under Boolean function.

check if SourceField value is A01 then use constant (111) as Target field value.

Since else is not used in this scenario, if the source value is not A01, then the TargetField will be blank (no value)

TargetField = if (SourceField = A01) then A01

In backend system, ask the ABAPers to check if the TargetField data, if its 111 then trigger the t-code .

Souvik

Former Member
0 Kudos

.