11-12-2007 5:45 AM
Hi, experts
I am using
SET PARAMETER ID 'CHA' FIELD ITAB-BATCH.
and it works in "MSC1" when calling it through module pool using call transaction.
I got batch no in the field of MSC1N batch.
BUT
I don't get , when I use MSC1N. while parameter id for batch is same <CHA>.
Waiting for Reply
with warm Regards
Rajiv singh.
11-12-2007 7:32 AM
Hello Rajiv
The reason:
MSC1N : Program/Screen : SAPLCHRG/1401 - Go to screen painter -
Check field DFBATCH-CHARG, <b>the GET parameter is not ticked</b>, while it is ticked for Material and Plant.
Also -> MSC3N uses screen 1501 for which GET and SET are both ticked.. which explains why it would be possible to display in MSC3N..
At the same time if you check for MSC1 both SET and GET would be ticked.
This could be the reason why your code will not work.
For possible solutions check SAP notes... I think that this would not be possible because logically speaking MSC1N is for creating a batch hence ideally there is no need for this sort of a functionality
Regards,
Arun
Message was edited by:
Arun Nair
11-12-2007 6:04 AM
Hi
Better use parameter id 's for MATERIAL,PLANT and BATCH and see instead of using only for BATCH field
Regards
Anji
11-12-2007 6:17 AM
I am doing same as you said. I am getting material and werks but not batch.
Please help me in this regards.
11-12-2007 6:19 AM
11-12-2007 6:45 AM
here is the code:
SET PARAMETER ID 'MAT' FIELD '10000001'.
SET PARAMETER ID 'CHA' FIELD 'TESTR909'.
SET PARAMETER ID 'WRK' FIELD '1003'.
CALL TRANSACTION 'MSC1N'.
11-12-2007 7:29 AM
Hi Rajiv,
I think
SET PARAMETER ID 'CHA' FIELD 'TESTR909'.
will not work with MSC1N as it is refreshing the parameter ID in the program obly for this transaction. If you see for MSC2N or MSC3N it will work fine.
Don't know why SAP is doing this. may be some thing functional in clearing it..
Regards,
Atish
11-12-2007 7:32 AM
Hello Rajiv
The reason:
MSC1N : Program/Screen : SAPLCHRG/1401 - Go to screen painter -
Check field DFBATCH-CHARG, <b>the GET parameter is not ticked</b>, while it is ticked for Material and Plant.
Also -> MSC3N uses screen 1501 for which GET and SET are both ticked.. which explains why it would be possible to display in MSC3N..
At the same time if you check for MSC1 both SET and GET would be ticked.
This could be the reason why your code will not work.
For possible solutions check SAP notes... I think that this would not be possible because logically speaking MSC1N is for creating a batch hence ideally there is no need for this sort of a functionality
Regards,
Arun
Message was edited by:
Arun Nair