on 2016 Nov 24 7:04 PM
Hi SAP SRM GURU,
I have a requirement to copy the header values like Target value, payment terms, no of days, Under delivery/Over delivery tolerance to each Item lines of respective fields.
I did the enhancements in function modules and header values are appearing in respective item fields. we can see on those values on the screen , but when I press save, it does not save to database, It would go with earlier values , when opened next time after saving, I can see only old values, not the values which are copied from header to item level fields.
I did debug completely, I can see only the latest value in the debug mode, but not able to see any old values.
However after save , it went with earlier values. Not sure from where these earlier values getting copied to database, or why my new values are not copied to database tables.
Request to know if anyone having such issue and Please throw some light to resolve this issue related to SRM contract item values to save to database.
When checked with badi - BBP_DOC_CHANGE_BADI with Central contract (filter value BUS2000113), it is not getting any values . Recently we did the upgrade. Not sure is there any impact on this.
These are sap given fields, not the custom fields.
These changes are with SRM portals and all changes are with SAP SRM 7.4.
Thanks in advance
Regards
H.Yoga
Request clarification before answering.
debug-screen-shot-bapi-doc-change.jpgHi Vinita,
Thanks for your updates. Here we have few values in SAP SRM Central contract, header having values, those values to be copied to item level fields and on click of save those header/item values to be saved to database, Header values are getting saved, not the items values. Attached the screen shots shows the details.
On click of save button these values to be saved to database , however it is saving with earlier values, i.e values before I save.
I did check the BBP_DOC_CHANGE_BADI and did implementation, but it is not getting any latest values of items during the save.
Attached debug screen shot where it shows no values from item. Please have a look and let me know is there any alternate i can use to save these updated item values to database. thanks in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey
I am not sure on what is your requirement exactly
You should code in BBP_DOC_CHANGE_BADI and method BBP_CTR_CHANGE and this will save the value of the contract based on the logic you write in the code
Pl share where have you coded and what is your code and how you see it on the screen ?
Regards
Vinita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.