on 12-05-2013 5:12 PM
Hello all,
I'm facing a problem. We are doing a process on the moment of sales order save. The sales order cannot be saved without the process "ok" and the process cannot be created if the sales order is not ok (for example if serials are missing). So, to do that I need to call the incomplete log before my own validations. Is this possible?
Another thing is, how do I lock the "not save" option, to not allow the user to disregard the order if my process was already made.
Best Regards,
Charles.
Hi
In standard system checks incompletion log before save. I didnt understand your requirement. What is your process and what do you exactly want?
Thank$
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Charles,
Siva has already suggested, in sales doc type field "Incomplete messages", if this field is activated then an incomplete sales order can not be saved (an incomplete sales order can not be created)
System is check for completeness, so why do you want to check manually with "OK" button? User can use the standard Control + F8.
Hello,
That's not what I need. I need to force the check before SAP do it automatically.
My solution:
DESCRIBE TABLE xvbuv LINES xa_lines.
IF xa_lines NE 0.
PERFORM folge_gleichsetzen(saplv00f).
fcode = 'FEAZ'.
SET SCREEN syst-dynnr.
CALL FUNCTION 'SAPGUI_SET_FUNCTIONCODE'
EXPORTING
functioncode = '=FEAZ'.
SUPPRESS DIALOG.
LEAVE SCREEN.
ENDIF.
Hi Friend,
I think it is not possible in standard way to do it. So better go for any technical code for the same.
For same you can try this BAPI : BAPI_SALESORDER_CREATEFORMDAT2.
Hope this will solve your issue.
Regards,
Kundan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.