on 04-10-2006 7:11 PM
Hi,
is there any function module which will use to update SC even SC gets 'approved' status.
say for example after SC status 'Approved' some how follow on documents not gets create, administor will receive the alret message and when message retrive by administrator he/she will resubmit SC then the new Data will updated to SC , i would like to know how it is changing SC data.
give me some hints,
regards,
john.
Hi,
thank you, but i am not sure the answers which u were given , because my requirement is after SC gets 'approved' status, is there any possible way to update SC values again.
say for example 1st time SC category is 'A', once SC gets 'approved' status, i want to update the same SC category as 'B' . this is my requirement. is there any FM avaliable to update SC values.
if possible give me some hits,
regards,
john.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John,
I don't really understand your requirement:
- who should modify the SC ?
- in which transaction / UI ?
Once approved, the SC will create follow-on doc immediatly, so you must not change it (in standard you can not change it), because changes won't be updated on follow-on doc !!!
During approval, WF authorizations allow you to modify the SC data (but SC status is "In approval" and not "Approved").
Another scenario allows you to change SC data: if sent to sourcing cockpit, the purchaser can change the SC, and especially the product category if the requestor made a mistake.
You also have a SC WF for purchaser completion.
Otherwise, use BBP_PD_SC_GETDETAIL / BBP_PD_SC_UPDATE / BBP_PD_SC_SAVE to update SC data.
Rgds
Christophe
hi christophe,
thank you, take this as a scenario, once SC 'approved' status. follow-on doc will create immediatly, provider all details should match with R/3 right. say for example plant is 'A' in SC, when SC detail go to R/3 and try to create PO in back-end by that time system find plant 'A' is not found , so Administrator will receive an error message saying plant 'A' is not in R/3 right. now administrator change the SC plant as 'B' and resubmit the process right. when adminstrator change the plant as 'B' in SC , the change detail should be update again in the same SC even SC 'Approved' status right.
please correct me if i wrong.
regards,
john.
Hi John,
This functionnality is part of the BBP_MON_SC transaction.
If the transfer to R/3 failed (eg. plant A does not exist in R/3), the SC can be changed by the adminstrator in this transaction.
Administrator will change plant in the SC from A to B.
He will then resubmit the SC to R/3.
Kind regards,
Yann
hi,
yes, once Administrator change the plant 'A' to 'B' and resubmit ,
here is my requirement.
how SC plant 'A' get changed as plant 'B' in SC. to change this plant data in SC, is there any function module avaliable or how plant 'B' gets update in SC again. means when administrator click the resubmit button how plant 'A' changed as 'B' in SC.
regards,
john.
No Yann,
in thise case, SC will have both status:
- "Approved" is a functional status, result of approval WF
- "Error in transfer" is a technical status, result of transfer process.
Sam,
BBP_PD_SC_UPDATE and all BBP_PD* functions are always used to update SRM documents.
All the logic is not inside those functions, but also in programs calling those functions. There are other functions called to simulate an action, possible or not depending on the status:
- approved SC can't be changed in "Check status" (so the transaction will only use BBP_PD_SC_GETDETAIL but not UPDATE
- approved but erroneous SC can be changed by the admin (not by the requestor), here you can enter in change mode, and BBP_PD_SC_UPDATE will be used.
Last point: if you are ordering product, there will be an R/3 check with the plant. So if this plant does not exist, an error would even prevent you from ordering the SC.
Rgds
Christophe
Well,
it looks a little bit dangerous to manipulate SC and change the data like that, without knowing the data model, the program logics and the business impacts !!!
Now, you can not tell you are not aware about it.
Anyhow, you can change the SC data with BBP_PD_SC_GETDETAIL/UPDATE/SAVE, but don't forget the COMMIT instruction to store updated data.
Those FM have some controls, so they may not let you change everything as you want ...
Rgds
Christophe
Hello John,
Your needs are covered by SAP Application monitors:
When an approved SC fails to create follow-on document, a transfer error is raised in application monitor.
For this kind of error, there is a special logic: you can process this message in application monitor and re-submit the SC transfer from there (in fact the FM BBP_PD_SC_TRANSFER is "linked" to the message).
So, alerts messages are there, the administrator just have to check them every day.
Rgds
Christophe
PS: please reward points for helpfull answers
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.