on 2013 May 23 2:39 PM
Error in buffer:update of nonexistent record -> in cg02 transsaction. I am getting this error when changing the value of MATNR under identifier tab and on saving.
We have an exit in standard transaction in cg02.
On debug the standard CG02 transaction I found when the global buffer table LG_BUFTAB is empty , I am getting this error.
Pl provide details how this buffer table is updated.( I think it should have all our previous changes updated).
So that while updating the new changes , old changes is overwritten.
Since this buffer table is empty, I am getting the above specified error.
Pl provide your inputs to resolve this issue.
thanks
Request clarification before answering.
Dear Thenmozhi
this is very "special". The topic is too complex to be explained here.
PLease refer to:
http://scn.sap.com/docs/DOC-41109
you will find a list of some threads dealing with API/BAPIs etc. and the right use of them. PLease check OSS marektplace. There is in consulting OSS note referring to some ABAP code which should be part in your system. Here SAp is showing "how should it be done"
E.g. check:
http://www.se80.co.uk/sapreports/r/rc1_/rc1_1077_bapi_example_change.htm
http://www.se80.co.uk/sapreports/r/rc1_/rc1_1077_bapi_example_dg.htm
http://www.se80.co.uk/sapreports/r/rc1_/rc1_1077_bapi_example_general.htm
C.B.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your response.
This issue was resolved . The details as follows:
We had an exit in cg02 , where we are trying to populate VAT ( specification ID,specification desc,CAS Number,Einecs Number etc).
And had used call function ' C1F2_SUBSTANCES_SAVE_TO_DB' in the exit.
when commented this FM . we did not get the previous mentioned error.
But now the issue is when changing the identifier for ex: changing one MATNR to another in the specification
the VAT is not getting populated correctly.
for ex: via MATNR the component relavant to the real subtances are fetched and relavant VAT displayed.
When we change MATNR , we get all VAT displayed (ie) the VAT relavant to previous MATNR and the VAT relavant to the (changed MATNR).this should not happen.
Here while displaying VAT the details are obtained from Buffer.We cannot delete buffer as this is required for comparing.
Hence my question is it possible to get only relavant VAT to be displayed without the old values.
we are using
CALL FUNCTION 'C1F5_SPECIFICATIONS_MODIFY'.
Is there flag need to be set in any of the parameters to get only the new details and not the old details from buffer to be displayed in cg02.
Pl provide your inputs to resolve this issue.
Dear Thenmozhi
I did not completely understood your scenario. Therefore I need to ask questions:
1.) during the "read" of data only active data is read (usage etc.)
2.) in your code you need to pay attention regardgin use of "Change numbers" as well
3.) You can update an "existing" recor, or you can try to create a new one
I did not really catch what you would like to achieve. Can you please try to explain step by step? Be aware of the fact: what you would liek to achieve is not simple and therefore I cna only provide hints not the complete solution
C.B.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.