Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from Dave Thornburgh on Dec 20 at 11:49 PM Gkgoh - That all depends on how you modified SAPMV45A to make the authorization check - but the answer is probably "no". What you will need to do is to enforce the same auth check in your Z program as you did in VA02 - don't call the BAPI with illegal data in the first place. Dave
| | | ---------------Original Message--------------- From: gk goh Sent: Tuesday, December 20, 2011 11:04 PM Subject: Authorization Checking in BAPI Hi, I put in authorization checking for the 'Material group 1' field of a SD document. With this, only authorized users are allowed to change this field while other users without the authorization will not be allowed to change it. When i tested the authorization in VA02, it works fine. I was able to change it as i has been assigned with the required role/profile. On ther other hand, the other user without the role/profile was not able to change the field using VA02. I did another test using a Z program that calls 'BAPI_SALESORDER_CHANGE'. The Z program will change the 'Material group 1' field using 'BAPI_SALESORDER_CHANGE'. My initial thought was me with the required role/profile when running the Z program, will be able to change the field while the other user without the required role/profile will not be able to change it when running the Z program. However, the result shows that both users (with/without the role/profile) was also able to change the field using the Z program. Is there anyway to control the BAPI so that it works the same as in VA02? Thanks much for your advice. | | Reply to this email to post your response. __.____._ | _.____.__ |