cancel
Showing results for 
Search instead for 
Did you mean: 

Comapny code check

Former Member
0 Kudos

Hi

I am doing File to Idoc scenario for CREMAS03 .. In the file i am sending the Vendor Number and Company code .. for validation purpose i wanna check whether that Comany code exits or not in SAP system before sending it to SAP system ..

I wanna do it in mapping how we do that

SV

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

in the message mapping for your scenario, you can use call a RFC adapter to do a lookup and send the desired result to the interface.

If the return is invalid you can raise an exception in the message map which would error out the scenario.

Regards.

Indranil

Rewards point if beneficial.

Answers (1)

Answers (1)

Former Member
0 Kudos

S.V

For that you can do the Mapping Look up..Following are some blogs that might help you

/people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups

/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler