BAPI_ACC_DOCUMENT_POST How to fill ACCOUNTTAX
Hi,
I am trying to implement the posting of accounting documents via BAPI_ACC_DOCUMENT_POST, and struggling to get the tax postings to work properly.
The process requires me to produce the same outcome as a user manually posting the document via FB01 where tax items are automatically generated. So I need to confirm how to calculate and post the tax items.
I need more information on how to retrieve the data to pass to the ACCOUNTTAX parameter of the bapi and the mapping of the data to the ACCOUNTAX fields. And also the corresponding CURRENCYAMOUNT parameter, I am interested to know if I have to populate the base amount fields as well as the document amount field.
Hi Murray,
I recently faced the same problem with tax for this BAPI and found the solution here at the good old SAP Fans forum:
<a href="http://www.sapfans.com/forums/viewtopic.php?t=25404&start=0&postdays=0&postorder=asc&highlight=">[RESOLVED] BAPI_ACC_DOCUMENT_POST - Posting tax amount</a>
This post then leads to this one:
<a href="http://www.sapfans.com/forums/viewtopic.php?t=137643&highlight=bapiaccdocumentpost">** RESOLVED ** Problem with G/L Posting BAPI</a>
Please have a look at the User-Exit usage in the bottom of this thread. I found this info by Google searching.
It should not be to difficult for you to solve your problem with this info, I guess.
Regards, Johan
Similar Messages
-
BAPI_ACC_DOCUMENT_POST - How to generate tax items
Hi,
I am trying to implement the posting of accounting documents via BAPI_ACC_DOCUMENT_POST, and struggling to get the tax postings to work properly.
The process requires me to produce the same outcome as a user manually posting the document via FB01 where tax items are automatically generated. So I need to confirm how to calculate and post the tax items.
I need more information on how to retrieve the data to pass to the ACCOUNTTAX parameter of the bapi and the mapping of the data to the ACCOUNTAX fields. And also the corresponding CURRENCYAMOUNT parameter, I am interested to know if I have to populate the base amount fields as well as the document amount field.Murray,
I have solved your problem in your other question.
Please, try to ask question only in one forum. For this type of question, the ABAP forum is the right one. This is becuase ABAP coding is involved.
See: BAPI_ACC_DOCUMENT_POST How to fill ACCOUNTTAX
Best regards, Johan -
How to add fields to already loaded cube or dso and how to fill records in
how to add fields to already loaded cube or dso and how to fill it.can any one tell me the critical issues in data loading process..?
This is sensitive task with regards to large volumes of data in infoproviders.
The issue is to reload of data in case of adjusted structures of infoproviders.
Indeed there are some tricks. See following:
http://weblogs.sdn.sap.com/cs/blank/view/wlg/19300
https://service.sap.com/sap/support/notes/1287382 -
How to fill internal table with no data in debugging mode
Hi all,
I modified one existing program.Now I want to test it.I am not given test data.So in the middle of my debugging, I found that one internal table with no data.My problem is how to fill that internal table with few records in that debugging mode just as we change contents in debugging mode.If I want to proceed further means that internal table must have some records.
Please I dont know how to create test data so I am trying to create values temporarily in debugging mode only.
Thanks,
BalajiHi,
In the debugging do the following..
Click the Table button..
Double click on the internal table name..
Then in the bottom of the screen you will get the buttons like CHANGE, INSERT, APPEND, DELETE..
Use the APPEND button to insert records to the internal table..
Thanks,
Naren -
How to fill the values in List Box?
Hi Experts,
Can anyone explain me how to fill the values in the List Box such that the value should be from the table?
For Example : Fill the EmpID from table T1 into the ListBox?
Thanks in Advance,
Regards,
Raghuhi,
and u doing it through report means from se38 than here is code...
DATA : BEGIN OF itab OCCURS 0,
matnr LIKE mara-matnr,
END OF itab.
DATA : ok_code LIKE sy-ucomm.
CALL SCREEN 0200.
*& Module STATUS_0200 OUTPUT
text
MODULE status_0200 OUTPUT.
SET PF-STATUS 'Z200'.
ENDMODULE. " STATUS_0200 OUTPUT
*& Module USER_COMMAND_0200 INPUT
text
MODULE user_command_0200 INPUT.
CASE ok_code.
WHEN 'BACK' OR 'UP' OR 'CANC'.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE. " USER_COMMAND_0200 INPUT
*& Module mat_val INPUT
text
MODULE mat_val INPUT.
SELECT matnr FROM mara INTO CORRESPONDING FIELDS OF TABLE itab
WHERE matnr BETWEEN '000000000000000101' AND '000000000000000109'.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'MATNR'
VALUE_ORG = 'S'
tables
value_tab = itab
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDMODULE. " mat_val INPUT
<b>And this is flow logic..</b>
PROCESS BEFORE OUTPUT.
MODULE status_0200.
PROCESS AFTER INPUT.
MODULE user_command_0200.
PROCESS ON VALUE-REQUEST.
FIELD itab-matnr MODULE mat_val. -
How to fill dropdown list in Adobe form
Hi Experts,
I am new to adobe form.Please tell me ,how to fill drop down list in adobe form?
Thanks,
HansHello Arafat,
I am using a drop down list in Adobe Interactive Form for Web Dynpro ABAP.
The form is of ZCI type layout and the form interface is of XML schema-based interface type and the XML schema source is set to "Generated".
I have included the following code in WDDOINIT method of the view:
data: handle1 type ref to if_wd_context_node,
begin of zstruct,
zktokd type kna1-ktokd,
end of zstruct,
zitab type table of zsttxecr.
handle1 = wd_context->get_child_node( name = 'DATA.NODE1' ).
select ktokd from kna1 into corresponding fields of zstruct.
append zstruct to zitab.
endselect.
handle1->bind_table( new_items = zitab ).
In the Adobe Form Designer, i have binded the node NODE1 to the enumerated drop down list from native web dynpro library. Still the drop down box is not getting populated.
Please let me know what is missing.
Thanks and Regards. -
How to fill the whole screen of my iMac with the photos I included in an iDVD project. (iDVD v. 7.1.2). I mean, during playing the burned dvd.
When I do "Enter Full Screen", the slide show fills the screen but the photo itself remains in the middle with a wide black border filling the rest.
Any cure for this ?Hi
In iDVD Preferences - Turn off - TV-Safe area - and the Photos will fill the full area with just letterboxing or pillars as max.
Then "Save as a DiskImage" and test this and see if this plays better - before burning DVDs that's not as You want them.
Bengt W -
How to Fill value in Input fields before displaying ADOBE FORM
Hi to all,
Please can anyone tell me how to fill the entry in ADOBE FORM before displaying?
I have written a program to generate ADOBE FORM, but I need while displaying ADOBE FROM some input field should already be filled by value and can not be changed.
Please can anyone tell me how to do that in program?
Below is the program.
DATA: fm_name TYPE rs38l_fnam,
fp_docparams TYPE sfpdocparams,
fp_outputparams TYPE sfpoutputparams.
Parameters: p_pdf_form_name type fname.
fp_docparams-langu = 'E'.
fp_docparams-country = 'IN'.
fp_outputparams-preview = 'X'.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = fp_outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = p_pdf_form_name
IMPORTING
e_funcname = fm_name.
E_INTERFACE_TYPE = E_INTERFACE_TYPE
CALL FUNCTION fm_name
EXPORTING
/1bcdwb/docparams = fp_docparams
IMPORTING
/1BCDWB/FORMOUTPUT = fp_outputparams
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3.
CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
E_RESULT =
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
I shall be thankful to you for this.
Regards
Pavneet Rana
Edited by: pavneet rana on Jul 25, 2011 2:57 PMHello,
you need to provide the information via the interface, which you create for the Adobe form.
And then pass this values via the following function module inside your generation report.
CALL FUNCTION fm_name
check standard report : FP_EXAMPLE_01 as an example! -
How to fill forms in adobe reader with lithuanian fonts?
How to fill forms in adobe reader with lithuanian fonts?
when i switch on my pc alt+shift to lithuanian language i can only use 2 lithuanian fonts, for other lithuanian fonts i get only blank
could someone help me to solve this case?Adobe Acrobat. A bit expensive just to change the document background...
-
How to fill the gaps in SAP Fico configuration
Hi Guys,
Can anyone please explain me that how to fill the gaps in SAP FICO implementation project
Thanks in advance
VasuHello,
Perhaps you might find some useful info here http://help.sap.com/saphelp_sm70ehp1_sp23/helpdata/en/36/f1a5e16cde4121acc69a91728b9082/frameset.htm
Regards,
Paul -
How to fill the master data in ecc
Hi,
0product_attr having zero records i ecc,how to fill the master data in ecc can you pls provide me the setps?
Regrads,
devi.Hi Devi,
Loading data is ECC is not the part of BI Activities. Contact your functional consultant to load data.
BDC and LSMW both are used for loading data into SAP system.
Or ask even directly they can create in ECC. If it is for your testing purpose, it is better to ask them to create master in source system .
Thanks
BVR -
How to fill a symbol with color
How to fill a symbol with color?
Good day!
What do you mean by »symbol« in this case?
Is this on a Layer of its own or is it part of a photograph?
Could you please post a screenshot with the Layers Panel visible?
Regards,
Pfaffenbichler -
How to fill in a text box on a pfd form downloaded from the internet
I am desperate to know how to fill in text boxes on a pdf form that has been downloaded from the internet
Usually you just click in it and start typing... If that's not working then maybe what you're seeing is not a real text field.
In that case you can probably use the Add Text Comment tool under the Comment panel to add text to the file. -
How to fill field with test data in alv grid display
hi all,
i m adding field TEXT to the structure for displaying grid.
i m modifying program like this
DATA: ALV_OUTPUT LIKE HRPDV_EXPIRED_Q OCCURS 0 WITH HEADER LINE.
TYPES : BEGIN OF FS_OUTPUT .
TEXT(20) TYPE C.
INCLUDE STRUCTURE HRPDV_EXPIRED_Q.
TYPES TEXT(20) TYPE C.
TYPES END OF FS_OUTPUT.
DATA: fs_output like table of alv_output.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-FIELDNAME = 'TEXT'.
WA_FIELDCAT-seltext_l = 'Abteilungs Struktur'.
wa_fieldcat-tabname = 'ALV_OUTPUT'.
WA_FIELDCAT-COL_POS = '13'.
APPEND WA_FIELDCAT TO P_GT_FIELDCAT.
this is what i have write for diapalying field. but my question is how to fill test data with field TEXT.I m writing like this but not executed in the aboove grid dispaly statement.
loop at alv_output.
*alv_output-text(20) = 'abcdefgh'.
*modify alv_output.
*endloop.
plz tell me how to fill test datahI..,
Your table declaration has to be like this..
TYPES : BEGIN OF FS_OUTPUT .
INCLUDE STRUCTURE HRPDV_EXPIRED_Q.
TYPES TEXT(20) TYPE C.
TYPES END OF FS_OUTPUT.
DATA: ALV_OUTPUT LIKE standard table of fs_output initial size 0.
loop at alv_output <b>into fs_output</b>.
<b>fs</b>_output-text(20) = 'abcdefgh'.
<b>modify alv_output index sy-tabix from fs_output transporting text.</b>
endloop.
Now give this table alv_output to the GRID_DISPLAY function module..
you will get the required output !!
Plz do remember to close the thread when ur problem is solved !!
reward all helpful answers !!
regards,
sai ramesh -
How to fill TAX Form W-8IMY for Individual Non-USA developer?
Hello,
Firstly: I couldn't find a simple remove-formatting option in the wsiwyg editor of this new post entry box, so the copy paste resulted in a text like this.
Now my question: I had never filled up this form TAX Form W-8IMY before and searching internet shows only how to fill up form Form
W-8 BEN for windowsphone store but not the form W-8IMY which shows up in my account. It has some fields which I don't understand like Type
of entity and rest from part 3 onwards. I am an Individual Non-USA based developer.
If you have any sample tutorial, blog, etc that can tell me how to fill up this tax form then it will be of great help.
Thanks,
AJHello Adaj2014,
We recently made some changes to the tax form, please go to
http://login.live.com and sign out of all services then clear your browser cache.
If this does not resolve the issue please
contact developer support.
-Eric
Windows and Windows Phone Dev Center Support
Send us your feedback about the Windows Platform
Maybe you are looking for
-
How do I connect my HP Deskjet 1050 All-in-One Printer - J410a to a wireless connection
I have a HP Deskjet 1050 All-in-One Printer - J410a I am connected to a computer but would also like to connect it to my laptop wirelessly. Can't do it. Must be doing something wrong. Need help thanks.
-
How do I change vista business 32 bit to windows 7 64 bit on a w700
I bought a full install 64bit windows 7 but the w700 wont boot off the dvd -- says there is no valid boot on the disk the 32 bit dvd boots fine, obviously there is something missing in the prom. how to I get whatever is necessary to boot off the 64bi
-
Services in Pages 5.1 running on OS X 10.9.2
I can't use more than a very restricted set of services in Pages 5.1. I select Pages/Services/Services Preferences, and the services I want to use are listed and the boxes are checked - but most won't work. I'm specifically wanting to use the Devon
-
Volume level isn't reflected when I save song in itunes
Ever since I got the '08 garageband version and leopard 10.5 for my mac, I haven't had any success with saving my garageband creations at the volume level I want it. In the old garageband, when I adjusted the volume next to the track length, or the m
-
Hi, we are testing our setup of Oracle AS in a cluster (two test server with Active-Active, each server has one instance - each instance has one OC4J process, both instances are connected by one island). We tested the high availability by shutting do