How to pass Business place to BAPI_ACC_DOCUMENT_POST
Hello,
I am using BAPI_ACC_DOCUMENT_POST to post the accounting documents for G/Ls. Now iwant to pass the Business Place with GL, as it allows iin FB01, i have searched though the ACCOUNTGL but i didn't find any field for this or like BUPLA.
I searched in SDN regarding the same but i couldn't find any solution. Please help.
Regards,
Kesavaperumal
Hi,
Better you use the badi 'BADI_ACC_DOCUMENT'.
For passing the Business Area you need to use the extention structure of BAPI_ACC_DOCUMENT_POST and then use BADI ACC_DOCUMENT
with the other parameters you have to populate the extension table of bapi
data : it_ bapiparex type table of bapiparex,
wa_bapiparex type bapiparex
Populate the Extension table
wa_bapiparex-structure = 'Business Area'.
wa_bapiparex-valuepart1 = '10'. " Item number
wa_bapiparex-valuepart2 = ' '. " pass the value for Business Area
APPEND wa_bapiparex TO it_bapiparex.
Call the Bapi to post the document
CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
EXPORTING
documentheader = wa_docheader
TABLES
accountgl = it_bapiacgl09
accountpayable = it_bapiacap09
currencyamount = it_bapiaccr09
return = it_bapiret2
extension2 = it_bapiparex
Now create an implementation of BADI ACC_DOCUMENT in SE19 and
write the following code in method CHANGE of BADI
DATA: wa_extension TYPE bapiparex,
wa_accit TYPE accit.
LOOP AT c_extension2 INTO wa_extension.
Extend BAPI to have Posting Keys defined by user
IF wa_extension-structure = 'Business_Area'.
CLEAR wa_accit.
READ TABLE c_accit INTO wa_accit
WITH KEY posnr = wa_extension-valuepart1.
IF sy-subrc = 0.
wa_accit-BUS_AREA = wa_extension-valuepart2.
MODIFY c_accit FROM wa_accit INDEX sy-tabix TRANSPORTING BUS_AREA.
ENDIF.
ENDIF.
ENDLOOP.
Hope this solves your problem
Regards,
Dhina...
Similar Messages
-
Passing Business place in BAPI_ACC_DOCUMENT_POST in ACCOUNTGL table.
Dear Experts,
I am working on BAPI_ACC_DOCUMENT_POST for posting the accounting documents which includes G/Ls and Vendor payments. BAPI is ready and working fine, but we want to pass the Business Place with GL, as it allows iin FB01, i have searched though the ACCOUNTGL but i didn't find any field for this or like BUPLA.
Any suggestion ... How to pass Business Place field in ACCOUNTGL...?Hi Prassad,
I've faced the same issue here; we were facing an error while posting to accoountgl, because AR & AP are working fine, so what we've come up with and worked is;
Append the businessplace into BAPIACGL09 structure and i should look like this;
wl_accountgl TYPE bapiacgl09,
wl_accountgl-businessplace = wl_file_i-local_neg.
in bapiacgl09 structure
.APPEND ZZST_BUSINESS ...
BUSINESSPLACE ACPI_BRANCH CHAR 4 0 ...
This was the ABAPer solution here in the company, i hope it helps. -
How to link Business Place with plant
Dear Expert,
We are getting Business Place wise FBL3N report for Vat Payable GL code.
We have created Business Place under Extended Witholding Tax tab.
We are generating tax invoice in different plant.
But how to link Business Place with plant so that FBL3N report will show Business place.
Regards,
AlokYou can't make an entry directly to production server.
You have to make the changes in Dev server then transport it to production server.
Try the follow path
SPRO-IMG-Cross-Application Components-General Application Functions-Place of Business-Assign Business Places to Plants. -
How to enter Business place and section code of already posted documents
Hello All,
We have some posted documents from month of July, in which user has not entered business place and section code
Please tell me how to enter business place and section code in these posted documents..
I have already searched on other links, but were not useful..
Thanks...Hi
Can you share the screen shot and message no for the error? Also check if you have specified the actual MIRO Document No and not the FI Document No of MIRO Document.
regards
Sanil Bhandari -
How to update Business place & Section Code for posted Documents
Hi,
I want to update business place and section code in existing documents, How to update business place and section code in the posted Documents. Is there any validation to check business place and section code while posting Document.
Thanks in advance
Best Regards
RajHi Raynaju,
Business place is an organizational unit and it below company code level that is primarily used for reporting taxes on sales/purchases.
For that no need to go for validation.Go to the field status and give the Business place & Section Code as required fields.
There is a option in SAP as Document change rules.There give the company code,field name and account type
Now you can change the fileds in posted document itself.
May be this information is useful to you
If you have any doubt feel free to ask
Regards
Aneesh
Edited by: Aneesh kumarA on Jul 22, 2009 12:45 PM -
How to required Business Place and Section Code in FB60 screen
Dear Guru
Please guide me how to required Business Place and Section Code in FB60 screen. in SAP
Regards
Tapan MaityHi Tapan,
Theer are various discussion over this issue . You can apply validation specific to transaction code as well as on the document type.
Hope this would help you.
Regards
Pankaj P -
How to Update Business Place & Sec.Code Field in Posted Document
Dear All,
Pls suggest how to update Business Place & Section Code field in documents which are posted without entering Business Place & Section Code. Pls tell me how to achieve this without using Validations & Substitutions. Any table entries can be maintained for this? Kindly guide.
Regards
AbhijeetHi,
Thanks for sending the replay,
I had already update the Material document through the J1INPP T. code. but it not use for update FI
Document and i want to update Business Place & Section Code in FI document.
Please suggest,
Regards
Abhijeet -
How to make Business place mandatory
Hi, SAP Gurus,
How to make business place mandatory in "MIRO ". As i know there are two ways
1) Through Screen Variant T/code: SHD0
2) Validation
But here i Never worked on sreen variant level and validation, I need step by step to make business place mandatory in MIRO
bY USING ABOVE T/CODES,
Regards,
PrabhakarHi Bhanu,
Use T.Code GGB0 - Validation maintenance - Change Validation overview.
Choose Financial Accounting in Application area. Select Line Item and click Validation create icon.
Give a Validation ID BP and text Business Place Mandatory and save.
Click Step icon - Step 01 - now the prerequisites; check and message will come in margin panel.
Give text for the step 01. Click Prerequisites. You can see the Table Fields Structure BKPF, BSEG, and SYST.
If you double click on this you view individual fields relating to these master tables.
Your prerequisite may be like this :
Company Code is = XYZ ; T.Code = MIRO & F-43; Posting key = 31 ( Credit Vendor)
Double click BKPF > double click BKPF-BUKRS> click "=" > click constant > a pop up box will open
here fill up your company Code XYZ. This will automatically come in the top box. Click "AND". Now there is a back arrow
button in the table field panel and come back to the original display of master tables. Here double click SYST
Click SYST-TCODE > click "=" > click Constant > in the pop up box enter tcode MIRO. If you want to add F-43,
you have to click "AND" after this and repeate SYST-TCODE = F-43. Now click back arrow and double click BSEG and
click BSEG-BSCHL > Click "=" > Click Constant > in the popup window enter 31 and save the prerequisites.
(For the above requisites, the system will check if Business Place is 1000 is filled up during transaction and if not it has to
give a error message.)
Now Click Check in the right margin below prerequisites menu. Again the table list will be seen with BKPF, BSEG and SYST
Double click BSEG > click BSEG-BUPLA > Click "=" > Click constant and in the pop up box fill the business place 1000 and save
the check menu.
In the right margin now double click message. Here you can create a message text of your own "Business Place mandatory"
Save the Message and come back and finally save the Validation so created.
Now use T.Code OB28 and enter your Company Code > give call point 2 > and Activation level 1 and save the entries.
Now you can check for the transaction in MIRO where without filling the Business Place field you cannot save the entries.
Hope the above steps will be clear for you. If you have any doubt please revert back.
Best Regards,
Sadashivan -
How to pass BUSINESS AREA in structure EXTENSION1 in BAPI_ACC_DOCUMENT_POST
Dear All,
I'm doing one upload program with BAPI_ACC_DOCUMENT_POST.
Here when I do Tax calculation, I need to pass the value for Business Area in the structure ACCOUNTTAX. But the field is not available.
Is there any way to pass Business Area (GSBER) value to the structure EXTENSION1?
Points will be rewarded for the correct solution immediately.
Moreover I'm in pressure to complete this object. Please help me.
Thanks & Regards,
NeerajThe business area is passed in the field BUS_AREA in the tables ACCOUNTGL, ACCOUNTRECEIVABLE and ACCOUNTPAYABLE.
Rob -
How do u create Business place
Dear,
Please go to below path.
SPRO>Financial Accounting>Financial Accounting Global Settings>Withholding Tax>Extended Withholding Tax>Basic Settings>India>Define Business Places
Regards,
Chintan Joshi. -
How to change Business Place in SD document?
Dear Sir,
If I set 1 Sales Org. (1100) in SD and 2 Business Area (1100,1400) and 2 Business Place (0000,0004) in FI
when post Invoice it due to the setting of OMJ7 that assign Business Area to Invoice document and I also set the substitution rule in OBBH to check the line item ( if Business Area = '1400' then substitution Business Place = '0004' ) but it not effect for total line in document as shown below. Please recommend how to set ?
Example Document ..
Itm PK G/L acct G/L Acct Long Text Tx Amount BusA Bus Place
=================================================================
1 01 1210100 Account receivable - O7 63.06 1400 0004
2 50 4010100 Sales - Paint O7 70.58- 1400 0004
3 40 4010100 Sales - Paint O7 11.65 1400 0004
4 50 2440050 Sales Vat O7 4.13- 1400 0000 => How to change this Business Place to 0004?
Look forward to hear from you.
Thanks,
Pantip S.Hi computerflowers,
You can set the document language in Acrobat: File > Properties > Advanced tab > Language drop down box under Reading Options. This informs screen readers (for example) what language the document is written in.
I am not sure that is what you are looking for though. If I am steering you wrong please follow up.
a 'C' student -
How to default business place & section code
Hi guru
How can we default the business place & section code in FI posting.This is require for TDS deductioin & e-filing of return
Thanks
ShivajiHI,
Please write validation to update the BP/SC through manually entry.
please refer the validtion note 607459
please follow the config steps based on note 640231
OBBH is substitution.
Reg
Madhu M -
How to Remove Business place from Plant assignment
Hi All,
I have created a new plant by copying the existing plant. Business place assignment also got copied from existing plant. I don't want business place for my new plant.
I tried searching the Business place/Plant assingment in SPRO, eventhough there are many places (under Enterprise structure, Financial Accounting and Cross application components) we have this assignment, i couldn't see my new plant in any of those places and i am not sure how to remove this assignment. Can you please help me here?
Regards,
PrabuHi Prabu,
First let me know what is the issue that you are facing.
Have you checked in the above mentioned nodes for business place & plant assignment.
If your assigned this business place for taxes postings(J_1IT030K_V settings). The check in the billing document from the new plant what is the tax code is being used in the tax condition records.
If the same tax code is being used in both the plants then try to create one new tax code & assing the same to the condition records of the new plant. Check the same.
Or Mention clearly that what issue that u are facing because of this assignments.
Regards,
S.Himavanth. -
How to include Business Place field in the line item for argentinian comp?
Dear,
We've just implemented a company code from Argentina, but when we try to post a document, the system doesn't show the field Business place in the line item, so we can't fill this field. This problem is causing some posting errors for us. Is the any way to set this field in the transaction FB01?
We have already checked the field status for account and posting key. The field is not available is this functions.
Thanks in advance,
Leandro AlbertiniHi Albertini,
Follow the path as follows and configure the business place for your plant and company code:
SPRO, Financial Accounting, Financial Accounting Global Settings, Tax on Sales/Purchases, Basic Settings, Settings for Tax on Sales/Purchases in South Korea, Assign Business Place.
In this activity, you can assign a business place to a plant. The business place is recorded for each posting.
Please reward points if helpful.
Regards,
Sreekanth.... -
How to restrict business place during billing or billing spilit
Dear All,
According the requirement we activated business place as on plant level, during miro by default business place coming i.e correct but on SD side we don't need any business place .
In one sales order have no. of line item for one plant have business place activated remaining item no business place activated respective plant during invoicing for the same month collectively system get error "Splitting due to different header data business place" , any standard config setting which i can restrict from SD side.
Regards,
DeepakDo u use an ACS?
If yes, simply configure the group of the users NAR.
AAA client-2811 IP address
Port-*
CLI-*
DNIS-*business (or guest)
This will not "redirect" the users to the right SSID but will permit/deny the user access to the WLAN based on the SSID they're trying to associate with.
Another way to do it is to actually define two profiles with different AAA but same SSID.
Example SSID = ACME Profile Business AAA=WPA2
SSID= ACME Profile Guest AAA=none (web auth etc)
Then you can restrict access based on the profile (apply ACL etc)
This doc might help
http://www.cisco.com/en/US/tech/tk722/tk809/technologies_configuration_example09186a00807669af.shtml
Maybe you are looking for
-
Error message when trying to create Recovery Media Creation
I have a HP Pavilion 15 Notebook PC 15-n235sa and when trying to create my Recovery Media Creation on a 32GB Flash drive it comes up with the error mesage We are experiencing errors in recovering media creation. Please try again. This is after.46% of
-
Macbook pro die after 10.6.5 update
The last week i update my macbook pro (2008) with 10.6.5 and my laptop die. Now when i try to turn on my computer it lose the power after 3 secods and it turn of. I can not boot from devices, i can see nothing in the display, my adapter and battery a
-
Display has a yellow hue/tint...
My display has a yellow hue/tint and it is not being caused by a screen protector (which is clear). Also did a factory reset (didn't expect it to work) and it didn't help. I'm comparing the display to a at&t iphone 4 display. The hue/tint is consiste
-
How to open a Character mode report in report designer 2.5
I am trying to open a character mode reoprt in Report Designer 2.5 and .. getting an error message: Waring: Character-mode report 'XYZ' is being opened as bit-mapped report. Warning: Page width of report '<report name>' changed to fit the font for a
-
Bill to & Ship to address change at AR Invoice Level
After AR Invoice I unable to change Ship to Address but I can change same Bill To Address Is there any Reason?? Actually there is wrong Ship to Adress follow by User so he need to change that..Please help..