on 05-10-2006 3:44 PM
Hello Gurus,
How can i automatically assign a batch number using DI API or UI API? My client don't want to input anymore the batch number during GRPO. So he wants the automatic generation of batch number without any user intervention in the batch number screen. Is this possible?
There are only 2 options:
1. Work with GRPO through DI API entirely... (Document, DocumentLines, Batches)
2. Help the user through some UI API tricks (launch / handle forms through UI API code + fill in the data through UI API)... so that at least he doesn't have to click and (eventually) type
Regards,
Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Frank,
I wonder if there is any sort of official or even unofficial document about the tricks that SAP support allows us to do? Currently there is a lot of guesswork involved.
In some cases, SAP support even recommends direct manipulation of database (for instance for copying layouts in pre-2005 versions). Sometimes even client functions are not supported. I learned this the hard way when I was counting on using the year transfer tool for copying masterdata from development environment to production environment (this was with 2004 before there were such tools as Copy Express). When I contacted SAP Support about trouble with the year transfer tool, they bluntly told me it's not supported at all in my country, so I'll get no support either. Yeah, there was some small print in the online help, but I just couldn't imagine I need to check the online help for each function just to see if it's supported or not.
Henry
Hello Ibai,
Thanks for the pointer, that is an interesting thread. It answered some of the questions I've had, but it also opens some new ones.
I am especially curious about the reason user-defined functions and stored procedures are completely forbidden from the SBO database. If it is allowed to store them in another database, I can accomplish exactly the same functionality by creating them in another database but have them retrieve data from the SBO database. It's just causing a lot more fuss to deal with all these workarounds.
I have used user-defined functions for some advanced reporting purposes. I can't see what could possibly go wrong if I'm only using SPs and user-defined functions for data retrieval and I am always using our namespace in the name of the SP/function.
The thread didn't say anything about views. Are they forbidden as well ?
Henry
Hi Henry,
Again, please keep the disctinction between certification
and Support in mind!
The official document for certification is the "Test Plan" as published on the SAP ICC pages here on SDN (there's a remark on views as well):
I didn't hear that SAP Support would not allow anything except Triggers..., but maybe this is just because I don't deal with them every day
About the reasons:
Maximum DB platform independence (so that the customer does not have to worry whether it will take a larger development project to support e,g, sth else than MS SQL) + smoothness of upgrades + efficiency in the certification process (not to mention the basic compliance issue not to write into B1 tables) are the most important reasons behind the requirements.
Allowing to use SPs etc in another DB is some kind of "emergency exit" for partners who already developed their solutions and now want to get certified.
This is not the recommended way to work to my understanding!
HTH a bit,
Frank
Message was edited by: Frank Moebius
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.