Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Integration / Customization
S3 Customization/Development
Lawson S3 .sr coding
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
NonnieBear1776
Past 24 Hours:
0
Prev. 24 Hours:
1
Overall:
5162
People Online:
Visitors:
257
Members:
0
Total:
257
Online Now:
New Topics
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1348
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
S3 Customization/Development
Lawson S3 .sr coding
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
Pramod Chandra
Basic Member
Posts: 12
4/28/2011 2:48 PM
Hi,
I have a custom table in ZZ system code
M1LOOKUPVL Fields
PROCESS-ID Alpha (10) Primary Index key1
KEY2 Alpha (10) Primary Index key2
KEY3 Alpha (10) Primary Index key3
SEQ1 Numeric(06) Primary Index key4
FLD1 Alpha(50)
I have stored Values like
PROCESS_ID=ZR62CODE
KEY2=ZR62CODE
KEY3=ZR62CODE
SEQ1=1
FLD1=1C
my ZZ.sr codes looks like
DEFINE SELECT "Interface codes"
ID ZR-MLK-S-0001
SCRFLD ZR62-MLK-CODES
FILENAME M1LOOKUPVL
INDEX ZMVSET1
KEYRNG "ZR62CODE"
NXTKEY ZR62-MLK-CODES
DSPFLDS FLD1=2:"Interface codes"
RETURNS FLD1 INTO ZR62-MLK-CODES
my kndef and skndef (ZZ) are
zr1 = ZR62-MLK-CODES
but still the list of values (select) doesnt work
obviously I do srgen
Thanks in Advance
pramod
Ragu Raghavan
Veteran Member
Posts: 468
4/28/2011 4:23 PM
In the .scr code, you have assigned the key zr1 to the appropriate field and done a compile?
Sam Simpson
Veteran Member
Posts: 239
4/28/2011 8:37 PM
Your KEYRNG should equal the number of characters with your index key. Therefor add blanks if less than 10.
You are not authorized to post a reply.