Question:
Hello everybody
I have made a Batch Input Transaction ZK.. which calls CO02. Unfortunately, we had to gave our users authorizations for the new program and for CO02 as well. Is there some way how to restrict them from CO02 but allow them to use ZK.. with batch co02?
Thank you
Answer:
Hi,
If you want your user to execute this program online, you have to give him authorization.
If you schedule this job with a BATCH user, then you can give the authorization to the BATCH user and not to the online user.
I hope this helps.
Best regards,
Yoolb
_________________
PRO IT
Consulting for You and Me
Http://www.proit.be
Answer:
Hello
Actually, it is the thing we wanted avoid. From my point of view, I can't decide which order to be processed, it must be a user. But it seems that scheduling is the only option. We tried also to copy CO02, but no success (Does somebody have succesfull experience?).
thanks
Answer:
You may combine online selection and batch processing: you write your ZK.. transaction which prepares a batch input session for CO02. In the 'BDC_OPEN_GROUP' function, you put a batch user in parameter 'USER'. You call the program RSBDCSUB from the ZK.. transaction and the session will be executed in batch, with the user you give in parameter. The main disadvantage is that you have no return message in your transaction and the user doesn't know the result of the CO02 transaction.
Answer:
Yes it is working!
Thanks many times.
Answer:
Lo,
Your solution works perfectly when you create a batch: it's easy to change the autorisation user. But you have to do task by task and it is not easy to take results...
What about "CALL TRANSACTION" in ABAP ?
For myself, I have created an input interface: you run a Z* transaction which uploads a file. The screen shows the detail of the input file in a tableview. In that screen, if you click on a button, the pgm takes line per line and creates the attached items with the transaction
"MM01".
I have used options of CALL TRANSACTION (not display first screen, not display screens and put results in a message table...). It works perfectly, you don't need a batch, it's quicker and friendlier to read error messages.
The pb is: I can't find any opportunity to change the user and so not change the autorisations: User shouldn't use "MM01" online. So what is the solution ? Do I really need to give access to the transaction "MM01" ?
which I don't want... only throught a Z* transaction with CALL TRANSACTION.
Can you help me
Best regards,
Arni62