Problem with posting GL document in QA
Iam upload data using BAPI "BAPI_ACC_DOCUMENT_POST"
"We were not able to successfully upload an Excel spreadsheet into SAP in QA area . When we attempted to do the upload in QA, SAP displayed a blank screen and then froze. No error messages were displayed. ( We were able to successfully do uploads in DEV)"
Hi Siva,
You need to talk with your basis guys.
regs
Similar Messages
-
Problem with freeze on Document forms
Hi all,
i've a problem with freeze on document's forms (like invoice) when i make changes on matrix.
For example i've an addon that calculate discounts for items and update the information in the matrix. But when I update the info in the Matrix I see the cursor run across the matrix.
This create two problems. The first one is the orrible aspect that the operation assume, the second is that sometimes some cells turn to black and remain ofthis color.
Can someone help me?
Here I post a piece of my code:
Dim oForm As SAPbouiCOM.Form = SBOApplication.Forms.Item(FormUID)
Dim oMatrix As SAPbouiCOM.Matrix = oForm.Items.Item("38").Specific
Dim oRefLine As Integer = 0
oForm.Freeze(True)
Dim Cnt As Integer = 1
Try
While Cnt <= oMatrix.RowCount
If oMatrix.Columns.Item("U_RefLineId").Cells.Item(Cnt).Specific.Value <> "" Then
Dim apDouble As Double = oMatrix.Columns.Item("15").Cells.Item(Cnt).Specific.Value.ToString.Replace(".", ",")
If apDouble <> 100 Then
SetMatrixValue(oMatrix, "U_RefLineId", Cnt, "")
SetMatrixValue(oMatrix, "11", Cnt, oMatrix.Columns.Item("U_OrigQtyMN").Cells.Item(Cnt).Specific.Value)
SetMatrixValue(oMatrix, "U_OrigQtyMN", Cnt, 0)
Cnt = Cnt + 1
Else
oMatrix.Columns.Item("15").Cells.Item(Cnt).Click()
SBOApplication.ActivateMenuItem("1293")
End If
Else
SetMatrixValue(oMatrix, "15", Cnt, 0)
Cnt = Cnt + 1
End If
End While
Catch ex As Exception
SBOApplication.StatusBar.SetText("Error: " & ex.Message, SAPbouiCOM.BoMessageTime.bmt_Short, SAPbouiCOM.BoStatusBarMessageType.smt_Error)
End Try
oForm.Freeze(False)Hi Daniele,
I use a little different approach because the Freeze on a Form is like parenthesis on formula. You must be sure that the Freeze(true) are balanced by a Freeze(false).
So my pattern is:
Try
oForm.Freeze(True)
' the operation you need to do with the freezed form
Catch Ex as Exception
' Menage the errors here
Finally
oForm.Freeze(False)
End Try
The Finally statement is executed in both case when an Exception is raised or when the code is right executed.
But I think this is not the problem in your code.
If you still having problem, probably we need to examine your sub-routine "SetMatrixValue".
It is also important to know your SAP Business One version because in the past there was a version with a problem in the refresh of matrix.
I use SAP Business One 2007A SP01 PL06 HF1 and I do not have problem with the freezing.
Hope it helps.
Carmine -
Problem in posting multiple documents in FB70 through BDC...
Hi,
I am facing a problem while posting multiple documents from a flat file in FB70 thourgh BDC batch input by using session method. However, the session is getting terminated after posting the first document. Please clarify my problem.
Below is a sample of the data in my flat file -
Customer,Invoice Date,Posting Date,Amount,G/L Account,Amount in doc. Curr.
34,03.06.2009,03.06.2009,100,211000,100
34,03.06.2009,03.06.2009,200,211000,200
34,03.06.2009,03.06.2009,300,211000,300
And below is the sample code of my program.
REPORT ZANI2_BDC_FB70
NO STANDARD PAGE HEADING LINE-SIZE 255.
TYPES: BEGIN OF TY_STR_FB70,
ACCNT(20) TYPE C, "Customer
BLDAT(20) TYPE C, "Invoice Date
BUDAT(20) TYPE C, "Posting Date
WRBTR(20) TYPE C, "Basic Data - Amount
HKONT(20) TYPE C, "G/L Account
ITEM_WRBTR(20) TYPE C,
"Line Item Amount In Document Currency
END OF TY_STR_FB70,
BEGIN OF TY_STR_FILEDATA,
FIELDS TYPE STRING,
END OF TY_STR_FILEDATA.
* data definition
* Batchinputdata of single transaction
DATA: BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE,
* messages of call transaction
MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
DATA: IT_STR_FILEDATA TYPE STANDARD TABLE OF TY_STR_FILEDATA,
WA_STR_FILEDATA TYPE TY_STR_FILEDATA,
IT_STR_FB70 TYPE STANDARD TABLE OF TY_STR_FB70,
WA_STR_FB70 TYPE TY_STR_FB70,
G_STR_FILENAME TYPE STRING,
G_FLG_ERROR TYPE I,
G_INDEX TYPE I,
G_STR_INDEX TYPE STRING,
G_STR_FIELDNAME TYPE STRING.
SELECTION-SCREEN BEGIN OF BLOCK INPUT.
PARAMETERS: P_FILE TYPE IBIPPARMS-PATH,
P_SES TYPE APQI-GROUPID.
SELECTION-SCREEN END OF BLOCK INPUT.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = 'P_FILE'
IMPORTING
FILE_NAME = P_FILE.
Continued in the next thread.....Continued from the previous thread.
PERFORM OPEN_GROUP.
G_INDEX = 1.
LOOP AT IT_STR_FB70 INTO WA_STR_FB70.
PERFORM BDC_DYNPRO USING 'SAPMF05A' '1200'.
PERFORM BDC_FIELD USING 'RF05A-BUSCS'
'R'.
"Customer
PERFORM BDC_FIELD USING 'INVFO-ACCNT'
WA_STR_FB70-ACCNT.
"Invoice Date
PERFORM BDC_FIELD USING 'INVFO-BLDAT'
WA_STR_FB70-BLDAT.
"Posting Date
PERFORM BDC_FIELD USING 'INVFO-BUDAT'
WA_STR_FB70-BUDAT.
"Basic data - Amount
PERFORM BDC_FIELD USING 'INVFO-WRBTR'
WA_STR_FB70-WRBTR.
PERFORM BDC_FIELD USING 'INVFO-WAERS'
'EUR'.
G_STR_INDEX = G_INDEX.
IF G_INDEX < 10.
CONCATENATE '0' G_STR_INDEX INTO G_STR_INDEX.
ENDIF.
CONDENSE G_STR_INDEX NO-GAPS.
CLEAR G_STR_FIELDNAME.
CONCATENATE 'ACGL_ITEM-WRBTR(' G_STR_INDEX ')' INTO
G_STR_FIELDNAME.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
G_STR_FIELDNAME.
"'ACGL_ITEM-WRBTR(01)'.
"G/L Acct
CONCATENATE 'ACGL_ITEM-HKONT(' G_STR_INDEX ')' INTO
G_STR_FIELDNAME.
PERFORM BDC_FIELD USING G_STR_FIELDNAME
WA_STR_FB70-HKONT.
"Amount .
CONCATENATE 'ACGL_ITEM-WRBTR(' G_STR_INDEX ')' INTO
G_STR_FIELDNAME.
PERFORM BDC_FIELD USING G_STR_FIELDNAME
WA_STR_FB70-ITEM_WRBTR.
"PERFORM BDC_DYNPRO USING 'SAPMF05A' '1200'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=BU'.
CLEAR WA_STR_FB70.
ENDLOOP.
IF G_FLG_ERROR IS INITIAL.
PERFORM BDC_TRANSACTION USING 'FB70'.
ENDIF.
IF G_FLG_ERROR IS INITIAL.
PERFORM CLOSE_GROUP.
MESSAGE 'Session created successfully.' TYPE 'I'.
ENDIF.
ENDIF.
Continued in the next thread.. -
Problems with posting iDocs from MDM in SAP R3
Hi,
I am an MDM consultant, with limited knowledge about SAP R3.
We send material master data from MDM, via PI to R3 using iDocs.
We are having problems with posting MATMAS, and it seems the problems are with updating already existing materials.
In BD87 we get the following warnings:
The field MARA-ERVOE is not ready for input and was therefore not initialized
The field MARA-ERVOL is not ready for input and was therefore not initialized
The field MARA-FERTH is not ready for input and was therefore not initialized
The field MARA-KZGVH is not ready for input and was therefore not initialized
The field MARA-XCHPF is not ready for input and was therefore not initialized
With the last message being:
No changes made
I have checked the MDM syndicator, and none of these idoc-fields are linked to the MDM repository.
So they are syndicated blank.
If we try to resend the material, it is again stopped and in BD87 I see the same messages.
Please help me understanding how to solve these issues.
Thanks,
ThomasHi,
Please refer the below threads which talks about the similar problem
http://scn.sap.com/thread/3180116
http://scn.sap.com/thread/1374222
Generally the basic view of the material to be created first. Then the sales, purchasing and other views to be created.
There are few fields in the other views which gets values from the basic data view.
Regards,
Antony -
Problem with posting message in forum
This question was solved.
View Solution.Hi dkpb,
The problem here was that IE9 at the time was incompatible with the forum software. That has since been fixed. What is your issue now? It helps if you describe your specific problem with posting so we can look into it for you.
SunshineF
Clicking the "Kudos star" to the left is a great way to say thanks!
When your problem has been solved, accept the solution by clicking the "Accept as Solution" button to help other members in the future!
Rules of Participation -
Hi, I have a problem with filtering binary documents (.doc, .pdf, etc...). I use SQL*PLUS for remote access to Oracle 10.2 on Linux and I create table:
CREATE TABLE test (id NUMBER PRIMARY KEY, text VARCHAR2(100));
I insert to this table:
INSERT into test values(1, 'PATH/text1.doc‘);
INSERT into test values(2,'PATH/text2.doc‘);
and then:
CREATE INDEX test_index ON test(text) indextype is ctxsys.context
parameters (’datastore ctxsys.file_datastore
filter ctxsys.auto_filter’);
Message "Index created" is displayed, but objects: DR$test_index$I, DR$test_index$K, DR$test_index$N, DR$test_index$R and DR$test_index$P are empty => index wasn´t created probably.
I don´t know, where is bug, either bug is somewhere in this code or on the server (wrong installation oracle or constraint privileges). Do you know in what is bug?The following is an excerpt from the 10g online documentation. Note the items that I have put in bold.
"FILE_DATASTORE
The FILE_DATASTORE type is used for text stored in files accessed through the local file system.
Note:
FILE_DATASTORE may not work with certain types of remote mounted file systems.
FILE_DATASTORE has the following attribute(s):
Table 2-4 FILE_DATASTORE Attributes
Attribute Attribute Value
path path1:path2:pathn
path
Specify the full directory path name of the files stored externally in a file system. When you specify the full directory path as such, you need only include file names in your text column.
You can specify multiple paths for path, with each path separated by a colon (:) on UNIX and semicolon(;) on Windows. File names are stored in the text column in the text table.
If you do not specify a path for external files with this attribute, Oracle Text requires that the path be included in the file names stored in the text column.
PATH Attribute Limitations
The PATH attribute has the following limitations:
If you specify a PATH attribute, you can only use a simple filename in the indexed column. You cannot combine the PATH attribute with a path as part of the filename. If the files exist in multiple folders or directories, you must leave the PATH attribute unset, and include the full file name, with PATH, in the indexed column.
On Windows systems, the files must be located on a local drive. They cannot be on a remote drive, whether the remote drive is mapped to a local drive letter."
With accessible paths and files, you get something like:
SCOTT@orcl_11g> CREATE TABLE test (id NUMBER PRIMARY KEY, text VARCHAR2(100));
Table created.
SCOTT@orcl_11g>
SCOTT@orcl_11g>
SCOTT@orcl_11g> INSERT into test values(1,'c:\oracle11g\banana.pdf');
1 row created.
SCOTT@orcl_11g> INSERT into test values(2,'c:\oracle11g\cranberry.pdf');
1 row created.
SCOTT@orcl_11g>
SCOTT@orcl_11g> CREATE INDEX test_index ON test(text) indextype is ctxsys.context
2 parameters ('datastore ctxsys.file_datastore
3 filter ctxsys.auto_filter');
Index created.
SCOTT@orcl_11g>
SCOTT@orcl_11g> select count(*) from dr$test_index$i
2 /
COUNT(*)
608
SCOTT@orcl_11g> In the following, I used a non-existent path and non-existent file name, which produces the same results as when you use a remote path that does not exist locally.
SCOTT@orcl_11g> CREATE TABLE test (id NUMBER PRIMARY KEY, text VARCHAR2(100));
Table created.
SCOTT@orcl_11g>
SCOTT@orcl_11g>
SCOTT@orcl_11g> INSERT into test values(3,'c:\nosuchpath\nosuchfile.pdf');
1 row created.
SCOTT@orcl_11g>
SCOTT@orcl_11g> CREATE INDEX test_index ON test(text) indextype is ctxsys.context
2 parameters ('datastore ctxsys.file_datastore
3 filter ctxsys.auto_filter');
Index created.
SCOTT@orcl_11g>
SCOTT@orcl_11g> select count(*) from dr$test_index$i
2 /
COUNT(*)
0
SCOTT@orcl_11g> -
Problem with Assign reference document.
Hi all,
I defined transaction input parameter type Xml.
I used Reference Document Loader to load document (structure.xml) below.
<?xml version="1.0" encoding="UTF-8"?>
<SO_VALIDATION>
<L4_SO_ID/>
<L4_SOI_NO/>
<PPC_STATUS/>
<PPC_INFO/>
</SO_VALIDATION>
I used menu command Assign Reference Document, to assign above document to transaction input.
I tryed to use this transaction in vs.net application as a web service.
But there is no xml structure in InputParams in web service.
I tryed alot but i did not achieve.
What must i do?
Thanks.cml_bzl,
I'm using version 12.04 and I have not had any problems with assigning reference documents and using .NET.
You should not have to do anyting special to get the transaction inputs to show up in .Net. To map the output I do the following:
1. Create an output transaction variable and assign it's type as XML
2. Using a XML document block to create and XML document for your output transaction variable
3. Assign the XML document as the reference for the output transaction variable.
THis works for me every time. If you change the transaction parameters, make sure you update the web service form the .NET side.
Glenn -
Problem with opening odf document
Hello,
I have some problem with opening pdf document (attached image). Any idea why ?
Regards,Any idea why ?
-
Problem in Posting Parked Document for Asset Retirement
Hi
I had parked asset retirement document with document type AR. At that time fields such as Plant, Asset Retirement tick, Asset No. etc. were available and I had filled up the fields.
Now I want to post the document with FBV0. When I check the line items the above mentioned fields are not visible. When I post the document system give following message:
Formatting error in the field RF05A-XAABG; see next message
Message no. 00298
Diagnosis
During batch input or when executing CALL TRANSACTION... USING a screen
field was filled with an invalid input format.
System Response
Processing was terminated.
Procedure
The screen field has the technical name RF05A-XAABG . The cause of the
error is described in the following message.
Correct the appropriate BDC data.
Please suggest what is the problem and how to solve it.
Thanks & Regards
ShripalHi Sridevi
Thanks for the reply
It may be possible that I had not ticked Indicator Post retirement of assets directly ?
But the real problem is that I while trying to post the parked document this field is not available. I have alread mentioned the fields which were originally available while parking but now they are not available while posting.
Please suggest what should be done to make these fields visible while posting. If I try to create new document these field are available. They are only not available when parked document is posted.
Thanks & Regards
Shripal -
Problem with material and document date in sales order
Hi All,
I am working in ECC 6.0 .I am facing problem with two fields when in enter in to sales order(tcode:va01)
1.A material comes automatically in line item.
2.Document date also comes as 27.03.2008 instead of todays date in each order i create.
I think its not related to configuration.I think its related to some modifications through exits or enhancement points.could someone suggest me a where to check and solve that.
Your's suggestion is appreciated.Hi Sharad,
Check MV45AFZZ include in se38..It is a user exit for basic validation on sales...We may be able to find some code there (if screen data is predefined by code as mentioned)
Hope it helps
Regards
Byju -
Problem in Posting a document using BAPI_ACC_DOCUMENT_POST
Hi,,
I am using the function module "BAPI_ACC_DOCUMENT_POST" to post a vendor Invoice (KR). i think the t-code to post this is FV60.when i post the document, the document number is getting generated but amount is missing in t-code fbv3 but bseg table is getting updated properly. Can any one help the actual input to be given to create a document and tax
RegardsI have a suggestion:
Try to post this kind of document (KR) with transaction code FB01. If you can see the document correctly with FBV3 transaction, then you can use BAPI you mention.
The following function modules may be useful for calculating taxes:
CALCULATE_TAX_FROM_NET_AMOUNT
CALCULATE_TAX_FROM_GROSSAMOUNT
Regards.
Rafael Rojas. -
Problem while posting FI document through BAPI - Multiple Exchange Rates
I am able to post FI document with multiple exchange rates for the same currency using FB01. But, when I try to post the same document details using BAPI_ACC_DOCUMENT_POST , it throws an error F5 701 - Inconsistent Rate for Currency XXX .
How can we avoid this error while posting through BAPI ?
Thanks & Regards,
NidhiHi Nidhi,
Value range
The field CURR_TYPE (currency type) describes the role played by a
currency in the SAP System.
The currency type can take on the following values, for example:
o 00 Transaction currency
o 10 Company code currency
o 20 Controlling area currency
o 30 Group currency
o 40 Hard currency
o 50 Index-based currency
o 60 Global company currency
If an entry is not made in the field CURR_TYPE, the default value "00"
is retained.
If only one data record is transferred in transaction currency for each
line item, the field CURR_TYPE does not need to be filled out. If
several data records are transferred for each line item, the currency
type must be entered for each record.
If the parameter CurrencyAmount is filled with the currency fields,
a complete document check including characteristics and value
components of profitability analysis (CO-PA). Otherwise, the account
assignment objects are checked.
Check the BAPI documentation SE37.
Regards,
Boobalan Suburaj -
Problem with posting write-ups in ABZU
Hello,
May I ask for your help on my concern about transaction ABZU? My asset was capitalized on 31.03.2009 and it has depreciated until last month. I would like to delete this asset because it should not have been recognized as ana sset, so my first procedure would be to derecognize the depreciated that was posted.
If I use transaction ABZU and use transaction type 700, I encounter an error that says "You cannot post write-ups". The long text explains that "None of the areas to be posted in accordance with the transaction type entered manages one of the depreciation types entered or cumulative values.".
If I use transaction type 710, I encounter the same error, but the long text says " According to the transaction type, you have to post to area 01. However, in this area, there is either no accumulated depreciation or the write-up depreciation type(s) are not managed in this area.".
I checked transaction OABU, and I could see that the depreciations areas allow unplanned depreciations. I cehcked the asset reports and the asset explorer and I can see that it contains accumulated depreciation.
What could be the reason for the error? Could it be some some settings in other customizing transaction other than OABU?
Thanks in advance for your advice.
Regards,
PeterHi peter
In the previous post you have mentioned that Depreciation is being Run from March - June.
iey i said 4 months.
Pass a JV means you post a document Crediting this Asset and Debitting any AUC(or any Expense G/L Account) for the Acquisition Amount.
After that you go and check in AW01N -->Asset Explorer, system will write the the Adjustment entries in all the periods of the useful life.
you then reduce the useful life for 5 months,then you will see the Total of the Depreciation posted for 4 months(it will be positive amount).
why 5months is 4months already Depreciation posted and 1month for running the Adjustment Amount(which is positive so that G/L Account Balances will also be adjusted).
You first try this scenario in test environment, you will be able to know clearly.
Hope you understand.
Regards
Venkat -
Problem with linking PDF documents using named destinations
Linking from one PDF document to another PDF document using named destinations viewed in Reader works great but once the documents are viewed inside a browser environment the link will only open the go to document and will not go to the named destination.
If I make the links using the page number - yes they will work perfectly in the browser. But my problem is that the documents may change in the future and the links may be on differnt pages, so I need to use named destinations to bring me to the page of the PDF they are on.
Any suggestions? I need them to work in IE.
ThanksYou can link to a named destination with a URL. This might work better in
your case... To do it use the following format:
http://example.org/doc.pdf#nameddest=Chapter6 -
Problems with post-method in weblogic-server 6.0
Hello,
I tried to implement a servlet in Visual Cafe working with weblogic 6.0.
As I used the get-method it worked fine, but as I used the post-method
I got the following java.lang.IllegalArgumentException:
bad URLMatchMap path:''
Does anybody know about this error and where I would have to set the
path-variable. I have already registered the servlet in web.xml
Thanx for your help
Thorsten
Try installing SP1. In SP1 a bug regarding POST using HTTPS has been fixed. Check
the bug id 041234 in this link
http://edocs.bea.com/wls/docs60/notes/bugfixes2.html#1073617
Shiva.
"Raju" <[email protected]> wrote:
> Hi,
>>
>> We are using Weblogic server 6.0 with out service pack 1.0.
>>
>> I am having problem with Https POST, i am using port 7002. and when
>i use
>> https post servlet hangs for lot of time. But when i use Https using
>GET,it
>> works fine.
>>
>> Did any one face the problems.
>>
>> Thanks in Advance.
>>
>> Raju
>>
>
>
>
Maybe you are looking for
-
Hi Experts I want to view a list of all the parked invoices for all vendors. There is no standard SAP report which shows these details... Can you please help! Jean
-
Problem scrolling up n down in touchpad
i've installed Win7 and i don't know how to bring back the scrolling option in my touchpad, i know its got something to do with the Device Manager, cuz i found a solution once and i forgot it. please help, thanks
-
I Have the iphone4s I can't add my contacts
I can pull up the icon for contacts but I can not add contacts
-
When making a magic iDVD is there a way to get all of the movies that you save to the project to play back to back automatically?
-
Using MactheRipper...help!
I have used mactheripper to extract a dvd and now the folder is in my movies...Now, how do burn that folder into a blank DVD?