2007A B1 MANUAL A/R INVOICE PROBLEM
We recently implemented B1 version 2007A from 2005 and in the process manually entered several A/R Invoices as Service Invoices since we were unable to copy over during the upgrade. I am currently trying to write a query to detail open A/R invoices including new ones established and those from the 2005 version put in as service invoices. The two tables I am using are the OINV and INV1 tables. The reason for the INV1 table is to capture row information. Unfortunately, whenever I do an outer join in the query it will not pick up the 2005 A/R invoices that we manually keyed in. Below is the SQL query that I would ask if anyone has a suggetion to fix so that it picks up all of the open A/R invoices I would be very grateful.
SELECT T1.DocNum AS 'Inv #', T1.DocDate, T1.CardCode AS 'Customer #', T1.CardName AS 'Customer', T1.U_ISGI_pono AS 'MP #', T1.U_ISGI_prjd,T1.U_ISGI_type, T0.ItemCode, T0.Quantity, T0.LineTotal, T0.PriceBefDi
FROM INV1 T0 FULL OUTER JOIN OINV T1 ON T1.DocEntry = T0.DocEntry
WHERE (T1.DocDate >'[%0]' and T1.DocDate <'[%1]' and T1.U_ISGI_pono Like '%[%2]%') AND ((T0.ItemCode <> 'a9999') AND (T0.ItemCode <> 'c9999') AND (T0.ItemCode <> 'Z_Freight'))
Order By T0.ItemCode
Bishal, the below SQL works okay but the moment I add the <> statements, it does not function properly. Thoughts?
SELECT T1.DocNum AS 'Inv #', T1.DocDate, T1.CardCode AS 'Customer #', T1.CardName AS 'Customer', T1.U_ISGI_pono AS 'MP #',
T1.U_ISGI_prjd,T1.U_ISGI_type, T0.ItemCode, T0.Quantity, T0.LineTotal, T0.PriceBefDi
FROM INV1 T0 INNER JOIN OINV T1 ON T0.DocEntry = T1.DocEntry
WHERE (T1.DocType = 's' or T1.DocType = 'i') and (T1.DocDate >'[%0]' and T1.DocDate <'[%1]' and T1.U_ISGI_pono Like '%[%2]%')
Order By T0.ItemCode
This SQL causes the above not to work properly:
AND ((T0.ItemCode <> 'a9999') AND (T0.ItemCode <> 'c9999') AND (T0.ItemCode <> 'Z_Freight'))
I need the above so that these three item codes are not included in the output. How can I modify the main SQL for it to run properly.
Similar Messages
-
R/3 to XI manually IDOC sending and problem:
<u><b>R/3 to XI manually IDOC sending and problem:</b></u>
I sent IDOC using we19 transaction from R/3 system. After sending it asks me userid and password for XI system. I give necessary UID and PASS. R/3 system says me sucessfully sent.
I check XI (sxmb_moni) but there is nomessage there.
<b>Problem 1:</b> I don't want R/3 ask me UID and password for XI access
<b>Problem 2:</b> I want to see message in XI (sxmb_moni)
ThanksHi Cemil,
>>>>After sending it asks me userid and password for XI system. I give necessary UID and PASS. R/3 system says me sucessfully sent.
check the RFC destination from R3 to XI (SM59)
you will find the right one from your port (We21)
you can also check step by step procedures
for IDOC - XI in my book:
<a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
Creating Check Manually for Vendor Invoice
I want to create a Check in SAP from a Vendor invoice manually. What steps do I need to take to do so?
I am creating vendor invoice in FB60
I can create a outgoing Payment F-07
How do I create a Payment document in reference to the vendor invoice?
I can create a check using FCH5 once I have the payment document.
Please suggest.Hi
You following the correct steps.
When you will make a payment for an invoice, the invoice will be cleared throught the payment doc. Thats how the payment doc is referenced to invoice.
Since you are doing manual payment, you can manually enter the invoice number in the reference field of the payment document for future reference.
Coming to Check creation when you create a check for a payment document through FCH5. The check number get link to the payment doc in SAP. you can view this in tcode FCH2, here give the payment doc.
For future reference, you can populate any free field (reference, assignment, ref key3) in your payment doc with the check number assigned to it through tcode FCHU.
To print the check you can use the std program RFFOUS_C. Make sure the form that you use to print the check meets your requirement if using the std forms.
Regards
Nikhil -
Manually genarated Service node - problem while transport?
Hello everyone,
I had to create a service node for my application manually.
Now when I'll transport this object , will I have any problem ?
ThanksHi,
I created service nodes several times manually and had never problems during the transport.
Best regards
Renald -
I upgraded the software on my iphone 4 and now it's downloading every email message from all my accounts (all previously read). 200 at a time. Manual delete is a problem since there are 3500. Suggestions?
Wow, just posting and it seems that there is a solution that is working for me...
What I've did is I turned off iTunes Match on my iPhone, then turned in on again. Now in my iTunes library on my mac I can get the duplicates to be matched or uploaded to iCloud with a right-click, add to iCloud. iTunes Match starts to check the songs and everything is done correctly. Pretty nice! -
Dear Folks,
I'm now working on a migration project.
This is about the FI release invoices.
Before the migration, the end users are able to release the invoices through their SAP inbox.
After the migration, these endusers had been assigned different SAP user ids and now the invoices are not triggering into their SAP inbox.
If they give their old user-ids it is working, and moreover with the new user-ids they had created lot of invoices which are not reflecting in their SAP inbox after that they started working out with the old user-ids.
For the invoices released with new user-ids, how can they trigger it manually?
I would like to know what may be the reason and how to tackle this problem.
Is any table to be changed or program to be changed?
They want to work with new SAP user-ids.
regards
ShailendraHi SC,
try asking a WF developer to help you out as there could be lots of reasons for this.
1. were the user ids maintained in a table
2. was there any organizational unit or framework created to send the work items to respective userids.
Aditya -
Dear All,
Please help me in this i am getting when i am trying to post the Sales invoice after doing Post Good issue.
Request all experts to help me in this. waiting for reply in anticipation.
Details of Error given below
Delivered/invoiced quantities cannot be updated in CO
Message no. KI137
Diagnosis
For account assignment object WBS BE/GW/01.01.07.01.20, the delivered or billed quantity is to be updated in the unit of measure MT for material number ST010013.
The system has found a totals record (COSL) that already exists for the account assignment object WBS BE/GW/01.01.07.01.20 with unit of measure BAG. However, you cannot convert the quantity from MT to BAG.
System Response
The quantity cannot be updated in the totals record, which means that the quantity is missing for the receiver after the settlement of WBS BE/GW/01.01.07.01.20 (for example in CO-PA). Only the posted quantity is saved in the CO line item (COEPL table).
Procedure
Change the material BAG and define BAG in the master data record as an additional unit of measure.
If you can have the quantity in MT in the COSL totals record without it causing any problems, you can deactivate this error message in customizing, or change it to a warning or information message.
To do this, see the implementation guide (IMG) for "General Controlling" under the following activity: Change Message Control (work area KI, message no. 137).do MM02 for your material, click the button Additional data, goto unit of measure tab and add BAG with the conversion rate to MT.
-
Hi All,
I have posted the Excise Invoice.
1. but in item level GR reference Tab is missing.
2. Qty Tab - (Relevent to Part 2) Qty is coming both credit availed & Credit available.but it should come only credit availed.
3.Duty value Tab - Excise amout is coming in credit due which should come in creadit availed.
what is the possiable reason for not updation of tables.
In header View doc is showing Posted.
Any Solution for this
Regards
PavanHi,
In J1IEX, check the Status of Excise Invoice at Header level. It should be posted, if it is posted then this problem should no arise.
Also check in GR Reference Tab at Item level, only PO is coming, not GR then you might have captured Excise Invoice in J1IEX w.r.t. GR instead of capturing it during GR (MIGO) -
A/P Down payment invoice Problem
Hi all,
I have the ff. scenario
1. Create PO
2. Create A/P DP invoice(20%) against this PO
3. Create outgoing payment against A/P DP invoice of 20%
4. Create A/P DP invoice(30%) against this PO
5. Create outgoing payment against A/P DP invoice of 30%
6. Create A/P DP invoice(60%) against this PO
7. Create outgoing payment against A/P DP invoice of 60%
8. Create a regular A/P invoice against the 3 DP
Problem 1. We have exceeded our payment against the PO w/c in this case is 110%, but SBO allowed to post these Down payments. How can we prevent overpayment base on a specific PO?
Problem 2. Since we have overpayment what we should do on 10% overpayment?
Please help.
FidelHi Fidel,
Sorry for the late post, quite a busy day for me today.
edit - start
Errrrr, line 12 actually should be IF @iBaseType (less-than-symbol)(greater-than-symbol) 22
Why this forum remove those 2 symbols whenever I write them? Anyway, you should understand it, I mean "IF @iBaseType is not equat to 22" in SQL script. Just curious why SDN automatically remove whenever those 2 symbols adjacent to each other, weird...
And the same thing apply to line 25, should be AND TargetType (less-than-symbol)(greater-than-symbol) 19
edit - end
IF @object_type='204'AND @transaction_type='A' -- 204 is object type for A/P DP Invoice
BEGIN
DECLARE @iBaseType AS INT -- To contain base document type of A/P DP Invoice
DECLARE @lDpmPrcnt AS DECIMAL(18,2) -- To contain sum of DP% related to the based PO
SELECT @iBaseType=BaseType
FROM ODPO T0
INNER JOIN DPO1 T1 ON T0.DocEntry=T1.DocEntry
WHERE T1.DocEntry=@list_of_cols_val_tab_del
IF @iBaseType<>22 -- Make sure in order to create DP, a PO is required (PO object type is 22)
BEGIN
SET @error=-1
SET @error_message='PO required in order to create purchase down payment'
END
ELSE
BEGIN
SELECT @lDpmPrcnt=SUM(DpmPrcnt)
FROM ODPO T0
INNER JOIN DPO1 T1 ON T0.DocEntry=T1.DocEntry
WHERE BaseType=22
AND BaseEntry=(SELECT BaseEntry FROM DPO1 WHERE DocEntry=@list_of_cols_val_tab_del)
-- Line above is to select all DP related to base PO
AND TargetType<>19
-- Line above is to make sure DP that already reversed using A/P Credit Memo is excluded
AND LineNum=0
-- Make sure to add line above due to facts that DP% located in document header
-- and since we join ODPO with DPO1,
-- if line above doesn't exist, the sum of DP% will duplicated accordingly to number of line items in document
IF @lDpmPrcnt>100
BEGIN
SET @error=-1
SET @error_message='Down payment percentage already exceeded 100% of PO'
END
END
END
Inform me if you have any inquiry or problem regarding this SP.
Best Regards,
Hendry Wijaya
Edited by: Hendry Wijaya on Sep 8, 2011 5:42 PM -
Dear All,
We have create the two type of Sales Document 1) Regular Production Invoice 2) Job Work Invoice
In this case there is no problem for Regular Invoice, but Job Work Invoice does create the excise document number because job work type of invoice does not appliable for excise value . But i need all the type of invoice creating under excise document number.
How to do the process, what are the steps i can do...
Thanks
Saravanan RYou can post the excise posting in J1IF01 against the material document number in this case
is it a sub contracting challan -
Hi Gurus,
When i do the Invoice wrt cash sales order i am getting run time error....what the problem???hi,
when you are doing cash sales delivery and invoice will be generated automatically.
please reward points if the answer is helpful
Regards,
Murali -
Hi all,
We are using Customer Service module, I have proble regarding invoice.
We create service order against equipment, which includes number of components for issue, say a,b,c,d
We issued the material against service order by tcode : MB11, by which a material doscument is create, with mat. Document we create excise invoice through J1IS,
But now we are getting two different excise invoice w r t material list. A & b in another invoice and c,d in another invoice.
Can anybody please explain what is the problem why system creates two invoices ?
And how to resolve this issue ?
Edited by: SIng on Aug 5, 2009 4:22 PMhi
Please check the chapter id of material.
Generally for invoice splitting difference of header data is responsible but for excise generally split occurs on chapter id .
u can check j1id settings whether common for all materials.
Regards
Mandar -
Dear All,
Please help me in this i am getting when i am trying to post the Sales invoice after doing Post Good issue.
Request all experts to help me in this. waiting for reply in anticipation.
Details of Error given below
Delivered/invoiced quantities cannot be updated in CO
Message no. KI137
Diagnosis
For account assignment object WBS BE/GW/01.01.07.01.20, the delivered or billed quantity is to be updated in the unit of measure MT for material number ST010013.
The system has found a totals record (COSL) that already exists for the account assignment object WBS BE/GW/01.01.07.01.20 with unit of measure BAG. However, you cannot convert the quantity from MT to BAG.
System Response
The quantity cannot be updated in the totals record, which means that the quantity is missing for the receiver after the settlement of WBS BE/GW/01.01.07.01.20 (for example in CO-PA). Only the posted quantity is saved in the CO line item (COEPL table).
Procedure
Change the material BAG and define BAG in the master data record as an additional unit of measure.
If you can have the quantity in MT in the COSL totals record without it causing any problems, you can deactivate this error message in customizing, or change it to a warning or information message.
To do this, see the implementation guide (IMG) for "General Controlling" under the following activity: Change Message Control (work area KI, message no. 137).Hi Farhan ,
From the issue description , it looks like the conversion unit for the material master record is missing .
Goto MM02 and for the material , click on the " Addition Data " push button on the top , and maintain the conversion unit for BAG and MT .
Try if that solves
Kish -
BDC for Entering Invoice Problem
Dear All,
I am preparing a BDC for Entering Invoice (Tcode- MIRO) & facing problem.
During recording in PO reference tab i am using Bill of Lading and inserting data through More Allocation Criteria tab and in column cell entering 8 Reference at one time for more i am scrolling it and entering 8 more and adopting it.
In recording after adopting it is showing all adopted documents but on saved recording it is adopting latest 8 reference.
I coding for "P++" for scrolling but it is not working.
Please help me out.
Is it possible to code for scrolling of PO reference Bill of Lading pop of window.?
Thanks & Regards,
VarunHello Suhas,
No, not at all. We see that so many times in the forum that we are mistaken.
There are 3 places where we find P++, P--, etc. :
- the function codes assigned to the scrolling buttons in the standard toolbar for ABAP lists.
- If I remember well, they are also assigned to the buttons inside the screen for the table control wizard.
- SCROLLING_IN_TABLE
But usually, we don't create buttons inside screens for scrolling.
Table control scrolling via page down and page up keys, is made of 2 things : changing CXTAB_CONTROL-TOP_LINE + trigger enter key.
I know 1 note which talks about that : [187946 - No positioning on PRT overview in routing|https://service.sap.com/sap/support/notes/187946]
Sandra -
Hi friends,
One of my user was created a park incoming Invoice and after that created real invoice base on this park incoming invoice. But when I look the invoice, It was deleted. I want to create it again. But it was created before period. Now question. When I set invoice line in RBKP stats 2 (deleted) to A for this is it possible?
How can I fix it. I need your help.
Thanks
MehmetIf you know the Parking Invoice & it is not deleted..
Then Go to MIR4 enter Invoice Number & on top EDIT> Display/Change..
in the Change Mode Simulate the Document & SAve..
If the Parking Invoice is deleted, then you have to create a New Invoice through MIRO.
By manually entering the details of Parking Invoice...
Maybe you are looking for
-
How can I sync my current iPod touch to a new computer?
I am in need of some assistance. I had my iPod Touch synced with my computer, but my computer died and I cannot fix it. I bought a new computer and put iTunes on it, but it tells me that if I want to sync my iPod with it, it will have to erase everyt
-
Crystal Reports - Change Line Chart Color Dynamically
Hello, I have Crystal report 14. I'm trying to create a line chart and need to be able to set the colors of the lines at the time the report is run. The colors the lines need to be are specified in a database and a different color could be specifie
-
Hi, Thanks in advance. I have an issue when I merge pdf files in Acrobat 9. Please see the attached Screenshot below. The issue seems very strange. Few of files in the merge list reads "Can not convert this file ... from the list" Please help. I need
-
Hi Guys, Question: I have one item order with a Customer requested date of 6/23/2008 entered against plant 2000. quantity 400 units. Because we ware moving to a new warehouse we had to create a new sales document against plant 2019 with a creation da
-
About Function Module customer_update
Hi SAP Experts, Can anyone explain to me what parameters should I pass to the importing and tables parameters of FM customer_update. But I don't know what values should I pass. I only need to update field SORTL which is only found in KNA1. Thanks in