Problem posting invoice from T code MIRO
Hi,
I am trying to post invoice from tcode MIRO. but I am getting the following error. can u let me know why is such a error coming .
<b>No target chart of accounts is defined for company code GL3000</b>
I have even checke the company code data and the cart of accounts is maintained there
Thanks
Nikhil
Hi Nikhil,
For 'No target chart of accounts is defined for company code GL3000', it seems that you need to complete the cross-company setup :
In SPRO / SAP Netweaver / Web application server / IDOC interface / Modelling and Business processes / Global organisation units /
you need to complete the cross-company company codes setup ( e.g Make a dummy link to own company code and make sure all cc have chart od accounts assigned here)
rgds
Dirk
Similar Messages
-
Getting error while posting invoice in T-code F-02
Hello,
When i try to post invoice in T-code F-02 gives me the error message"There is no item category assigned to account bank a/c/company"
Can any one suggest me why this is error came up and how to resolve this.
Thanks,
LaviHi,
I think u have activated doc splitting i.e. new gl acconting. Go to
Financial Accounting (New) > General Ledger Accounting (New) > Business Transactions > Document Splitting > Classify G/L Accounts for Document Splitting
And make setting for u r account. Also see all the nodes there are configured, to avoid any other error.
Regards -
Problems creating invoice from order (DI API and SBO)
Hello all!
I´m getting various tax problems using the following code to automatically create invoices from existing orders.
For Each currentKey In arrABEntrys
objInv = objCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
objAB.GetByKey(currentKey)
objInv.CardCode = objAB.CardCode
With objInv.Lines
.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
.BaseEntry = currentKey
.BaseLine = 0
For i = 1 To objAB.Lines.Count - 1
objInv.Lines.Add()
BaseType = SAPbobsCOM.BoObjectTypes.oOrders
.BaseEntry = currentKey
.BaseLine = i
Next
End With
If objInv.Add() = 0 Then
Else
End if
The result of objInv.add() was first "5002 - 'Tax Definition (1)' (a very informative message to me).
Then I checked my admin tax settings and put a check on "EU".
The next time the result was "10 - Customer´s tax ID not defined OINV.LicTradNum"
Actually, I don´t want to pre-set any fields in the invoice, because the order looks complete to me.
By the way: The error occurs in SBO, too.
Thanks for help in advance!
Best regards
MarianHi Marian,
Your Error "10 - Customer´s tax ID not defined OINV.LicTradNum" is not working (through DI and in SBO)
occurs because your "Federal Tax ID" is not set up against the Business Partner. (This is on the main page of the Business Master Data Screen).
Set this up and it will work in SBO and the DI API! -
Problem Posting Receipt From Production and Issue for Production
Hi Everyone,
I am posting Receipt from Production and Issue for Production through DIAPI in SAP Business One 2007A SP00 PL03.
I am using following lines of code
oDocument.Lines.SetCurrentLine(0);
oDocument.Lines.BaseEntry = int.Parse(BaseEntry);
oDocument.Lines.Quantity = double.Parse(Quantity);
lRetCode = oDocument.Add();
The Document adds perfectly but when I open the document in SAP Business One i am not able to see the Order Number at Line level on which this document was Based.
I identified the problem being Order Number Column being binded to BaseRef field hence form is not able to Show the Order Number and we cannot set BaseRef via DIAPI since the property to set that field is not exposed.
I donot want to update the table through a Recordset Update Query. I would appreciate if the property to set that field is exposed by SAP or any other workaround can be put forward by anyone who has faced the same problem.
Thanks
KapilDo you need to set
oDocument.Lines.BaseType = 17 (if this is sales order)
and then baseentry = baseentry....etc
If you bind the base entry correctly it should alwasy shows the base document on both database as well as front end. I have never had any problem with this
Sincerely -
Removing posting access from txn codes (FBV2, FBV3 and MIR4)
Hello all,
There is a business requirement to remove the ability to post
Financial documents from a particular FI role. We are using a
job role (for the most part, one SAP role per user) approach.
For the transaction codes FBV2, FBV3 and MIR4, they would like to
remove the ability to post. The relevant auth. object for
posting is object F_BKPF_BUK, Vendor: Account Authorization. In
this role, the ability to post (which is actually activity 01,
create), has been removed; however, the role still has the
ability to post the documents.
I executed an auth. trace for each transaction code and the only
activities outside of 03 or 77 (pre-enter) are checked in this
object. I also verified that none of the other roles assigned to
the test ID (a FI reporting and display role) have this
authorization object with 01 in the activity field.
As a sanity check, if anyone has removed posting access from
specific FICO roles, please confirm that this authorization
object is the correct one. I believe I've done the standard
security 'debugging' steps and now I am stuck.
Also, other transactions with posting access FV60 and FBV6 are
restriction from posting by removing activity 01 from objects
F_BKPF_BLA and F_BKPF_KOA.
Thanks in advance for your help!Hi, the authorizations were correct in the first place - ths issue is that they didn't test it fully because the post button was still visible. However, when I tested it via the instructions given by FICO, when I selected the post button, security prevented me from doing so and authorization object F_BKPF_BUK for activity 01 was checked.
Next time, I will make sure the testers are testing properly. -
IDoc error M8(183) in posting invoice from SRM to ECC
Hi everybody,
I am posting invoice in SRM against GR done in ECC. But the corresponding IDoc is in error when it reaches ECC. I am using MM-SUS scenario with SRM7.0, PI7.0, ECC6.0. Message types used are InvoiceRequest_Out and INVOIC.INVOIC01.
1) Error message: "M8(183) : Delivery note/service entry sheet & & does not exist".
2) First I applied note 1063742, but it did not resolve the problem. When I went into further detail, I found that the XML payload generated for the invoice in SRM does not contain GR number of ECC, but the corresponding GR number generated in SRM is passed onto ECC.
3) This SRM GR number is available in field BELNR of IDoc segment E1EDP02 (segment 12).
My question is, how to enable the invoice generated in SRM to carry the ECC GR document number, so that the corresponding IDoc in ECC recognises the GR number against which it was made. Please let me know if any alternative exists, also.
regards,
biplabHi everyone,
Able to solve the problem by applying note 1344626 (GR based invoice not updated in backend PO).
biplab -
Runtime Error when Posting Invoice with text added (MIRO)
Hi Gurus,
We are getting a shortdump (runtime error) when we post certain invoices in MIRO. This happens when we input some text in the text field or add some text to the NOTE tab.
We are having exception ERROR_DP raised in the program c_textedit_control.
If the text field is blank and nothing is writing in the NOTE tab, the invoice gets posted with no problem.
Has anyone come accross this issue before and how did you solve it please.
Thanks.are u processing thru BADI, then it is very easy there are interfaces and methods for handling texts. u sud not get any error and plz never write commit work in BADI.
May be i cud provide more help if u share more details but let me tell more but let me share one recent development that i did.
In ME59n when we do PR TO PO then texdts sud be copied to header text in PO and get reflected in PO. the coding is like below may be can give some clues wid ur MIRO stuff.
METHOD if_ex_me_process_po_cust~process_header.
* Author : Prasenjit Bist *
* ID : PRBIST *
* Date : 04.08.2011 *
* Changes : New Devlopment *
* Change Request: *
* Description: To copy LSP information in PO *
TYPES:
BEGIN OF ty_text,
auto_pr_po TYPE zman_auto_pr_po,
plant TYPE zman_plant,
vendor TYPE zman_vendor,
lsp_vendor TYPE zman_lsp_name,
contract_no_text TYPE zman_contract_no_text,
END OF ty_text.
TYPES:
BEGIN OF ty_address,
ort01 TYPE ort01_gp, " city
ort02 TYPE ort02_gp, " district
pfach TYPE pfach, " PO Box
pstlz TYPE pstlz, " Postal code
region TYPE regio, "Region (State, Province, County)
telf1 TYPE telf1, "1st telephone number
telf2 TYPE telf2, "2nd telephone number
telfx TYPE telfx, "Fax number
land1 TYPE land1,
END OF ty_address.
DATA:
get the header level details
ls_mepoheader TYPE mepoheader,
lt_purchase_order_items TYPE purchase_order_items,
ls_purchase_order_items LIKE LINE OF lt_purchase_order_items,
get the line item details
lt_mepoitem TYPE STANDARD TABLE OF mepoitem,
ls_mepoitem TYPE mepoitem,
lt_textlines TYPE mmpur_t_textlines,
ls_textlines LIKE LINE OF lt_textlines,
TEXT TYPES
lt_texttypes TYPE mmpur_t_texttypes,
ls_texttypes LIKE LINE OF lt_texttypes.
DATA: l_name TYPE thead-tdname,
ls_header TYPE thead,
lt_lines TYPE STANDARD TABLE OF tline,
ls_lines TYPE tline,
l_tdobject TYPE thead-tdobject,
l_metafield TYPE mmpur_metafield.
DATA: ls_text TYPE ty_text,
l_text(50).
DATA: l_continue(1).
DATA: l_pass_vendor TYPE lifnr,
l_pass_plant TYPE werks,
l_name1(35).
fetch the address
DATA: ls_address TYPE ty_address,
l_landx TYPE landx.
CONSTANTS: lc_id TYPE thead-tdid VALUE 'F01',
lc_langu TYPE thead-tdspras VALUE 'E',
lc_object TYPE thead-tdobject VALUE 'EKKO'.
CONSTANTS: lc_set(1) VALUE 'X',
lc_vendor(11) VALUE 'Vendor: ',
lc_lsp_vendor(11) VALUE 'LSP Vendor:',
lc_contract_no_text(14) VALUE 'Contract Text:'.
CLEAR: l_continue.
IF sy-uname EQ 'PRBIST'.
Read the header data
ls_mepoheader = im_header->get_data( ).
read teh item level data.
break prbist.
lt_purchase_order_items = im_header->get_items( ).
LOOP AT lt_purchase_order_items INTO ls_purchase_order_items.
The item attribute of the structure is reference to line item
ls_mepoitem = ls_purchase_order_items-item->get_data( ).
APPEND ls_mepoitem TO lt_mepoitem.
ENDLOOP.
CHECK VENDOR IS THE ONE WE WANT.
SELECT SINGLE name1 FROM lfa1 INTO l_name1 WHERE lifnr = ls_mepoheader-lifnr.
First read the vebdor name based on LIFNR.
TRANSLATE l_name1 TO UPPER CASE.
IF ( l_name1 EQ 'LSP1' ) OR ( l_name1 EQ 'LSP2' ).
LOOP AT lt_mepoitem INTO ls_mepoitem.
TRANSLATE ls_mepoitem-werks TO UPPER CASE.
IF ls_mepoitem-werks EQ 'FI01'.
l_continue = lc_set.
l_pass_vendor = ls_mepoheader-lifnr.
l_pass_plant = ls_mepoitem-werks.
EXIT.
ENDIF.
ENDLOOP.
ENDIF.
IF l_continue EQ lc_set AND sy-tcode EQ 'ME21N'.
Call the POP UP screen to display LPS information.
CALL FUNCTION 'ZMAN_LSP_POP_UP'
EXPORTING
im_vendor = l_pass_vendor
im_plant = l_pass_plant
IMPORTING
ex_text = l_text.
GET Text Object (TTXOB)
im_header->if_longtexts_mm~get_textobject(
IMPORTING ex_tdobject = l_tdobject
ex_metafield = l_metafield ).
GET TEXT IDS
im_header->if_longtexts_mm~get_types(
IMPORTING ex_texttypes = lt_texttypes ).
CHECK TEXT TYPE 'F01' EXISTS.
READ TABLE lt_texttypes INTO ls_texttypes WITH KEY tdid = lc_id.
IF sy-subrc EQ 0.
UPDATING ITEM TEXT.
MOVE: l_tdobject TO ls_textlines-tdobject,
ls_texttypes-tdid TO ls_textlines-tdid,
'*' TO ls_textlines-tdformat.
break prbist.
ls_text = l_text.
CONCATENATE l_text ls_texttypes-tdtext INTO ls_textlines-tdline.
CONCATENATE ls_text-vendor
ls_text-plant
ls_text-lsp_vendor
ls_text-contract_no_text
INTO ls_textlines-tdline SEPARATED BY space.
APPEND ls_textlines TO lt_textlines.
INSERT VENDOR
CLEAR ls_textlines-tdline.
CONCATENATE lc_vendor ls_text-vendor INTO ls_textlines-tdline SEPARATED BY space.
APPEND ls_textlines TO lt_textlines.
INSERT LSP VENDOR
CLEAR ls_textlines-tdline.
CONCATENATE lc_lsp_vendor ls_text-lsp_vendor INTO ls_textlines-tdline SEPARATED BY space.
APPEND ls_textlines TO lt_textlines.
INSERT CONTRACT TEXT.
CLEAR ls_textlines-tdline.
CONCATENATE lc_contract_no_text ls_text-contract_no_text INTO ls_textlines-tdline SEPARATED BY space.
APPEND ls_textlines TO lt_textlines.
INSERT A BLANK LINE.
CLEAR ls_textlines-tdline.
APPEND ls_textlines TO lt_textlines.
INSERT addreSS CAPTION.
CLEAR ls_textlines-tdline.
MOVE 'Address:' TO ls_textlines-tdline.
APPEND ls_textlines TO lt_textlines.
break prbist.
READ THE ADDRESS
SELECT SINGLE ort01 " city
ort02 " district
pfach " PO Box
pstlz " Postal code
regio "Region (State, Province, County)
telf1 "1st telephone number
telf2 "2nd telephone number
telfx "Fax number
land1 "COUNTRY
FROM lfa1 INTO ls_address WHERE lifnr = ls_mepoheader-lifnr.
GET COUNTRY
SELECT SINGLE landx FROM t005t INTO l_landx WHERE spras = 'E' AND land1 = ls_address-land1.
INSERT ADDRESS DETAILS.
CLEAR ls_textlines-tdline.
CONCATENATE ls_address-ort01 ls_address-ort01 INTO ls_textlines-tdline SEPARATED BY space.
APPEND ls_textlines TO lt_textlines.
INSERT COUNTRY.
CLEAR ls_textlines-tdline.
MOVE l_landx TO ls_textlines-tdline.
APPEND ls_textlines TO lt_textlines.
TELEPHONE DETAILS
CLEAR ls_textlines-tdline.
CONCATENATE 'Tel:' ls_address-telf1 '/' ls_address-telf2 INTO ls_textlines-tdline.
APPEND ls_textlines TO lt_textlines.
FAX DETAILS.
CLEAR ls_textlines-tdline.
CONCATENATE 'Fax:' ls_address-telfx INTO ls_textlines-tdline.
APPEND ls_textlines TO lt_textlines.
SAVE THE HEADER LONG TEXT.
im_header->if_longtexts_mm~set_text(
EXPORTING im_tdid = ls_texttypes-tdid
im_textlines = lt_textlines ).
ENDIF.
ELSEIF l_continue EQ lc_set AND sy-tcode EQ 'ME59N'.
No need to display POPUP simply read the values and show.
if not
ENDIF. "(l_continue = 'X' and transaction code is ME21N or ME59N)
CLEAR l_continue.
ENDIF. "(sy-uname)
ENDMETHOD.
Edited by: Prasenjit Singh Bist on Aug 14, 2011 10:15 AM
Edited by: Prasenjit Singh Bist on Aug 14, 2011 10:21 AM -
Problem With Invoice Generation using code
I have some sales orders - I put an button on the below of the sales order so that it will create the invoice through code. I CANT USE COPYTO option of sales order since i am adjusting some values while pressing the button.
What i have done....
1. Using get by key i read values from sales order.
2. Using objects of sales order and invoice i am binding values.
-- On Header
> Card code
> Card Name
> Date
OnLine
> Item Code
> Whs Code
> Quantity
> UnitPrice ( Calculated using the values in the sales order)
> Tax Code
Problem i have...
1. The amount till Total LC is correct. BUT NOT THE TAX AMOUNT.
2. When i checked the Tax Base amount -> Its different form the TOTAL LC column.
3. Then i noticed that - in header i saw some discount amount , but the discount % is null.
4. I have not given any discount on BP or any special price for BP.
5. I tried to put 1% discount on header but still the discount amount is more than 1%.
Please someone help me soon.
UPDATE TO MY ABOVE QUESTION....
I found that error was causing by the option i have activated - the Round off to one in financial set up...is there any other method for the round off with out using the setup...
Edited by: vibinvarghese on May 23, 2011 1:09 PMSome one find me an solution...this is causing me lot of problems now...
-
Problem posting message from adapter engine to IS
Hello,
We experience the next problem. We use JMS sender adapter to post message into XI. Message comes into the adapter engine and tries to post it into integration server. http://<host>:8000/sap/xi/engine?type=entry
When posting we get the (very generic) error:
Received HTTP response code 500..
The Adapter engine does a retry every 5 minutes.
After the 3th retry most of the status of the message in the adapter engine is set to NON_DELIVERED.
However for what ever reason sometimes the 2nd or 3th time the message does get processed to the IS.
Is there anyone who experienced similar problems or does anyone know a solution for this.
tnx
EmileHi,
Is this the problem with JMS adapter or with any other Adapter.
<b>8000</b>, is this the same port in smicm-->services. B'cos sometimes people might have a different instance number even.
Cheers,
Siva Maranani. -
Problem creating webservice from existing code in sjse8
I have a java class with three methods in an enterprise app (no ejbs) that I want to expose with webservice. In sudio5 I had no problem with webservice creation but in studio8 when I chose "From scratch, Use existing code", it gives me the opting to go to my class and select those methods. When I click finish, it generates an Implementation class that has declaration for my java class repeated 3 times which is obviously wrong and under it says:
// Enter web service operations here. (Popup menu: Web Service->Add Operation)
The class is empty.
I choose "rpcliteral", "strict", "useonewayoperations" and "donotoverride" under web module property / webservice.
And as you can guess it generates a wsdl file with no webservice methods info.
I have and am checking all forums and searching different sites but haven't fond anything yet.
I appreciate any help resolving this issue.Seems this feature doesn't work properly in jse and completely removed from latest nb55 enterprise pack (only session enterprise bean case remain)
-
Service Tax Detail while recording a purchase invoice from T-Code F-43
Dear Sir,
I am passing a Professional Fees Invoice, where in service tax is being charged, through T-Code F-43
Kindly let me know the following.
1. Where do I store the vendor's service tax registration detail?
2. Where do I store the service category under which the service tax is being charged?
Regards & Thanks in anticipation
Chirag Shah
Edited by: CHIRAG SHAH on Dec 29, 2011 8:25 AMDear expert
1. Where do I store the vendor's service tax registration detail?
ans: vendor master inside CIN detail-
CIN details not coming in Vendor master
T:CODE:OMT3E
or
Go to SPRO > Logistics General > Tax on Goods Movement > India > MasterData > Assign Users to Material Master Screen Sequence for Excise Duty.Select User Screen reference and add the user name- after it will comes to vendor master there you can add details
2.Where do I store the service category under which the service tax is being charged?
service tax - access seq
Service Tax Liability - India - w.e.f 01 July 2011 Changing to Accrual
Regards
Ajeesh.s -
Please help! Problems posting chart from Numbers into Pages
Hello
I've come across a strange problem, and I'm sure I'm missing some simple trick.
I have created a chart in Numbers, it looks nice, and crisper than the equivalent Excel diagram. However, when I paste it into Pages, I can't resize it! It seems to preserve the fonts that I specified in Numbers, and so it doesn't become smaller. And I can't see any way of reducing the font size in this chart. And it doesn't resize nicely when I drag the box corner in Numbers.
The thing is, it's really quite straightforward to create a chart in Excel, and then copy it into Pages, and it resizes and everything with no problems.
Can anyone give me some pointers as to what I should be doing, please? I'm using the 09 versions.tgma
I suggest you experiment.
It sounds as if you will be satisfied with a simple graphic version of the chart, however I tested my recommendation and there are bugs in what gets saved, some of the text of the labels is lost and the legend gets rearranged.
It may be necessary to print the entire Numbers sheet to .pdf and crop that down to the graph.
The 2nd method of copying over the actual chart to Pages works quite well and the data appears in the linked data in Pages. Just make sure to create the linkage from Numbers to first save the Numbers document before copying and pasting the chart into Pages.
A black tag will appear on the chart when you select it. The circled arrows in the tag allow you to update the chart from updated (and saved) data in the original Numbers chart. There is also an option in the tag to unlink the chart and make it solely a Pages chart.
As to text not resizing in Pages, this is generally so in grouped objects. Pages will resize all the graphical parts of a grouped set of objects but keep the fonts at the same point size. This can either be a good or bad thing depending on your viewpoint. Personally my view is that everything should scale as expected.
In a live chart you can click on each part including the fonts and change their appearance and formatting directly, using the usual methods.
Peter -
Problems posting BCC from address book
I can not place addresses from my address book to the BCC area, they revert up to the To slot no matter what I do. This happens with either full groups or selected individuals from the addrss book.
G4 733 Mac OS X (10.4.9)Yes this is an issue that many here have expressed angst about.
I select the contacts from the Address panel that I want placed in the Bcc: field and then click/drag all selected/highlighted contacts to the Bcc: field.
Hopefully this will be addressed with Leopard but seems like something that could be added/changed with a minor update to Tiger Mail and Address Book.
You can provide Apple feedback about this here.
http://www.apple.com/macosx/feedback/ -
Asset in incomplete while posting invoice MIRO
Hi All,
I have raised an P.O with account assignment 'A' P.O has created but while posting invoice through t.code Miro i am getting the error 'asset co.code xxxx asset no.xxxxxx is incomplete.
let me know were i need to check.Hi Ganee,
The asset for which you are doing MIRO, the error might be due to the following reasons:
1. Check the depreciation Key.
2. Check the Account Determinations (Ao90)
You can do resolve your error.
Regards
VG -
Dear Cons
In posting of incoming invoice through T-code- MIRO, we are getting one type of No range series. Let say 11 series. Now we want to bifercate it . that means EXCISE RELATED invoice ( tax code) case the system will generate other no. range series. LET SAY 12* SERIES. I checked from the menu path IMG-M.M- LOGISTIC INV. VERI.-INC. INV-NO.ASSIGN-MAINTAIN NO. ASSIGN FOR ACCT. DOCUMENT. wE HAVE SELECTED doc type- RE with 11* no. range. how can we assign 12* series no. range with creating a new doc. type by coping RE so that for excise related INV. case the system will provide 12* series no. range for inv. document.
Edited by: nirupama swain on May 5, 2010 10:15 AMIf u talking about LIV number range and not of LIV accounting document number range
IF u talking about LIV number range then in std sap its not possible to have 2 number ranges, and In LIV if u Change RE to other then it will change LIV accounting document number range and not LIV number range
Any way if u want to change number range than u can make use of following user exit
LMR1M003 Number assignment in Logistics Invoice Verification
hope this heklps
Maybe you are looking for
-
Help with Installing Lightbox 2 in Adobe golive cs2
Iam having some difficulty installing lightbox 2 for a gallery that I want to creat on my website, Ive downloaded the latest version. Do I just drop the whole folder (lightbox 2 into my site window? then add the code for javascript in the header wind
-
I compiled a custom madwifi module using a patch for the Atheros 5007EG chipset. If I upgrade the kernel, will it break the module? Will I have to recompile everytime I get a kernel? I currently have the kernel ignored by pacman.
-
Customizing XPATH in Receiver Determination
Hello, I am using this blog to write conditions /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination and accordingly call the receiver (either Receiver_1 or Receiver_2), never to call both the recei
-
Integrating MDG in Financial Self Service for Asset Master Data creation in CRM portal
Hello Experts, I have a requirement in CRM box. If we navigate to SAP menu we have Self Service -> Financial Internal Self Services. Then a portal page will open in browser. There we have link Master Data Services. In that link we have standard subli
-
Hi all, I've been able to create custom Reports on my IDM instance. However, there's one little thing that keeps irking me : it concerns the "*Send via Email*" function. There's a checkbox there which, when ticked, allows you the option of sending th