09-04-2008 9:24 PM
Hi all,
Due to some Good Manufacturing Practices in the Pharmaceutical Industry, users are demanding that message i102(40) (SAPLCOSD / LCOSDF2D / FORM OrderTables_Fill line 478) a hardcoded info message be converted into an error message.
I have struggled all day long on the PPCO exits, but it was not possible to find one that comes prior to this message, so I could prevent the error.
I then tried to create a field exit on field CAUFVD-GSTRP, but it was not possible to create a field exit for this field (it was not present at PRFB).
Is there any other way of changing it without changing the standard code (even though it's just one caracter from i102(40) to e102(40).
Many thanks in advance,
Alberto
09-04-2008 9:31 PM
Hello.
There is a solution which we used in one of our requirement.
To replace standard sap code, in ECC 6 SAP provided Enhancement Sections.
Step 1: Give program name and from and to line numbers in which you need to create a Enhancement section. Give this details to BASIS. They will provide you access key.
Step 2: Create a Enhancement Section for this portion of code.
Step 3: Create implementation for this enhancement section.
You can't create multiple implementations for enhancement section.
Activate it and now your new code will be executed.
[Click here |http://help.sap.com/saphelp_nw70/helpdata/en/a0/47e94086087e7fe10000000a1550b0/content.htm]to read the same in help.sap.com.
all the very best to you.
09-04-2008 9:35 PM
If you are in one of the newer versions of ECC, you could try an implicit enhancement.
09-04-2008 9:38 PM
If you are working ECC6 version you have enhancement spot ES_SAPLCOSD
a®
09-04-2008 9:44 PM
Hi guys, many thanks for your prompt answers.
But unfortunately, my mistake, I forgot to tell you that I am still working with on R/3 Enterprize version 4.7.
I know that I can register an object on SAP and get a key to change the standard code, but wouldn't that imply into a loss of guarantee (I don't know if you know what I mean)?
09-04-2008 9:49 PM
Hello.
Enhancement points, Enhancement spots, Enhancement sections will fall under ENHANCEMENTS rather than MODIFICATION.
If you need any more inputs in ECC 6.0 Enhancement frame work let me know I can send you one easy-to-check power point.
But, Unfortunately I can't help you much for your problem.
For your requirement...
In 4.6 We need to modify the code by using access key.
But, in ECC 6 we can Enhance the code by using access key.
Hope you got the difference.
All the very best.
Mohan
09-04-2008 9:59 PM
Ok, Mohan, many thanks, it looks that I'll need to change the standard code anyway...
10-31-2008 11:37 AM
03-02-2010 6:08 PM
Hi Maria,
Even I have a similar requirement where in I have to modify standard code in version 4.6c.
Here I guess we cannot comment existing code rather we can only add our own code using Insert ...please confirm.
BR,
Krishna.