on 2024 Jul 01 1:06 PM
Hi all,
For a module pool program I have 'WERKS' and 'LGORT' as two inputs field.
I maintained WERKS, LGORT along with other fields in a custom table.
I used POV event on WERKS field.
Now when user select any of the WERKS from table the respective LGORT field from table should be selected and displayed on second input field 'LGORT'.
The field validation can be done using CHAIN ENDCHAIN. but my program contain different validation inside chain and end chain.
PROCESS AFTER INPUT.
LOOP AT IT_ITEMS.
CHAIN.
FIELD IS_ITEMS-ITEM_NO.
FIELD IS_ITEMS-MATNR.
FIELD IS_ITEMS-MENGE.
FIELD IS_ITEMS-MEINS.
MODULE check_material.
MODULE TC_ISSREQ_MODIFY ON CHAIN-REQUEST.
ENDCHAIN.
FIELD IS_ITEMS-XFELD
MODULE TC_ISSREQ_MARK ON REQUEST.
ENDLOOP.
How to validate WERKS(IS_REQ-WERKS) field and pass LGORT(IS_REQ-LGORT) to second field. please suggest..
CHAIN ENDCHAIN processing items fields from item table, but I need to validate header fields from header table, how to write code for this?
Request clarification before answering.
I suppose items are in a table control?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 17 | |
| 8 | |
| 8 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.