Problem in posting
Dear All,
I have used OKB9 and assigned those Business areas to relevant CC. But while the user is making transaction, it is not automatically pulling the cost centers.
Moreover, the assigned Profit Centers which is used while posting, unable to see any values in the PC report.
Please help.
JEERI
Hello,
Is new GL Activated in your scenario. In case of use of New GL please use FAGL3KEH for setting default Profit Centre.
Regards
Lavanya
Similar Messages
-
Problem while posting to accounts.posting period 002 2010 not open
Hi experts,
Im facing problem while posting to accounting.
I ran the live payroll run and while posting im got the incorrect document.
System is showing the error message that ""Posting period 002 2010 is not open"""
How we have to open the periods.
Please advice.
Vi Sai.,Hi vicky,
Goto t-code OB52.
Variant :Posting Period variant, Account Type : +, From Account : space, To Account : ZZZ..Z, From Period : 2,Year :2010, To Period :2, Year : 2010
Save.
Regards,
Dilek -
Document Splitting problem while posting asset acquisition using F-90
Hi,
We are using ECC 6.0 with document splitting functionality and are facing problem while posting asset acquisition using F-90.
The transaction entry details are as below:
Document Type - KR
Vendor Line Item PKey - 31
Amount - 10000
Asset Line Item with PKey - 70, Transaction Type - 100
Amount - 10000
The Document Splitting Rule - 0000000012 is used and the Field Status Group for the Vendor Reconciliation Account and Asset Reconciliation account have Cost Center, Profit Center and Segment as "Optional" field.
The Balance Sheet Item - Asset Reconciliation Account has been created as
Secondary Cost Element - 90.
The Profit Center and Segment field have been made mandatory and zero balancing is also set in the settings for Document Splitting.
While posting asset acquisition using F-90, we are getting the error message - "Balancing Field "Profit Center" in line item 001 not filled"
The first line refers to the Vendor Line item.
Please let me know how to overcome this error.
Regards,
RamanandPlease follow the below path and do config :-
IMG>FA>Asset Accounting>Integration with the General Ledger>Additional Account Assignment Objects>Specify Account Assignment Types for Account Assignment Objects
here you have to put KOSTL (Cost center) for both against APC and Dep run for each Dep area.
Thanks
Pyare -
Getting problem while posting Invoice
Hi all,
Ofcourse this problem is related functional thing, i am posting in ABAP group. we are getting problem while posting invoice through f-43 transaction. The error is "Fiscal year 0000 not allowed for year-dependent commitment items". Please let me know if u have any solution.
Thanks in advance.
chandrasekhar.Hi chandrasekhar,
pls post some infos:
1) application aerea of the message and message no.
2) document date / posting date
and ohter date-fileds of the document
3) SAP-Release
Have you search in SAP-OSS with the message no. or
message text ?
regards Andreas -
Problem in posting Service Entry Sheet for PO containing unplanned services
Hi Experts,
I am facing an issue with Service POs which are uploaded by a program as a part of Data Migration activity.
Scenario-
PO Document Type--> Framework Order
Account Assignment Cat--> Unknown
Limit Tab in Service PO--> Overall Limit and Expected Value are mentioned
Service Tab- No planned service maintained
Error Msg No- SE366
Problem-
While posting SES against this PO - I get a error msg- "No limit for unplanned services amounting to xxx.xx exists" (where xxx.xx is the amount).
Trials-
1) I have manually created the same PO in system which allow me to post SES without any problem.
2) Considering this a a bug I tried to rebuild the PO with report - RMBESTK3 but no success.
Can anyone please suggest?
Regards,
AmitThanks all for prompt reply.
The issue is resolved now. The porblem was under 'limit' tab there is a tab 'Other Limit'. Under this tab there is a check box 'No Limit' - if we manually create such PO then the box is automatically checked which the uploaded POs were lacking. After checking this box manually the problem is resolved.
Thanks once again for suggestions.
Regards,
Amit -
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.. -
Problem on Posting Parked Invoices during MIRO
Hi SAP Gurus!
Good day! I'm experiencing a problem during posting Parked Invoices thru MIRO. First I've parked invoices thru MIR7, then when I go to MIRO to post the invoices, the Parked Invoices are not reflected in the "Worklist". What is the possible problem here?
Hope you can help! Thank you.
MikHi Gurus!
Thanks for the input, but I want the parked documents to be reflected in the posting of invoices (MIRO).
Actually, in both DEV and QAS servers, the parked invoices are reflected, but in PROD server it is not reflected. I don't know what happened. Can you please help.
Thank you.
Mik -
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 in post installation of PI7.1
Hi All expert ,
I facing problem in post installation of PI7.1 ,
I have tried to run net weaver initial setup with the help of configuration wizard we are facing given following problem .
During 60% of instatllation I have got error u201CChoose a password that is different from your last 5 passwordsu201D I have changed it in ABAP side but still getting same error
When I skip this step then second error
: Choose a password that is different from your last 5 passwords 'PI_JCO_RFC'
AI_RUNTIME_JCOSERVER
RFC_ERROR_LOGON_FAILURE: Password logon no longer possible - too many failed attempts
Is it any way to change all standard user(i.e. created during installation ) like PI*, password in one shot in both ABAP side and JAVA side .
Regards,
AmitHi,
that problem is resolved now m facing other problem during initial setup of configuration wizard .
please see detail log .
NetWeaver initial setup > PI UT initial setup > PI initial setup > Configure IntegrationServer > Initial setup of functional unit IntegrationServer > Initial setup of functional unit IntegrationServer > This wizard will execute Postinstall steps of technical configuration > Executing BAPI SXMB_SET_ROLE_TO_IS
Executing BAPI SXMB_SET_ROLE_TO_IS
Description
No specified detailed description
State
START_ACTION
Support Information
Type of Action
InvokeServiceDebug Events
error message
Error: Execution of Function SXMB_SET_ROLE_TO_IS ends with an error (cause:ONLY_ONE_CENTRAL_XMB:100, error code:092).
error message
Error: Execution of Function SXMB_SET_ROLE_TO_IS ends with an error (cause:ONLY_ONE_CENTRAL_XMB:100, error code:092).
InvokeService:Executing BAPI SXMB_SET_ROLE_TO_IS
Library: sap.com/tclmconfig~content
SourcePath ./NetweaverProcess/PIJavaConstraint/PIJavaProcess/IntegrationServerRootProcess/IntegrationServerProcess/IntegrationServerProcess/SXMB_SET_ROLE_TO_IS/INVOKESERVICEBAPIIS
Time 2009/07/31 at 14:30:47
WSDL content/Netweaver/PI/IntegrationServer/service/BAPIConfiguringRoleOfIS.wsdl
Destination parameters
user : PISUPER
password : % secure content %
host : ctsgvcsapbl03
sysnr : 10
client : 001
language : en
function name: SXMB_SET_ROLE_TO_ISInput
<Input>
<NAME>EGAL</NAME>
</Input>
InvokeService- Result: Failed
Exception Message:Execution of Function SXMB_SET_ROLE_TO_IS ends with an error (cause:ONLY_ONE_CENTRAL_XMB:100, error code:092).
Exception Class:com.sap.tc.lm.ctc.metamodel.exception.ActionExecuteException
Stacktrace
com.sap.tc.lm.ctc.cul.serviceimpl.process.InvokeServiceControllerDefault.execute(InvokeServiceControllerDefault.java:171)
error message
Error: Execution of Function SXMB_SET_ROLE_TO_IS ends with an error (cause:ONLY_ONE_CENTRAL_XMB:100, error code:092).
Regards,
Amit -
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 -
Is anyone having problems playing music on their iPhone? At times, particularly when you've got headphones in songs sound like a badly scratched CD, continually skipping in various sections of the song. Problem occured post-IOS 5 update.
Is anyone having problems playing music on their iPhone? At times, particularly when you've got headphones in songs sound like a badly scratched CD, continually skipping in various sections of the song. Problem occured post-IOS 5 update.
-
Problem with posting free goods delivery
I need some help,
when I'm posting the goods issue in VL02N I'm receiving following error:
<i>Item Material Description Delivery qty UoM Batch
000001 XAK 256 N50 CB P35 CN UR V35/ AUTOALARM DOG 50 1 ST
E KO 014
Order 2000574 cannot carry revenues</i>
First I don't know why the order no is 2000574 when the delivery was done to order 2065030645, but it's not a problem to me, the problem is why I'm getting the error 'the order cannot carry revenues' because the delivery is made to an free goods order and the order has values of 0 in pricing conditions.
Looking forward to reciving some help
regards,
MartinHi Marcin
Check the following:
Free Goods
Also referred as discount in kind. Business can consider to offer discount not in monetary terms but in the form of free goods, ie goods provided without any charge when a particular quantity of material is purchased by the Customer. SAP provides two methods:
a) Inclusive
b) Exclusive
IMGSDBasic functionsFree Goods
Condition technique for free goods
Select maintain Pricing procedure
Standard procedure
Copy as ur Pricing procedure
Copy all
Save
The Pricing procedure contains the Condition Type as NA00free goods
NA00 has the Access sequence as NA00
Select activate free goods determination
Assign the procedure to sales areas using document procedure and customer procedure
Select your sales area and assign
S002 SB SX A 1 ZA0001
Save
A= Document Procedure (determined based on doc)
1= Customer procedure (Determined from customer master)
We have to maintain free goods condition records
SAP menuLogisticsSDMaster dataConditionsFree GoodsVBN1 Create
Discount type: NA00
Continue
Enter sales org, distribution channel and Customer
By default the entry screen is for Inclusive, Select Exclusive button to maintain Condition Record for Exclusive
Inclusive: Continue, as it is to maintain the record
Material: Product ID
Min Qty: Minimum qty required to be ordered (10)
From: From how many units free goods are considered ie 10
Unit=Unit of measurement of ordered product
Are free Goods: quantity free
Add= The unit of measurement of free goods item
Calculation: 1 Prorata
save
What is the other requirement?
The pricing procedure should contain the Condition type R100 that is free goods condition type. This condition type in the Procedure has requirement as 55
(55 means only if the item is free goods then only value of R100 to be used in the calculation. Value= controlled by Alt condition base value 28 which states that discount should be 100%)
Check whether your pricing procedure is created from scratch then you have to maintain the Condition type R100, requirement as 55 and altcbv= 28
If you have copied from RVAA01 there is no need to maintain R100, as it is already available
Create the order
Ordered qty is split into two items
M1 30 Pcs
This will be split as
M1 27---Item cat TANregular pricing
M1 3Item cat as TANN eligible for 100% disc
How the item category is determined
Main item:
Z1OR + NORM+TAN
Sub item
Z1ORNORM Usage= Free + Higher level item cat as TAN= TANN as sub item Item category
Exclusive
VBN1
Select Exclusive
The screen fields are same as inclusive except here there is a provision to add the material number of free good material, which is different from the material ordered. If left blank system takes both as same material
Reward if useful to u -
Problem in posting Er PF Wage Types generated through Retro
Hello all,
I am running India Payroll in ECC 6.0 with HR Package level 52.
We have revised wages for two employees in the month of June with effect from 13.04.2010.
Retro has run successfully for two months April & May and all the wage types are calculated and passed on for FI Posting correctly except Employer PF Wage Types.
I am getting error while posting wages to FI as Employer PF Contribution & Employer Pension Contribution generated for April & May are not considered for FI Posting. Only current month values are taken into account. Whereas I don't have any problem with Employee Contribution. /ZF5 is generated with total of past two months contribution and also passed on to FI.
What might be the problem with Er PF Wage Types /3F3 & /3F4?
We have not posted June salary till now due to above said posting error. Now July Payroll is also started.
Experts, please help me to sort out the issue.
Thanks in advance.
Regards,
HemaHi,
Thanks for quick reply.
The error is "Posting balance not cleared".
We have changed all the components including basic salary. Payroll program has taken PF Basis correctly and calculated PF amounts, both for Employee & Employer contribution correctly for individual months.
As I mentioned for all the three months Employee Contribution is considered for FI posting through regular wage type for current month and through /ZF5 for last two months.
But for Employer Contribution only June amount is considered for posting even though the correct amounts are shown for other two months in RT (three lines for /3F3 & /3F4 each).
Due to this, total amount for Balance Sheet Accounts is less where as Expense Accounts is shown higher as Employer Contribution is not considered for April & May, causing imbalance in Accounting entries.
GL Accounts are mapped correctly. Otherwise even the current month amount will not be carried to FI.
Hope my explanation is clear.
Thanks & Regards,
Hema -
Excel Data Connection problem for posting Excel on SharePoint 2013
Hi there,
I tried to post an Excel file to a SharePoint 2013 site. The file has a column with VLOOKUP formula to look for data from another Excel file posted on the same site. However, once I open the file, it'll show the following message:
"We can't connect to '[link to file on onedrive/sharepoint]'. Please make sure you're using the correct
web address"
I don't recognize the website on this error message and there is no data linked to it. If I click OK, it'll show the following error message:
"Microsoft Excel cannot access the file '[link to file on onedrive/sharepoint]'. There are several possible reasons:
- The file name or path does not exist
- The file is being used by another program
- The workbook you are trying to save has the same name as a currently open workbook"
I tried to create another Library and post the file but it still shows me the same error message. I urgently need to fix this error as the file is viewed by several directors. Can someone help??? Thanks a lot!!Currently, when a workbook that contains a Data Model is published to a library in Office 365, data refresh is unavailable.
However, you can use a PowerShell script to configure a workaround.
donwload this white paper for workaround:
http://technet.microsoft.com/en-us/library/jj992650.aspx
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog -
Problem with post and get (jsp to servlet)
===jsp code(login.jsp)
out.println("<form action='servlet/Login' action='post'>");
out.println("Username <input type='text' name='user' /><br>");
out.println("Password <input type='password' name='pass' /><br>");
out.println("<input type='submit' value='Login' /><br></form>");
the above jsp page is included in another jsp page
===jsp code(index.jsp)
<jsp:include page='login.jsp' flush='true'/>
when submit is clicked in the login form, the data is send (to Login servlet) in the url string, even though i am using "POST" method in the form.
the output of request.getMethod() in the Login servlet gives "GET"
what could be the problem?The code you've shown us looks fine. The problem isn't in the form code you've listed. Is the form being included inside another form on index.jsp? Does index.jsp have any forms of it's own? Perhaps you aren't submitting the form you think you are submitting. Or, are you redirecting in your serlvet somewhere? Or are you forwarding the request somehow?
I agree with the previous post - we need to see the HTML output that index.jsp results in.
Michael -
Problem when post G/L Document via BAPI_ACC_GL_POSTING_POST
What I am doing is to post new G/L Accounting Document on each successfully paid transaction, each successfully reversed transaction, each rejected transaction for bank XXX, and each payment transaction for bank YYY in 3 Events respectively. And I am using the BAPI BAPI_ACC_GL_POSTING_POST to post.
but in the return table there are error messages, the sample code is as follows:
*& Get the OBJ_KEY of DOCUMENTHEADER *
get the current fiscal year
l_fiscyear = sy-datum(4).
select the Number Range NO. out from T003
select single numkr
from t003
into l_numkr
where blart = 'SY'.
if sy-subrc <> 0.
message .
endif.
call FM to get the Accounting Doc. No.
call function 'NUMBER_GET_NEXT'
exporting
nr_range_nr = l_numkr
object = RF_BELEG
subobject = HKHK
toyear = l_fiscyear
importing
number = p_belnr
exceptions
interval_not_found = 1
number_range_not_intern = 2
object_not_found = 3
quantity_is_0 = 4
quantity_is_not_1 = 5
interval_overflow = 6
buffer_overflow = 7
others = 8.
if sy-subrc <> 0.
message
endif.
concatenate the Accountint Doc. No, the company code and the
fiscal year together as the OBJ_KEY
concatenate p_belnr HKHK' l_fiscyear into lx_docheader-obj_key.
&--Get OBJ_KEY end--
get the OBJ_SYS
select single logsys
from t000
into lx_docheader-obj_sys
where mandt = sy-mandt.
if sy-subrc <> 0.
message
endif.
fill the structure parameter DOCUMENTHEADER of the BAPI
lx_docheader-obj_type = 'BKPFF'.
lx_docheader-username = sy-uname.
lx_docheader-comp_code = 'HKHK'.
lx_docheader-ac_doc_no = p_belnr.
lx_docheader-fisc_year = l_fiscyear.
lx_docheader-doc_date = p_doc_date.
lx_docheader-pstng_date = p_post_date.
lx_docheader-doc_type = SY.
fill the table parameter ACCOUNTGL of the BAPI
lwa_tabaccgl-itemno_acc = 1.
lwa_tabaccgl-gl_account = 0000050107 .
lwa_tabaccgl-comp_code = HKHK.
lwa_tabaccgl-pstng_date = p_post_date.
lwa_tabaccgl-doc_type = SY.
lwa_tabaccgl-ac_doc_no = p_belnr.
lwa_tabaccgl-fisc_year = l_fiscyear.
append lwa_tabaccgl to li_tabaccgl.
clear lwa_tabaccgl.
lwa_tabaccgl-itemno_acc = 2.
lwa_tabaccgl-gl_account = 0000082910.
lwa_tabaccgl-comp_code = HKHK.
lwa_tabaccgl-pstng_date = p_post_date.
lwa_tabaccgl-doc_type = SY.
lwa_tabaccgl-ac_doc_no = p_belnr.
lwa_tabaccgl-fisc_year = l_fiscyear.
lwa_tabaccgl-costcenter = 0000011401.
append lwa_tabaccgl to li_tabaccgl.
clear lwa_tabaccgl.
fill the table parameter CURRENCYAMOUNT of the BAPI
lwa_tabcurramt-itemno_acc = 1.
lwa_tabcurramt-currency = HKD.
lwa_tabcurramt-amt_doccur = 1.5-.
append lwa_tabcurramt to li_tabcurramt.
clear lwa_tabcurramt.
lwa_tabcurramt-itemno_acc = 2.
lwa_tabcurramt-currency = HKD.
lwa_tabcurramt-amt_doccur = 1.5.
append lwa_tabcurramt to li_tabcurramt.
clear lwa_tabcurramt.
Call BAPI to post the FI-GL Document
call function 'BAPI_ACC_GL_POSTING_POST'
exporting
documentheader = lx_docheader
tables
accountgl = li_tabaccgl
currencyamount = li_tabcurramt
return = li_tabreturn.
The return table says:
Error in document: BKPFF 1200000068HKCG2007 UD1CLNT120
Field Value date is a required field for G/L account HKCG 50107
would you experts please tell me what's the problem is?? it's emergency, thanks in a million advance.Hi
U haven't to transfer the reference data to the BAPI, the document number is picked up automatically:
* fill the structure parameter DOCUMENTHEADER of the BAPI
* LX_DOCHEADER-OBJ_TYPE = 'BKPFF'.
LX_DOCHEADER-USERNAME = SY-UNAME.
LX_DOCHEADER-COMP_CODE = 'HKHK'.
* LX_DOCHEADER-AC_DOC_NO = P_BELNR.
* LX_DOCHEADER-FISC_YEAR = L_FISCYEAR.
LX_DOCHEADER-DOC_DATE = P_DOC_DATE.
LX_DOCHEADER-PSTNG_DATE = P_POST_DATE.
LX_DOCHEADER-DOC_TYPE = SY.
* fill the table parameter ACCOUNTGL of the BAPI
LWA_TABACCGL-ITEMNO_ACC = 1.
LWA_TABACCGL-GL_ACCOUNT = 0000050107 .
LWA_TABACCGL-COMP_CODE = HKHK.
LWA_TABACCGL-PSTNG_DATE = P_POST_DATE.
LWA_TABACCGL-DOC_TYPE = SY.
* LWA_TABACCGL-AC_DOC_NO = P_BELNR.
* LWA_TABACCGL-FISC_YEAR = L_FISCYEAR.
APPEND LWA_TABACCGL TO LI_TABACCGL.
CLEAR LWA_TABACCGL.
LWA_TABACCGL-ITEMNO_ACC = 2.
LWA_TABACCGL-GL_ACCOUNT = 0000082910.
LWA_TABACCGL-COMP_CODE = HKHK.
LWA_TABACCGL-PSTNG_DATE = P_POST_DATE.
LWA_TABACCGL-DOC_TYPE = SY.
* LWA_TABACCGL-AC_DOC_NO = P_BELNR.
* LWA_TABACCGL-FISC_YEAR = L_FISCYEAR.
LWA_TABACCGL-COSTCENTER = 0000011401.
APPEND LWA_TABACCGL TO LI_TABACCGL.
CLEAR LWA_TABACCGL.
Max
Maybe you are looking for
-
Can't open NEF (Nikon Raw) photos in CS2
Using CS2 on a Power Mac G5, running 10.5.8 with plenty of ram. Photos taken on a Nikon D700 in Raw format and transferred directly from camera to computer using Nikon Transfer. When I try to open a photo marked NEF in Photoshop's Bridge, I get a mes
-
Unable to type in UAC prompt during desktop share
While in desktop sharing mode and having control of the user's system we are unable to respond to any UAC prompts that might come up during troubleshooting. I can click in the box, but cannot type.This is happening for all of our support staff when u
-
Dropping dragged object to specic location of Tile Container
Hi All, I am facing a problem in drag and drop application. Tehe problem is that when i am dragging the HBox to Tile container it always adding at last or first position but i want to add to specfic location based on existing children of Tile Contain
-
Some very, VERY basic questions from a newbie.
Hi all. After an intense week of trial and error I'd came to the point where to create and apply a template to my project. Only to see that everything screwed up big time. So, I now belive I better start over and get it right from the beginning. Ther
-
WHY iPhoto5 so slow???? How to fix this?
I have iBook G4 1GHz with 768MB RAM. Since i installed new iLife with iPhoto5 i was surprised that iPhoto5 works very slow.... It stucks all the applications on my laptop while working especially while openning and quiting. HELP, WHAT TO DO TO MAKE I