ME_PROCESS_REQ_CUST GL Account Number
I am running this BADI in the IF_EX_ME_PROCESS_REQ_CUST~PROCESS_ACCOUNT interface. My code is pasted below. I am able to retrieve our the GL Account Number from the cross-reference table and move it to wa_exkn-sakto. However, SAP issues a message that the GL Account need to be entered, thinking that it is not there. It is on the screen, and also in wa_exkn-sakto when I return to the Req screen after the BADI executes.
I am thinking that since SAP does not regognize it as being populated, or, on the screen, I have to move it somewhere else as well. The commented out code was a test to see if somehow I need to introduce MEACCT1100-SAKTO into my logic.
Thank-You.
METHOD if_ex_me_process_req_cust~process_account.
* D A T A *
DATA: wa_exkn TYPE exkn,
wa_exknx TYPE mepoaccounting_datax,
wa_item TYPE mereq_item,
wa_itemref TYPE REF TO if_purchase_requisition_item,
wa_exkn_hold TYPE exkn,
wa_exknx_hold TYPE mepoaccounting_datax,
wa_item_hold TYPE mereq_item,
wa_itemref_hold TYPE REF TO if_purchase_requisition_item.
* P R O C E S S I N G *
IF im_count = 1.
CLEAR:wa_exkn_hold,
wa_exknx_hold,
wa_item_hold,
wa_itemref.
ENDIF.
CLEAR: wa_exkn,
wa_exknx,
wa_item,
wa_itemref.
* get account classification data *
CALL METHOD im_account->get_exkn
RECEIVING
re_exkn = wa_exkn.
move wa_exkn to wa_exkn_hold.
CALL METHOD im_account->get_exknx
RECEIVING
re_exknx = wa_exknx.
move wa_exknx to wa_exknx_hold.
* get item data *
CALL METHOD im_account_ref->get_item
RECEIVING
re_item = wa_itemref.
move wa_itemref to wa_itemref_hold.
CALL METHOD wa_itemref->get_data
RECEIVING
re_data = wa_item.
move wa_item to wa_item_hold.
MOVE wa_item TO wa_item_hold.
* Get the Gl Account Number if needed *
DATA: ls_z4ppi_glmap TYPE z4ppi_glmap.
IF wa_exkn-sakto IS INITIAL AND
( wa_item-knttp = 'F' OR
wa_item-knttp = 'K' ).
SELECT SINGLE * FROM z4ppi_glmap
INTO ls_z4ppi_glmap
WHERE zzmatkl = wa_item-matkl AND
zzacc_assign = wa_item-knttp.
IF sy-subrc = 0.
MOVE ls_z4ppi_glmap-zzacc_no TO wa_exkn-sakto.
* move ls_z4ppi_glmap-zzacc_no to MEACCT1100-SAKTO.
ENDIF.
ENDIF.
** Cuenta Mayor
*field-symbols <fs_sakto> type meacct1100-sakto.
* Utilizo el truco de asignar el programa de control y el campo al field
*move wa_exkn-sakto to SAPLMEACCTVI-MEACCT1100-SAKTO. "' to <fs_sakto>.
*assign ('(SAPLMEACCTVI)MEACCT1100-SAKTO') to <fs_sakto>.
*if <fs_sakto> ne wa_exkn-sakto.
*endif.
* set the GL Account Number *
CALL METHOD im_account->set_exkn
EXPORTING
im_exkn = wa_exkn.
CALL METHOD im_account->set_exknx
EXPORTING
im_exknx = wa_exknx.
endmethod.
I think you missed out the statement
MOVE 'X' TO wa_exknx-sakto.
Regards, Vinod
Similar Messages
-
Error 'Specify account number' while posting a parked document through FBV0
Hi,
I am getting an error 'Specify account number' while posting a parked document through transaction FBV0.
I am not able to figure it out as to what account number it is referring to. Since the document is parked I assume the GL account used has no problem. Please help.Hi,
Try to change the Account number and then save or post the data. I think Once We Parking the Document it wont allow to post the data without changing.
Try same scenario in the development its be useful
Regards, -
Error in Creation of Group Account Number Through FS00 or ob_glacc11
Hi
Experts
I am creating group account number in fs00 nothing but group chart of accounts that can be done individually in fs00 or through ob_glacc11. There is balance in all the G/L accounts but for some particular G/L accounts the system is through.
I am maintaining three ledgers one is for 16 periods, second one for 48 periods, third one is for 365 days.
while running FS00 i am getting an runtime error : Packed field contains incorrect BCD format.
DO glt0-rpmax TIMES
varying saldo from glt0-hsl01 next glt0-hsl02.
gesamtsaldo = gsamtsaldo + saldo.
ENDDO.
when i trace FS00 This glt0-rpmax is having value of 48. (periods) .
please give me a solution how can i get the solution.
Thanks in advance.Hi,
You have activated group account number. If you have any grp account number of your company please provide the group company account number.
Else if you dont want to give group account number
In T-code: OB13 remove group chart of accounts from your chart of accounts
Best Regards
Ashish Jain
Message was edited by:
Ashish Bohara -
Do not enter an account number for a masked account type
Good Morning
1)
I am trying to give some account number in open / close posting period window. From acount field (Lower limit of the G/L account numbers ) is not accepting the value. I have also tried with ZZZZZ and many other options. Can any one help what could be he reason ?
This is the Error Message
Do not enter an account number for a masked account type
2) Who is responsible to create the Authorization Group? What is FICO consultant role here ?
Eg: I want to give some privileges to one of the users in Management to open and close the posting period for all the nominals for all posting periods.
who creates the Authorization Group
Regards
AmarHi,
1, For account group the error may be comimg because already data is created. In lower limit donot enter ZZZZZ as it is considered as the highest value. You can try the lowest account number.
2. Creating a role is job of bais based on the FICO tcode given by FICO consultant. For special privilages to a role you can ask to basis guy to create a separate role and assign to user.
Regards
Milind Sonalkar -
Drilldown report FGI0 Account Number and compounding Chart of Accounts
Dear all,
I created a drilldown report in FGI0 for FAGLFLEXS (Reporting for Table FAGLFLEXT). I am showing the field Account Number. However the field display is [Chart of accounts][Account number] in the corresponding column, but I want to display only the Account number.
If I remove the compounding field RKTPL from table TKAFD, then the program cannot find the Account Number Text.
Is there a way to show only the Account Number, without the Chart of Accounts in its 4 first fields, and also show the account text?
Thank you in advance!Dear All
I need to change the GL accouts in Drilldown report FGI0. In FGI2 tried but i couldn't able to find the exact location to chage can you please help me. On how can change means regroup the GL account and need to add the new GL account in Drilldown report..
Regards
Chandrasekhar G -
Customer open items, transfer to new account number
Does anyone have experience in transferring customer open items to a new account number?
Thanks for the reply, the situation I have is there are existing postings on a customer account in SAP. The client wants to create a new account number and transfer the balances from the old account to the new account. There are a significant amount of items on the old account. Normally I would use transaction F-30 for a small number of postings but this requires posting each line item individually to the new account. I was hoping there was a more systematic solution.
-
Relationship between FINANCIAL STATEMENT ITEM and GL ACCOUNT NUMBER
hii experts...
can anyone tell me the relationship between FINANCIAL STATEMENT ITEM (FIELD NAME: ERGSL) and GL ACCOUNT number corresponding to that FSV..
and if these fields are present in any table... den please do tell...
thanks in advance.Thanks Raymond for giving me suggestion...
bt wat actually is my problem na...
i m creating a balance sheet in BAPI and in this I need FSV and GL account number...
i got everyting bt i cant find the realtionship between these two fields...
hope u understand my problem.. -
Function module to retrieve the account number linked to an SD invoice item
Hi all,
I should retrieve the gl account number linked to a certain SD invoice item. The
program starts from VBRK and VBRP data. Is there a function module which
enables to get it starting from these header lines? I already used the function
module: RV_INVOICE_ACCOUNT_DETERM ( release: 4.0 ), but in some cases it
doesn't seem to function properly ( the export table TKOMV doesn't contain a
value for the SAKN1 field ). For the invoices for which the function isn't able to
retrieve the account number, the standard accounting analysis functionality returns
the following message: account determination carried out via KOFI type. So I'm
searching for a function module that's able to retrieve the account number in these
cases also.
Thanks in advance.
Adriano.Dear Adriano,
Try with Function Module 'SD_DETERMINE_ACCOUNT_INVOICE '.
Additional Info:
BAPIs related salesorder:
BAPI_SALESORDER_CHANGE Sales order: Change Sales Order
BAPI_SALESORDER_CONFIRMDELVRY Sales Order: Confirmation of Delivery; Document Flow Update
BAPI_SALESORDER_CREATEFROMDAT1 Sales order: Create Sales Order
BAPI_SALESORDER_CREATEFROMDAT2 Sales order: Create Sales Order
BAPI_SALESORDER_CREATEFROMDATA Create Sales Order, No More Maintenance
BAPI_SALESORDER_GETLIST Sales order: List of all Orders for Customer
BAPI_SALESORDER_GETSTATUS Sales Order: Display Status
BAPI_SALESORDER_SIMULATE Sales Order: Simulate Sales Order
FM:
MB_ADD_PURCHASE_ORDER_QUANTITY (Reading and adding open purchase order quantities)
SD_SALES_ORDER_STATUS_WWW for complete details including the delivery information.
Hope this will help.
Regards,
Naveen. -
How to pay missed payment without knowing account number and SSN
Hello. I recently have problem paying a account that has been cancelled.
I started use verizon wireless from 2009, at that time I was in college and just arrived U.S. so that means I didn't have a ssn at that time.
But verizon wireless still let me have my own account(with my passport!). I terminated the service at Sept. 2011, at that time I was moving from one place to another,so I missed the last payment(about 50 dollors).
I didn't realize it until recent I check my credit score, I was reported by verizon wireless on my credit report...no one even send me a e-mail or try to reach me...
Now my question is: I only remenber my verzion cell phone number and the last 4 digits of my verizon account, can I pay that missed payment?
I called the customer service and they told me I have to know my SSN or Account Number to pay. since the account has been cancelled I could not access my account on verizon wireless web page.
Please help!!!!See here:
http://support.apple.com/kb/HT4874
iTunes Store credit or gift cards cannot be used as a form of payment to upgrade your iCloud storage (payment methods accepted include credit and debit cards). -
The Scottrade web sight requires an account number as well as a password to log in. I inadvertently typed in an incorrect number and would like to eliminate it from the 'remembered' accounts. My only solution seems to be to turn off Remember Search and Form Entry but that impacts the correct account numbers and all other web sites as well.
Click the (empty) input field on the web page to open the drop down list
Highlight an entry in the drop down list
Press the Delete key (on Mac: Shift+Delete) to remove it.
http://kb.mozillazine.org/Deleting_autocomplete_entries
Firefox/Tools > Options > Privacy > Firefox will: "Use custom settings for history" > "Remember search and form history"
https://support.mozilla.com/kb/Form+autocomplete -
Hide or Encrypt Bank Account Number
Hey Guys,
The client has a requirement in FK03 to hide/encrypt the bank account number in the bank details table in the tcode FK03.
When using the transaction FK03, I am having a problem with hiding or encryting a user's bank account number. When you execute the FK03 transaction, select a vendor and go to the next screen, you are then taken to the Payment Transactions Screen. User bank account information is displayed on this screen. I do not want the entire table hidden, but I am unable to hide or encrypt the bank account number. I am unable to find any authorization objects to control this specific field. Does anyone have suggestions on how to implement this?If all users except the accounting department may not see the number, and the accounting department must be able to see the number from the standard transactions in this application area (e.g. FK03, XK02, etc), then you will be best off looking for an enhancement point via which you can add your own coding.
The easiest and least intrusive way in my opinion would be to find one which affects only the payment transactions screen but regardless of the transaction context, and if the user fails an authority-check of your own invention - then modify the internal table to replace the real number with a bogus one.
But remember that if the user can debug in display mode, then they will display the internal table before you modify it, unless you DEFINE it in a macro... (but that is again intrusive, and there still are ways).
If you choose the encrypt / decrypt route, then you will have to fight with the field types of the bank table and can still make the same mistakes... except that someone looking directly at the table via a data broowser will not see much either... (until they find the decryption function and run that).
Please also a take a look at [SAP Note 1257033 - Cookbook: Modification/enhancement for standard SAP system|http://service.sap.com/sap/support/notes/1257033] before proceding with an enhancement.
Cheers,
Julius -
Using delivery type lfart from likp to write out the GL Account Number
Hi Guys,
I am writing a report for the bill of lading. Now I have to take in the GL Account Number from the user at input which can be either say 852342 or 853243 for two types of shipments 1. Plant to customer or 2. Intercompany. Now I have been asked to use LFART (NL - Replenishment Goods) field from LIKP to decide after taking in the user input for the GL Account Number what kind of shipment it is and write the GL account number in the report. Can somebody explain how to do it. I can't make out how one type of delivery can decide which kind of shipment it is based on the GL Account Number entered by the user on a selection screen? Can somebody give me some code or example?
Please help.
Thanks in advance.
AMI think you missed out the statement
MOVE 'X' TO wa_exknx-sakto.
Regards, Vinod -
Error "Specify account number" during PRELIMINARY_POSTING_FB01
Dear All,
I am trying to post FI document in FB01 through PRELIMINARY_POSTING_FB01 F.M.
I am passing following data to it.
*Populate the header
Company code
ls_bkpf-bukrs = ls_posting2-bukrs.
Year
ls_bkpf-gjahr = ls_posting2-budat+0(4).
Document Type
ls_bkpf-blart = p_blart.
Posting date
ls_bkpf-bldat = ls_posting2-bldat.
Document Date
ls_bkpf-budat = ls_posting2-budat.
Period
Is_bkpf-monat = Is_posting2-monat.
*currency
Is_bkpf-waers = is_posting2-waers.
*Item data
*posting key
is_bseg-bschl = is_posting-bschl.
*Account
is_bseg-hkont = is_posting-hkont.
*amount
is_bseg-wrbtr = Is_postng-wrbtr.
After executing this it gives error
"Specify account number"
Is there any sollution for that......
Regards,
AmarThat is bcoz the account number you are populating in table parameters is not matching with values in table while processing. Use FM conversion_exit to prefix zeroes so that it matches the value in table.
-
Alternative Account number - using as a custom field/Issues in reports pull
Hi All,
Requirement:
Create a new field in the GL master that will link through to a new 8 to 10 character new Chart of Accounts (COA).
We are presently using the "Group Account number" field from the GL master for reporting purposes through a Group COA. So this won't be available for our new purpose. Instead of creating a custom field and pulling the data, I'm thinking to use Country Chart of Accounts to fill this gap by using "Alternative Account Number" in GL Control data tab.
I created a new Country COA and assigned it to Operational COA. Created new GL account (FS00) and also created a new Country Chart of Accounts (FSP0) at Chart of Accounts level and assigned this to the created GL (FS00). In this process I got couple of issues
1) System didn't allow me to assign Country COA GL if already has the balance, and tried to change this error message in OBA5 without success. How can I add newly crated Alternative a/cs to the existing (balanced) GL A/cs?
2) This time I created brand new GL a/c and added the alternative a/c and created new Financial Statement Version (FSV) assigned the newly crated a/cs but I couldn't run the reports on this new COA, getting following error message "Company codes and charts of accounts entered are incompatible" when executing F.01/F.08.
3) May be silly to ask - why we are not maintaining the Alternative a/c at Company Code level (FSS0)? Why we are only maintaining at Chart of Accounts level (FSP0)?
Would be glad if any one touch this area deep enough to understand easilyHi
The system will update the amount at company code level GL only. You can post the entries at company code gl only, no option to post the transaction figures at chart of accounts level. So the group COA or country level COA will pick up the transactional data from the GL at country level. Remaining level GLs are link with the country level COA. -
Unable to Create G/L Account Number in G/L Group
Hi Experts,
We are not able to create G/L Account NO.
While creating Account Number in FS00 TCode,
I have selected one of the created Account group and gave the Account Number which falls under that Account group range. Still i am not able to create the Account Number.
I am getting the following error:
1) No PABCDL statement account type is defined in chart of accounts ABCD
2) You cannot create the Account Number using the range which is specified.
Please let us know
Thanks
RajanikanthHI,
Before you start creating your G/L account the minimum configuration required are as given below.
1.Creation of Company code
2.Define Chart of accounts
3.Assign Chart of accounts to company code
4.Define account group
5.Define retained earnings account.
If you will try to carete the G/L account without creating the Retained earnings account the error what you have pointed will appear.
You may please check your configuration and then craete the G/L
If find helpful assign points.
Surendra
Maybe you are looking for
-
ATI Radeon HD 4870 not better than the Nvidea Geforce 120?
I bought av new ATI Radeon HD 4870 card to my MacPro. But are wery disappointed. My old NVIDIA GeForce GT 120 performes almost better than ATI. I ran Cinebench test and this is the results: *NVIDIA GeForce* Rendering (Single CPU): 3225 CB-CPU Renderi
-
My iMac runs bootcamp, so I have both OSX and win7 available. I run the latest Firefox on both as my primary browser. The printing looks like the ink is running low, but when the same image is printed from other desktop apps the printing looks fine.
-
I've had my 24" imac for about 6 months. This morning when I switched it on the lower half of the backlight has not switched on (so the screen is dim at the bottom, and bright at the top). If I put the computer to 'sleep', when I wake it, the bottom
-
Dear all expert, I want to make a query that pull information from PO, down payment Invoice, AP Invoice and Journal Transaction. The column that appear in that query is : - Column 1 : PO Date - Column 2 : PO Number (all PO with series number prefix i
-
Using non-breaking spaces in attributes
Hello all, I am writing reusable modules in Structured FrameMaker. Part of the reusability comes from using a variable instead of a hard-coded machine name, so that the machine name does not require variants of the same text. Using the standard Frame