Creating BATCH Input for Scheduling Agreement
I record the batch input for tcode ME31L, but if the material has a valuation type it take me to another window where i can put the valuation type, but this screen is diferent from that one from the recording.
SAPMM06E 0220
BDC_OKCODE /00
BDC_CURSOR EKPO-NETPR(01)
EKPO-EMATN(01) 290 5100
EKPO-KTMNG(01) 100
EKPO-NETPR(01) 1
EKPO-BWTAR IMP-ROH ---------> this belong to the screen 211
i dont know why it put it in th 220..
i receive a warning when the material has a valuation type, dont know if that is breaking the batch Input.
Hi ya,
Though i am not sure whether i understood your question correctly or not. But i can suggest you to check the material accounting view in MBEW table before calling the transaction, and if the material has a valuation type, modify the flow of the screens.
I hope i did not confuse you
Cheers - Pavan
where i can check that, MBEW is a tcode or what???? Because if it is doesn't exist.
No - as stated above MBEW is a table. You can check MBEW values via SE16 (Transaction code for Table Contents Browser) or the structure of the table via SE11 (Transaction code for SAP Data Dictionary).
_________________
Kind Regards
Rosie Brent
Please remember to search the forum and check the FAQ before posting questions, thank you.
Tuly Idiot most of the time, part-time Guru
Already know which material has a valuation..... i have a file with the information regarding Scheduling Agreement, that include the valuation.
The problem is when the material has valuation; in the recording said that valuation belongs to the screen 220, but if i check directly in the tcode ME31L (system ---> status) it says that is screen 211.. What can i do?
I have a condition for the valuation material, when the material has a valuation upload the value.. This is the recording.. Can someone run a demo..
ME31L
- SAPMM06E 0200
BDC_OKCODE /00
BDC_CURSOR RM06E-EVRTN
EKKO-LIFNR VK0001
RM06E-EVART LPA
RM06E-EVRTN 5600000500
EKKO-EKORG 4100
EKKO-EKGRP 104
- SAPMM06E 0201
BDC_OKCODE =AB
BDC_CURSOR EKKO-KDATE
EKKO-KDATE 31.12.2003
- SAPMM06E 0220
BDC_OKCODE /00
BDC_CURSOR EKPO-NETPR(01)
EKPO-EMATN(01) 766026000
EKPO-KTMNG(01) 10
EKPO-NETPR(01) 1
EKPO-BWTAR IMP-KAUF Valuation
- SAPMM06E 0220
BDC_OKCODE =BU
BDC_CURSOR RM06E-EBELP
It is possible that, when you run a batch input and during the process you receive a warning message, the batchinput is forced to terminate and it will not continuing running ultill you give the right data and and okcode.
Has anybody has made a batch input for that transaction ME31L
Don't let it go down.
Any idea please.
Any idea?