Problem of Posting date in CJ88
Hi
I am using WBS settlement transaction CJ88 and I am using BDC call transaction method
In the Extras column I give th posting date as current date but still program is creating the assets which have posting date as month-end date. In CJ88 if we dont give posting date it takes the month-end date as posting date.If I pass manually the posting date as current date in CJ88 it returns the entered posting date..but the program doesnot.
PERFORM POPULATE_BDC USING:
'X' 'SAPLKO71' '1000',
' ' 'BDC_CURSOR' 'LKP74-POSID',
' ' 'BDC_OKCODE' '=AUSF',
' ' 'LKP74-POSID' T_PRPS-POSID,
' ' 'LKO74-PERIO' P_PERIO,
' ' 'LKO74-GJAHR' P_GJAHR,
' ' 'LKO74-VAART' '3',
' ' 'LKO74-TESTLAUF' ' '.
Screen for posting date.
'X' 'SAPLSPO4' '0300',
' ' 'BDC_CURSOR' 'SVALD-VALUE',
' ' 'BDC_OKCODE' '=FURT',
' ' 'SVALD-VALUE' L_DATE,
Pls help.
Thanks
Hello Vamshi
Could it be a problem in the PRD system that the posting period (for August) is already closed?
I am not a specialist in billing documents yet this is the first thing that comes into my mind assuming that your user-exit is technically ok.
Regards
Uwe
Similar Messages
-
Regarding problem in posting date after opening new year
Hi SAP Gururs,
I have just opened the new fiscal year thrugh OB52 and also made a new number range by copying the previuos year number range thrugh OBH2.
Now when i m posting the entries for G/l, Customer & vendors, everything is going fine but vendor entry is not posting thrugh fb 60 and error is coming that (Posting date < Entry date) and when i m taking the help the following msg is appearing Message no. /SAPDMC/LSMW_OBJ_080237.
Please provide help to the above issue. It is urgent.
Thanks & Regards
InderHi Mark,
Yes I h ave check that the number range is copied for 2008 & also the posting period is opened for 2008 for vendors.
Also i have posted few entries using t-codes FB50, FB70 & also FB60.
Only in case of FB60 the entry is posted for 1st April 2008 but not for 2nd April & onwards.
Please let me know what u meant by last line i.e entry date as posting date. What i have done is that i have try to do the entry by using the same invoice date & posting date i.e 2nd April, 2008. But still the same error is coming.
Please help to reslove the issue.
Thanks & Regards
Inder -
Problem in POST data preserve in Policy Agent 2.2 for SJSWS 7.0
Hi
Appreciate your help.
I am using SJSWS 7.0 U1 and the PA for the same.
I have a requirement to preserve the POST data when during the following situation.
Consider a situation where in the user has logged in to our webapp and the user remains in a page which has a form with Post method .
Mean while the session (of AM) times out and now the user enters the data in the data and submits the form.
The user will be redirected to the login page and then the requested service should be performed, which is not happening in this case(POST). Suppose in if the form used a GET method this works fine.
I get 500 internal server in the browser.
I have set the following property to true in AMAgent.properties to true.
com.sun.am.policy.agents.config.postdata.preserve.enable
My obj.conf has the following entry.
<Object ppath="*/dummypost/sunpostpreserve*">
Service type=text/* method=(GET|HEAD|POST) fn=append_post_data
(note It had only GET originally)
</Object>
<Object ppath="*/UpdateAgentCacheServlet*">
Service type=text/* method=(POST) fn=process_notification
</Object>
The amAgent Logfile has the following errors
2007-10-03 07:03:05.735 Error 22984:92e14d8 PolicyAgent: Error Registering POST content body
2007-10-03 07:03:05.735MaxDebug 22984:92e14d8 PolicyAgent: Register POST content body : (null)
2007-10-03 07:03:05.735 Debug 22984:92e14d8 PolicyAgent: Register POST data key :2007-10-0307:03:05.735
2007-10-03 07:03:05.735 Error 22984:92e14d8 PolicyAgent: am_web_postcache_insert(): Unknown exception encountered.
2007-10-03 07:03:05.735 Warning 22984:92e14d8 PolicyAgent: Register POST data insert into hash table failed:2007-10-0307:03:05.735
2007-10-03 07:03:09.093MaxDebug 22984:92e14d8 PolicyAgent: validate_session_policy(): Completed handling request with status: success.
2007-10-03 07:03:09.093 Debug 22984:92e14d8 PolicyAgent: POST Magic Query Value : 2007-10-0307:03:05.735
2007-10-03 07:03:09.093 Debug 22984:92e14d8 PolicyAgent: Found magic URI but entry not in POST Hash table :2007-10-0307:03:05.735
And the errors log in the SJSWS.
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="uri-clean" Directive="PathCheck" returned 0 (REQ_PROCEED)
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="find-pathinfo" Directive="PathCheck"
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="find-pathinfo" Directive="PathCheck" returned -2 (REQ_NOACTION)
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="find-index-j2ee" Directive="PathCheck"
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="find-index-j2ee" Directive="PathCheck" returned -2 (REQ_NOACTION)
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="find-index" index-names="index.html,home.html,index.jsp" Directive="PathCheck"
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="find-index" index-names="index.html,home.html,index.jsp" Directive="PathCheck" returned -2 (REQ_NOACTION)
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="validate_session_policy" Directive="PathCheck"
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="validate_session_policy" Directive="PathCheck" returned 0 (REQ_PROCEED)
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="type-j2ee" Directive="ObjectType"
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="type-j2ee" Directive="ObjectType" returned 0 (REQ_PROCEED)
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="type-by-extension" Directive="ObjectType"
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="type-by-extension" Directive="ObjectType" returned 0 (REQ_PROCEED)
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="force-type" type="text/plain" Directive="ObjectType"
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="force-type" type="text/plain" Directive="ObjectType" returned 0 (REQ_PROCEED)
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing type="text/*" method="(GET|HEAD|POST)" fn="append_post_data" Directive="Service"
[03/Oct/2007:06:50:39] failure (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: HTTP2302: Function append_post_data aborted the request without setting the status code
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: type="text/*" method="(GET|HEAD|POST)" fn="append_post_data" Directive="Service" returned -1 (REQ_ABORTED)
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="error-j2ee" Directive="Error"
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="error-j2ee" Directive="Error" returned -2 (REQ_NOACTION)
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="flex-log" Directive="AddLog"
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="flex-log" Directive="AddLog" returned 0 (REQ_PROCEED)
[03/Oct/2007:06:50:40] fine (22984): Updating accelerator cache
regards
Madhu MHi
Appreciate your help.
I am using SJSWS 7.0 U1 and the PA for the same.
I have a requirement to preserve the POST data when during the following situation.
Consider a situation where in the user has logged in to our webapp and the user remains in a page which has a form with Post method .
Mean while the session (of AM) times out and now the user enters the data in the data and submits the form.
The user will be redirected to the login page and then the requested service should be performed, which is not happening in this case(POST). Suppose in if the form used a GET method this works fine.
I get 500 internal server in the browser.
I have set the following property to true in AMAgent.properties to true.
com.sun.am.policy.agents.config.postdata.preserve.enable
My obj.conf has the following entry.
<Object ppath="*/dummypost/sunpostpreserve*">
Service type=text/* method=(GET|HEAD|POST) fn=append_post_data
(note It had only GET originally)
</Object>
<Object ppath="*/UpdateAgentCacheServlet*">
Service type=text/* method=(POST) fn=process_notification
</Object>
The amAgent Logfile has the following errors
2007-10-03 07:03:05.735 Error 22984:92e14d8 PolicyAgent: Error Registering POST content body
2007-10-03 07:03:05.735MaxDebug 22984:92e14d8 PolicyAgent: Register POST content body : (null)
2007-10-03 07:03:05.735 Debug 22984:92e14d8 PolicyAgent: Register POST data key :2007-10-0307:03:05.735
2007-10-03 07:03:05.735 Error 22984:92e14d8 PolicyAgent: am_web_postcache_insert(): Unknown exception encountered.
2007-10-03 07:03:05.735 Warning 22984:92e14d8 PolicyAgent: Register POST data insert into hash table failed:2007-10-0307:03:05.735
2007-10-03 07:03:09.093MaxDebug 22984:92e14d8 PolicyAgent: validate_session_policy(): Completed handling request with status: success.
2007-10-03 07:03:09.093 Debug 22984:92e14d8 PolicyAgent: POST Magic Query Value : 2007-10-0307:03:05.735
2007-10-03 07:03:09.093 Debug 22984:92e14d8 PolicyAgent: Found magic URI but entry not in POST Hash table :2007-10-0307:03:05.735
And the errors log in the SJSWS.
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="uri-clean" Directive="PathCheck" returned 0 (REQ_PROCEED)
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="find-pathinfo" Directive="PathCheck"
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="find-pathinfo" Directive="PathCheck" returned -2 (REQ_NOACTION)
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="find-index-j2ee" Directive="PathCheck"
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="find-index-j2ee" Directive="PathCheck" returned -2 (REQ_NOACTION)
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="find-index" index-names="index.html,home.html,index.jsp" Directive="PathCheck"
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="find-index" index-names="index.html,home.html,index.jsp" Directive="PathCheck" returned -2 (REQ_NOACTION)
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="validate_session_policy" Directive="PathCheck"
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="validate_session_policy" Directive="PathCheck" returned 0 (REQ_PROCEED)
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="type-j2ee" Directive="ObjectType"
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="type-j2ee" Directive="ObjectType" returned 0 (REQ_PROCEED)
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="type-by-extension" Directive="ObjectType"
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="type-by-extension" Directive="ObjectType" returned 0 (REQ_PROCEED)
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="force-type" type="text/plain" Directive="ObjectType"
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="force-type" type="text/plain" Directive="ObjectType" returned 0 (REQ_PROCEED)
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing type="text/*" method="(GET|HEAD|POST)" fn="append_post_data" Directive="Service"
[03/Oct/2007:06:50:39] failure (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: HTTP2302: Function append_post_data aborted the request without setting the status code
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: type="text/*" method="(GET|HEAD|POST)" fn="append_post_data" Directive="Service" returned -1 (REQ_ABORTED)
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="error-j2ee" Directive="Error"
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="error-j2ee" Directive="Error" returned -2 (REQ_NOACTION)
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: executing fn="flex-log" Directive="AddLog"
[03/Oct/2007:06:50:39] finest (22984): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0306:50:35.348, func_exec reports: fn="flex-log" Directive="AddLog" returned 0 (REQ_PROCEED)
[03/Oct/2007:06:50:40] fine (22984): Updating accelerator cache
regards
Madhu M -
Problem in POST data preserve in Policy Agent 2.2 for SJSWS 6.1
Hi
I am using Policy Agent 2.2 for SJSWS 6.1
I have a requirement to preserve the POST data when during the following situation.
Consider a situation where in the user has logged in to our webapp and the user remains in a page which has a form with Post method .
Mean while the session (of AM) times out and now the user enters the data in the data and submits the form.
The user will be redirected to the login page and then the requested service should be performed, which is not happening in this case(POST). Suppose in if the form used a GET method this works fine.
I have tried by configuring the following property in AMAgent.properties file.
com.sun.am.policy.agents.config.postdata.preserve.enable = true
But it doesn't work. When I tried to troubleshoot, I learned from the following resource that, POST data preservation is only supported on Policy Agent 2.2 for Sun Java System Web Server 7.0 Is it not supported on 6.1?
http://docs.sun.com/app/docs/doc/820-1130/gaueu
I get the following error in the log file of SJSWS.
trying to POST /dummypost/sunpostpreserve2007-09-2804:48:53.379, send-file reports: HTTP4142: can't find /opt/SUNWwbsvr/docs/dummypost/sunpostpreserve2007-09-2804:48:53.379 (File not found)
I have verified that the following entry is made in the obj.conf
PathCheck fn=validate_session_policy
<Object ppath="*/dummypost/sunpostpreserve*">
Service type=text/* method=(GET) fn=append_post_data
</Object>
<Object ppath="*/UpdateAgentCacheServlet*">
Service type=text/* method=(POST) fn=process_notification
</Object>
I am using the PA 2.2 which says that the following bug is fixed.
Bug(s) fixed in 2.2 RTM Hotpatch 8
==================================
Bug#: 6545159
Agent type: Sun Java System Web Server agent
Description: CDSSO mode wipes out form post data
Appreciate your help.
thanks & regards
MadhuHi
Now I get 404 error and the logs in amAgent is
2007-10-03 04:56:20.922 Error 22356:a51e558 PolicyAgent: Error Registering POST content body
2007-10-03 04:56:20.922MaxDebug 22356:a51e558 PolicyAgent: Register POST content body : (null)
2007-10-03 04:56:20.923 Debug 22356:a51e558 PolicyAgent: Register POST data key :2007-10-0304:56:20.922
2007-10-03 04:56:20.923 Error 22356:a51e558 PolicyAgent: am_web_postcache_insert(): Unknown exception encountered.
2007-10-03 04:56:20.923 Warning 22356:a51e558 PolicyAgent: Register POST data insert into hash table failed:2007-10-0304:56:20.922
And in the errors log file of SJSWS is+_
[03/Oct/2007:05:13:05] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="uri-clean" Directive="PathCheck"
[03/Oct/2007:05:13:05] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="uri-clean" Directive="PathCheck" returned 0 (REQ_PROCEED)
[03/Oct/2007:05:13:05] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="find-pathinfo" Directive="PathCheck"
[03/Oct/2007:05:13:05] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="find-pathinfo" Directive="PathCheck" returned -2 (REQ_NOACTION)
[03/Oct/2007:05:13:05] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="find-index-j2ee" Directive="PathCheck"
[03/Oct/2007:05:13:05] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="find-index-j2ee" Directive="PathCheck" returned -2 (REQ_NOACTION)
[03/Oct/2007:05:13:05] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="find-index" index-names="index.html,home.html,index.jsp" Directive="PathCheck"
[03/Oct/2007:05:13:05] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="find-index" index-names="index.html,home.html,index.jsp" Directive="PathCheck" returned -2 (REQ_NOACTION)
[03/Oct/2007:05:13:05] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="validate_session_policy" Directive="PathCheck"
[03/Oct/2007:05:13:05] fine (22515): Updating accelerator cache
[03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="validate_session_policy" Directive="PathCheck" returned 0 (REQ_PROCEED)
[03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="type-j2ee" Directive="ObjectType"
[03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="type-j2ee" Directive="ObjectType" returned 0 (REQ_PROCEED)
[03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="type-by-extension" Directive="ObjectType"
[03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="type-by-extension" Directive="ObjectType" returned 0 (REQ_PROCEED)
[03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="force-type" type="text/plain" Directive="ObjectType"
[03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="force-type" type="text/plain" Directive="ObjectType" returned 0 (REQ_PROCEED)
[03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file" Directive="Service"
[03/Oct/2007:05:13:14] warning (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, send-file reports: HTTP4142: can't find /opt/WMS/rel/www/webserver7/https-localhost.localdomain/docs/dummypost/sunpostpreserve2007-10-0304:56:20.922 (File not found)
[03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file" Directive="Service" returned -1 (REQ_ABORTED)
[03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="error-j2ee" Directive="Error"
[03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="error-j2ee" Directive="Error" returned -2 (REQ_NOACTION)
[03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="flex-log" Directive="AddLog"
[03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="flex-log" Directive="AddLog" returned 0 (REQ_PROCEED)
thanks
Madhu -
Problems obtaining POST data / content using Sockets
Hi,
I have a servlet which needs to listen on a specific port for HTTP post requests.
At present I have the following code:
try{
inputStream=client.getInputStream();
streamReader=new InputStreamReader(inputStream);
reader=new BufferedReader(streamReader);
}catch(IOException e){
//Write error entry in the log file.
//Get the request and HOPEFULLY the params...
try{
System.out.println("encoder "+streamReader.getEncoding());
for (String thisLine = reader.readLine();thisLine!=null;thisLine = reader.readLine()){
if (thisLine!=null){
System.out.println(thisLine);
} This produces the following....
POST /sms HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-
powerpoint, application/vnd.ms-excel, application/msword, */*
Referer: http://localhost/test.html
Accept-Language: en-gb
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
Host: 127.0.0.1:9999
Content-Length: 74
Connection: Keep-Alive
Cache-Control: no-cache
I can see that the content is there 74 bytes of it, and it is encoded application/x-www-form-urlencoded, however I don't understand what I need to do to get the FORM information???????
It works fine if it is an HTTP Get, however I have to get it to work with a POST.
Can Anyone help??????????
Thanks
Glennclient is a java.net.Socket.
Found some further information:
I'm actually getting an exception I've just noticed from the log files see below:
java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.InputStreamReader.fill(Unknown Source)
at java.io.InputStreamReader.read(Unknown Source)
at java.io.BufferedReader.fill(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at com.nokia.wap.server.IM.service.hd.run(hd.java:108)
the offending line in my code from above is line 108:
for (String thisLine = reader.readLine();thisLine!=null;thisLine = reader.readLine()){though i'm not sure if this is a code problem / when I close the html browser and hence cancel the http request?!
sorry to add to the situation. :o( -
Problem in Posting data using BAPI_ACC_DOCUMENT_POST
Hi ,
I am trying to post a Sub-ledger account using the BAPI_ACC_DOCUMENT_POST.
The Details I am passing are
DOCUMENTHEADER
USERNAME - UPPUVID
COMPANY CODE - 1030
DOC_DATE - 2/2/2009
PSTNG_DATE- 2/2/2009
FISCAL YEAR- 2009
PERIOD - 02
DOC TYPE - DR
ACCOUNTGL
ITEMNO_ACC 0000000002
GL_ACCOUNT 230400
PROFIT_CTR 110001
ACCOUNTRECEIVABLE
ITEMNO_ACC 0000000001
CUSTOMER 40000087
GL_ACCOUNT 110100
CURRENCYAMOUNT
ITEMNO_ACC CU CURRE CUR AMT_DOCCUR
0000000001 USD 1,000.0000
0000000002 USD 1,000.0000-
The result shown is as follows.
Document posted successfully: BKPFF 180001511510302009 DV1CLNT200
But when we go and check in FB03 .
I am getting an error message saying Document doesnot exist for the Tcode 1030 .
Also there is no corresponding entry in BKPF .
Please let me know If I have to pass anything else to post the data.
Regards,
Vidyulatha U.Hi Vidyulatha,
You can also use FM : POSTING_INTERFACE_START & POSTING_INTERFACE_DOCUMENT & POSTING_INTERFACE_END.
As you know you can post all types of documents through FB01.
You can set the i_tcode as 'FB01' & i_sgfunct as 'C'.
You just Pass on the values to these FMs.
Edited by: Yogesh Karanjikar on Feb 2, 2009 10:55 AM
Edited by: Yogesh Karanjikar on Feb 2, 2009 10:56 AM -
POSTING DATE in Accounting Document
Hi All,
I am facing the problem with POSTING DATE in Accounting Document.
Sales Order 25/10/2008
Delivery & PGI 29/10/2008
Billing Doc 05/11/2008
Accounting Doc Date 05/11/2008.
The system picks the PGI Date 29/10/2008 as POSTING Date of Accounting document. It should be 05/11/08.
Please let me know the reason.
Thanks & Regards,
Hemant PatilHi
if you are looking accounting document of PGI it must be on 29th because material movement have done on 29th through PGI (it is accounting document for material movement not for invoicing)
if helpful then give points -
Posting date in settlement order
Hi experts,
I have problem with posting date in settlement order.
when I run settlement KO88 or KO8G, SAP take posting date as the last day of the month, so in FI runs the validation that I cannot post with a future date.
My question is: How can I change the posting date in settlement order? Instead of change the posting date manually, I want SAP use posting date as the system date, because I would schedule the transaction every day.
Please help me.
Thanks,
GaetanoScheduled the program RKO7KO8G.
Solved. -
Goods Receipt and Goods Issue - Posting Date and Document Date Problem
Hi All,
I was using SDK to build own add on to insert Posting Date and Document Date under Inventory> Inventory Transactions> Goods Receipt and Inventory> Inventory Transactions> Goods Issue, but the UI Screen Posting Date and Document Date shown current date.
My SAP Business One version was 2007A SP00 PL42 and alreadly upgrade to SP05.
End up result still the same.
Is there someone can help me?
Thanks you.
Best Regards,
dannyHi there,
I already solve it by myself.
Actually is i call the initialization twice:
Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInventoryGenEntry)
Thats what make this problem happened.
Sorry.
Best Regards,
danny -
Problem posting data with HttpsConnection
Hi,
I am currently having problems posting data using a HttpsConnection.
I am setting the setRequestMethod to HttpConnection.POST and then using the openDataOutputStream method.
I will post my code when I get home for reference.
Background to my problem - I am trying to use the declarative security features of J2EE to authenticate a mobile user.
I am firstly firing a HttpsConnection from the mobile device to a protected resource on the app server. I grab the JSessionId from the Set-Cookie http header of the response and post a second request to the j_security_check and provide the refer http header to the protected resource - this simulates exactly what happens on a browser (I used a Http monitor tool to confirm this). However, I need to pass the j_username and j_password as body of the https request. This doesn't seem to work because the server displays my access denied at this point - as if it hadn't received the crednetials
However, just to confirm my technique works I subsituted the post request for a get request to j_security_check and passed the j_username and j_password as request params in the URL. This worked fine and I got a 302 response 'temporily moved' which I then handle by simply making a further request for the original resource - this time it serves back the resource because I am authenticated.
Anyway that sets the scene - so the problem definitely appears to be posting data using an HttpsConnection.
Any help would be greatly appreciated
Rgds,
DavidHi,
Here is my code relating to the above problem:
httpsConn = (HttpsConnection)Connector.open("https://127.0.0.1:8443/ebank/j_security_check");
httpsConn.setRequestMethod(HttpConnection.POST);
httpsConn.setRequestProperty("referer", "https://127.0.0.1:8443/ebank/main/mainMenu.xml");
httpsConn.setRequestProperty("cookie", cookieValue);
httpsConn.setRequestProperty("location", url);
httpsConn.setRequestProperty("User-Agent",
"Profile/MIDP-1.0, Configuration/CLDC-1.0");
httpsConn.setRequestProperty("Content-Language",
"en-gb");
String credentials = "j_username=EB0001&j_password=240589";
httpsConn.setRequestProperty("Content-Length",""+credentials.length());
DataOutputStream os = httpsConn.openDataOutputStream();
os.writeUTF(credentials);
....Thanks,
David -
Dear cons
I made the goods receipt on 16.10.2007. I made the goods issue by mistake on 01.10.2007( instead of 01.11.2007). but the system accecpts it. so when I saw the stock on posting date(T-code mb5b) the system gives wrong information. How can I solve it. pl. give me all the details.
thanks
nirupamaHi Nirupama,
Use Tcode:
MBST________MATERIAL DOCUMENT NO.
CANCEL IT.
AGAIN GO FOR A FRESH GOODS ISSUE.
REGARDS,
ASHOK -
Problem with the Posting Date of Goods Receipt or Invoice Receipt for PO
Hi All,
I am working on 2LIS_02_SCL - Purchasing Data (Schedule Line Level),
For our report, we should get the scheduled PO quantity,actual PO qty, Scheduled date and actual date in the report.
we are getting all these fields from the above extractor...
For a PO which is opened (Delivery Completion indicator not set) - we where getting all field as in ECC(ME23N)
But for a PO which is finished(Delivery completion indicator is set) - we where are getting actual GR qty,planned qty,planned or scheduled date at schedule line level.But we are not getting the Posting Date of Goods Receipt or Invoice Receipt for PO from history EKBE for all the schedule line.
ex:
for open PO
PO num item num schedule line Planned date actual date difference actual qty planned qty difference
450002432 10 1 01/10/2011 02/10/2011 1 day 100 100 0
2 02/10/2011 04/10/2011 2 days 200 400 200
3 03/10/2011 07/10/2011 4 days 300 300 0
For the same PO when it is Finished or completed(Delivery completion indicator is set)
PO num item num schedule line Planned date actual date difference actual qty planned qty difference
450002432 10 1 01/10/2011 07/10/2011 6 day 100 100 0
2 02/10/2011 07/10/2011 5 days 200 400 200
03/10/2011 07/10/2011 4 days 300 300 0
for all the schedule line its displaying the last posting date(i think its taking from EKKO table)
Is there any possibility to get that posting date history ....You can have multiple receipts against a PO schedule line, but this extractor is not meant to go to that level of granularity. Please try to use 2lis_02_sgr instead which provides goods receipts per PO schedule line.
-
Couldn't post data to ''. - Adobe interactive form problem
Hi
I am trying to do a test run with adobe interactive forms, I generated a WSDL from my webservice in SAP and then added the data connection fine. I added the execute event button onto my form and set a HTTP debug point in the function inside my webservice. When I try preview and I try click the execute button every time I receive the following error:
Couldn't post data to ''
What does this error mean? It never reaches my rfc as the debug is not triggered and the error seems to be coming from adobe lifecycle designer.Hello,
I am facing this issue too, were you able to resolve.
kindly help!
THanks,
Deepti -
LSMW Upload FI DOC POSTING data problem (FB013, RFBIBL01)
Hello,
I have to upload FI DOC POSTING data with LSMW.
I'm using a batch input with the program RFBIBL01.
In the step "Create batch input session", I get the following error:
FB006 Session 1 : Transferred client 00M differs from system client 500
FB015 ... Session record ...
FB014 ... BGR00-STYPE 0
FB014 ... BGR00-GROUP ###########5
FB014 ... BGR00-MANDT 00M
FB014 ... BGR00-USNAM ISCOB 0
FB014 ... BGR00-START 0000000X
FB014 ... BGR00-XKEEP /
FB014 ... BGR00-NODATA
FB013 ....Editing was terminated
Does anyone know how to solve this error?
Kind regards,
Mahnkhi,
pls refer to the error message:
FB014 ... BGR00-GROUP ###########<b>5</b>
FB014 ... BGR00-MANDT <b>00</b><i>M</i>
FB014 ... BGR00-USNAM ISCOB 0
00M sounds strange for a client?!
here is a displacement!!!!
the 5 in group belongs to the mandant and the M to the usnam i think
<b>so change structure BGR00</b>
A.
pls reward useful answers
thank you!
Message was edited by: Andreas Mann -
Getting at POST data from a pl/sql procedure through Path Aliasing
Hi.
I have mod_plsql configured with "path alias" and "path alias procedure" so that the request ends up in my
procedure and i have the remaining path in p_path. This is what I want.
http://<domain>/<dad>/<myalias>/<p_path>
My question is; is there a way at this point to get at POST data in the request? I haven't been able to find
any way of doing this looking through the documentation. Is the body of the request lost at the gateway
(mod_plsql) using path alias?
If so, is there some other way to achieve something like !myproc(name_array [somearr], value_arr [somearr])
where the first entry in the arrays is an eqvivalent to p_path?Billy Verreynne wrote:
Øyle wrote:
I have mod_plsql configured with "path alias" and "path alias procedure" so that the request ends up in my
procedure and i have the remaining path in p_path. This is what I want.
http://<domain>/<dad>/<myalias>/<p_path>
My question is; is there a way at this point to get at POST data in the request? Do not understand the question as a POST and GET are simply two different methods that a web browser submits a URL and data. There is no "+path+" involved here.Thank you for answering. I think the confusion is because you disregard what I said about "path alias" and "path alias procedure".
Those are configuration of the mod_plsql gateway so that any URI containing <myalias> above is directed to the procedure stated
by "path alias procedure". The gateway also sends any remaining parts of the URI to this procedure as an varchar2 argument (p_path).
My problem is that I see no way to get at any POST data as the signature of this procedure has to be this one varchar2, and I don't
know any other way to get at the body of the request.
>
If so, is there some other way to achieve something like !myproc(name_array [somearr], value_arr [somearr])
where the first entry in the arrays is an eqvivalent to p_path?If you want to know what the URL is, the full path used, then you need to look at the CGI (Command Gateway Interface) environment. The web server builds a list of CGI variables. These include the type of web server, the URL, the type of HTTP command (GET or POST), and so on.
Within your PL/SQL web procedure, you can query these CGI variables. Have a look at the function OWA_UTIL.GET_CGI_ENV in the [Oracle® Database PL/SQL Packages and Types Reference|http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/w_util.htm#i997269] guide.
Take a look at CGI variables such as PATH_INFO, PATH_TRANSLATED, SCRIPT_NAME and so on.Yes, thank you, but my problem is a bit upside down. I do use the cgi environment to get the method and I have path as input, what I can't
find is the body of the request. I might be approaching this entirely the wrong way. It might be a bit easyer to understand if I state that I'm
trying to find a way to implement a RESTfull service in pl/sql.
Maybe you are looking for
-
How can I share MS Office products with all Users on my Macbook Pro?
The other 3 user accounts on my Mac Pro do NOT have access to Word, Excel, etc. How can I "share" these Applications? They don't show up in my admin user's 'Applications'. I'm new to the Mac (love it so far) and I don't know how to do some basic thin
-
How to access a Network Share between two servers in same data centre
I have two dedicated servers (both Windows 2012 Server) hosted in a data centre somewhere. I want to share a folder on one server with the other server, but it's obviously not as straight forward as one might think. My servers are called "Maximus"
-
Print DMS Document from SAPscript
Hi I have a requirement when a user prints Bill of Lading document i need to print a document (stored in the document management) that is linked to a customer or material master.. Can you please explain me how to archive printing documents stored in
-
Automatic Row Processing (DML)
Hello, I have an Automatic Row Processing (DML) in a page, but I forgot to add a column in the table where I record the data. So I added the item that I forgot in the page but when I tried to insert the data on the table it shows me this error: ORA-0
-
HOW DO I DOWNLOAD NEW VERSION OF ADOBE FLASH PLAYER
To Whom It May Concern: I need to download a new version of Adobe Flash Player,but am having difficulty in doing so. Can someone please help me with this matter?