cancel
Showing results for 
Search instead for 
Did you mean: 

JAVA validation required

Former Member
0 Kudos

Hello,

I have created a SO form in which I have 2 fields

SHIP-TO-PARTY & SOLD-TO-PARTY (having Dropdowns)

My requirment is If I enter any data to SHIP-TO-PARTY then the same data should reflect in SOLD-TO_PARTY

But the User can customize the data of SOLD-TO-PARTY If he requires.

Please send the java script for the above mentioned validation.

Thanks in advance,

Lina khanna

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Lina,

Try the following script in the exit event of SHIP-TO-PARTY.

this.parent.SOLD-TO_PARTY.rawValue = this.rawValue;

Let me know if you need more help on this.

Thanks & Regards,

Sanoosh

Former Member
0 Kudos

Hi Sanoosh,

I have tried with this code its working but my requirement is if the user wants to change that value ,he can do it.

But now I am not able to change value of ship to party.

Does the code requires any modification.

Code:

this.rawValue = this.parent.SF1.KUNNR.rawValue;

Thanks,

Lina.

Edited by: Lina sap on Apr 8, 2011 8:59 AM

Former Member
0 Kudos

Hi Lina,

By typing SOLD_TO_PARTY in the code, I meant its technical name in your form. Nice to hear that it worked for you.

Thanks & regards,

Sanoosh

Former Member
0 Kudos

Hi Lina,

Put the code in the other way around. Otherwise it will not allow you to edit.

Try the script in the exit event of KUNNR

this.parent.SF1.KUNNR_1.rawValue = this.rawValue;

Thanks & Regards,

Sanoosh

Former Member
0 Kudos

Hi Sanoosh,

My query is solved.

Thanks for the help

Thanks,

Lina

Edited by: Lina sap on Apr 8, 2011 12:14 PM

Answers (0)