SO- DO- AR Inv and PO- GRPO- AP Invoice matching queries
Hi Expert,
Our customer would like to have both AR and AP matching reports to check how SO are being matching with DO and AR Invoice as well for PO match with GRPO and AP Invoice. Wonder anyone has any queries written before for your customer. I am now running on 2007A SP00 PL30
The report contain for AR
SO#, BP code, Item No, Item description, SO Qty, Row Total($), DO#, DO Qty, AR Inv#, AR Inv qty, AR Inv row Total($)
The report contain for AP
PO#, BP code, Item No, Item description, PO Qty, Row Total($), GRPO#, GRPO Qty, AP Inv#, AP Inv qty, AP Inv row Total($)
Thank you.
Regards
Thomas
Hi Thomas,
Try this one for AR:
SELECT DISTINCT T1.DocNum as SO#, T1.CardCode 'BP Code',
T0.ItemCode, T0.Dscription as 'Item description', T0.Quantity as
'SO Qty', T0.LineTotal, T3.DocNum as DO#, T2.Quantity as
'DO Qty',T5.DocNum as 'AR Inv#', T4.Quantity as 'AR Inv Qty',
T4.LineTotal as 'AR Inv row Total($)'
FROM RDR1 T0
INNER JOIN ORDR T1 ON T0.DocEntry = T1.DocEntry
Left JOIN DLN1 T2 ON T2.DocEntry = T0.TrgetEntry and
T2.ItemCode = T0.ItemCode
Left JOIN ODLN T3 ON T3.DocEntry = T2.DocEntry
Left JOIN INV1 T4 ON T4.DocEntry = T2.TrgetEntry and
T4.ItemCode = T0.ItemCode
Left JOIN OINV T5 ON T5.DocEntry = T4.DocEntry
WHERE T1.DocNum = '[%0]'
If works for you, AP will just need to replace some table names with exact logic.
Thanks,
Gordon
Similar Messages
-
Can a contract be created with ref to PO,bid inv and bid
hi friends
we know that po can refer to a contract , can a contract be created with ref to po, bid inv and bid
Regards
VinnyVinny,
PO can be created with reference to a bid (Response of a Bid Invitation). Even contracts is also possible here.
Then ragarding can a contract be created with ref to po -> No.....
Regards
Kathirvel -
How to deal with Physical Inv and Q stock
Hi,
Can someone help me with the following query
How to deal with Physical Inv and Q stockHi,
The process remains the same. However when you create the PID ensure that it gets created using st. type as 2 (QI stock).
Hope that helps.
Regards,
Pravin -
It is very frustrating even to receive an email from itunes support telling me: well, if your code or card are not working call your bank, which I did and everything is fine, it matches with existing acct in itunes...
then I tried and tried and time after time I keep getting the same stupid answer "invalid security code"
I am tired of it!
And then I contacted support just for an idiotic answer: well, use an itune gift card then.... Come on! Are they really not goint to do anything to help me and restore my info in the itunes acct?????
Can someone tell me what to do, please! I am telling you... its frustrating I cant even update because the stupid system keeps asking me for the security code of my card!!! And it is the correct one!!!
HELP!
ChapinaZI'm also on iPhone 4, iOS 6, and have exactly the same problem. I've tried resetting privacy settings, turning restrictions on and off, deleting and reinstalling apps. Nothing seems to work. The lists of apps in privacy settings are all empty, except for location services. When using Tweetbot the app is regularly asking for permission to access my twitter account, but even when I allow that, the app doesn't show in privacy settings.
-
Sample rate off the audio input and out devices do not match - what to do?
This is fundamental, I know, but nevertheless I can't find my way around it. I get this error message when trying to recor:
Sample rate off the audio input and out devices do not match
and am asked to do this:
Use the appropriate operating system or audio device control panel to adjust the sample rates of the input and output devices to use the same settingt.
I have defined the sample rate to 44.1/16 bit in accordance with my inbuild soundcardt.
I am trying to record from LineIn.
When running on a M-Audio sound card I don't face any problems.
HP 8560W, sound card IDT/High definition audio Codec
Any suggestions?
Knud
CopenhagenYou're sure you have set BOTH the input and output settings to 44.1 16 bit?
Which version of Windows are you running? There are a number of posts on this forum about how to fully access both the Windows Mixer and the Mixer for your soundcard. Especially, you need to ensure that all "Windows Sounds" are turned OFF. -
Regarding : Material document data and PO data do not match (Plant)
Hi Gurus,
Please go through this BAPI program.
While uploading it is giving an error ' Material document data and PO data do not match (Plant) '.
Please help regarding this issue.For all Other moment types it is working fine except this 351 moment type.
dATA: i_excel TYPE truxs_t_text_data. "work table for excel upload
DATA: BEGIN OF it_itab OCCURS 100,
docdate(10),
postdate(10),
mvt_type(3), "Movement Type
plant(4), "Plant
lgort(4),
pur_doc(10), "Purchase Document No
po_item(3), "Purchase Document Item No
material(18), "Material Number
delnote(16),
erfmg(13),
uom(3),
lfmng(13), "Quantity
batch(10) TYPE c,
vfdat TYPE vfdat,
END OF it_itab.
DATA: it_goodsmvt_head TYPE TABLE OF bapi2017_gm_head_01 INITIAL SIZE 100,
it_goodsmvt_code TYPE TABLE OF bapi2017_gm_code INITIAL SIZE 100,
it_goodsmvt_item TYPE TABLE OF bapi2017_gm_item_create INITIAL SIZE 100.
DATA: wa_goodsmvt_head LIKE LINE OF it_goodsmvt_head,
wa_goodsmvt_code LIKE LINE OF it_goodsmvt_code,
wa_goodsmvt_item LIKE LINE OF it_goodsmvt_item.
DATA: w_mat_doc TYPE bapi2017_gm_head_ret-mat_doc,
w_year TYPE bapi2017_gm_head_ret-doc_year.
DATA: BEGIN OF it_errmsg_goodsmvt OCCURS 10.
INCLUDE STRUCTURE bapiret2.
DATA: END OF it_errmsg_goodsmvt.
DATA : obj_type LIKE bapiache09-obj_type,
obj_key LIKE bapiache09-obj_key,
obj_sys LIKE bapiache09-obj_sys.
DATA: v_date1 TYPE sy-datum.
DATA: v_date2 TYPE sy-datum.
DATA: w_lines TYPE i.
DATA: errflag.
SELECTION-SCREEN BEGIN OF BLOCK bk1 WITH FRAME TITLE text-100.
PARAMETERS: p_file TYPE rlgrap-filename.
SELECTION-SCREEN END OF BLOCK bk1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
field_name = 'P_FILE'
IMPORTING
file_name = p_file.
Start-of-selection processing
START-OF-SELECTION.
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
i_line_header = 'X'
i_tab_raw_data = i_excel
i_filename = p_file
TABLES
i_tab_converted_data = it_itab[]
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
LOOP AT it_itab.
REFRESH it_goodsmvt_head.
REFRESH it_goodsmvt_item.
CONCATENATE it_itab-docdate6(4) it_itab-docdate3(2) it_itab-docdate+0(2) INTO v_date1.
CONCATENATE it_itab-postdate6(4) it_itab-postdate3(2) it_itab-postdate+0(2) INTO v_date2.
wa_goodsmvt_head-pstng_date = v_date2.
wa_goodsmvt_head-doc_date = v_date1.
wa_goodsmvt_head-ref_doc_no = it_itab-delnote.
wa_goodsmvt_head-pr_uname = sy-uname.
APPEND wa_goodsmvt_head TO it_goodsmvt_head.
Maintain it_goodsmvt_code
wa_goodsmvt_code-gm_code = '04'.
Maintain it_goodsmvt_item
*LOOP AT it_itab.
IF wa_goodsmvt_item-po_number IS INITIAL.
wa_goodsmvt_item-po_number = it_itab-pur_doc.
wa_goodsmvt_item-move_type = it_itab-mvt_type.
wa_goodsmvt_item-MOVE_PLANT = it_itab-plant.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = it_itab-material
IMPORTING
output = it_itab-material.
wa_goodsmvt_item-material = it_itab-material.
wa_goodsmvt_item-stge_loc = it_itab-lgort.
wa_goodsmvt_item-po_item = it_itab-po_item.
wa_goodsmvt_item-entry_qnt = it_itab-erfmg.
wa_goodsmvt_item-ENTRY_UOM_ISO = it_itab-uom.
wa_goodsmvt_item-po_pr_qnt = it_itab-lfmng.
wa_goodsmvt_item-batch = it_itab-batch.
wa_goodsmvt_item-expirydate = it_itab-vfdat.
wa_goodsmvt_item-NO_MORE_GR = 'X'.
wa_goodsmvt_item-mvt_ind = 'B'.
APPEND wa_goodsmvt_item TO it_goodsmvt_item.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = wa_goodsmvt_head
goodsmvt_code = wa_goodsmvt_code
IMPORTING
materialdocument = w_mat_doc
TABLES
goodsmvt_item = it_goodsmvt_item
return = it_errmsg_goodsmvt.
Process of commit work
IF it_goodsmvt_head[] IS NOT INITIAL.
DESCRIBE TABLE it_goodsmvt_head LINES w_lines.
ENDIF.
IF it_goodsmvt_item[] IS NOT INITIAL.
DESCRIBE TABLE it_goodsmvt_item LINES w_lines.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
IMPORTING
RETURN =
CLEAR errflag.
READ TABLE it_errmsg_goodsmvt INDEX 1.
IF it_errmsg_goodsmvt-type EQ 'E'.
WRITE:/'Error in function', it_errmsg_goodsmvt-message.
errflag = 'X'.
ELSE.
WRITE:/ it_errmsg_goodsmvt-message.
ENDIF.
IF errflag IS INITIAL.
COMMIT WORK AND WAIT.
IF sy-subrc NE 0.
WRITE:/ 'Error in updating'.
EXIT.
ELSE.
WRITE:/ 'Material Document created successfully and the Document Number for the Material',
wa_goodsmvt_item-material,'is:', w_mat_doc, w_year.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.Hey,
Just wanted to post that in my case this was the error of MVT_IND field in item table. When I made it from 'B' to blank then it worked.
Mine is solved....
Thanks -
Aging report and Control account value not matching
Hi All
The value what i am getting from Vendor liabilities aging and Control account is not matching for the same dates, all my parameters or selection criteria are same
Same report if i am taking for the current date it giving correctly,
If i am trying for a previous day the problem is happening
How can i solve this issueHi,
Please check if the transactions are done for different Control Accounts and both the account balances are included in the Aging Report.
Also, check that ALL the customers/vendor groups are taken.
Make sure that you are running the backdated aging with the checkbox as mentioned in the Note 800294.
If still facing problems may be you can provide with more details as to what the control account balances and what is the Aging, difference.
PS: Check if there is any manual journal entry is created in the control account?
Kind Regards,
Jitin
SAP Business One Forum Team -
Reversing and Resetting the Excise Invoice No. in Sales
Hi Gurus,
Kindly give me solution to reverse and reset the excise invoice after billing. The client has created manual invoice and manual excise nos. have been given for few documents and invoice has been despatched to the party. When they are updating the same in SAP, the system shows that the excise document number already exists in the system due to which there is a mismatch in manually given number and SAP generated excise document number. As the manual number has already been advised they want the same number to be in SAP. Is there any possibility of resetting the SAP excise invoice number ?
SadashivanDear Sadashivan,
I am just going through your message and its very surprising that you are entering excise invoice number manually while creating the exise invoice. As per my understanding you CANNOT assign external (as per you manually entering excise number) number ranges for CIN objects. The reason is excise invoice number should always be in order. If you are creating excise invoice by entering manually excise invoice then this is not SAP standard procedure.
Please check whether you are following the standard SAP functionality while creating excise invoice or not. Check whether you are using your own development?
Regarding resetting the number range in transaction SNRO or SNUM will not solve your purpose. As excise invoice is already been updated in different tables.
Dear Lakshmipathi,
Kindly check this "resetting number ranges in SNUM", will give error message while creating excise invoice.
Regards
MBS -
Delayed Payment charges and Arrears in the Invoice output
Hi,
can we show Delayed Payment charges and Arrears in the Invoice output in case of SD invoice. From where can i take those. suggest.Hi,
Please check whether the SMARTFORM/SAP SCRIPT was created in the DE login langage, if so then you have to maintain the Language conversion using SE63 transaction
Goto SE63 and in that transaction you have option to convert the TEXT to different langage.
Use transaction SE63 (translations). From the menu select:
Translation - Logntexts - Sapscript - Forms
From this point on you can translate both the descriptions and the
window texts. This transaction also checks if you don't forget to
translate a part of the script.
Hope it is clear
cheers,
santosh -
I have 2 iphones in the family and want to use itunes match on both devices, unfortunately my husband has his own itunes acct and when i change on his phone to my itunes acct it states that the email is already in use, any help on how to get the itunes match to go onto both devices, thanks
"Method Three
Create a separate iTunes library for each device. Note:It is important that you make a new iTunes Library file. Do not justmake a copy of your existing iTunes Library file. If iTunes is open,quit it.
This one may work. I searched and searched on the website for something like this, I guess I just didn't search correctly, lol. I will give this a try later. My daughter is not be back for a few weekends, therefore I will have to try the Method 3 when she comes back for the weekend again. "
I forgot to mention that she has a PC at her house that she also syncs to. Would this cause a problem. I am already getting that pop up saying that the iPod is synced to another library (even though she is signed in with her Apple ID to iTunes) and gives the pop up to Cancel, Erase & Sync, or Transfer Purchases. My question arose because she clicked on "Erase & Sync" by mistake when she plugged the iPod to her PC the first time. When the iPod was purchased and setup, it was synced to my PC first. When she went home, she hooked it up to her PC and then she erased it by accident. I was able to restore all the missing stuff yesterday using my PC. However, even after doing that it still told me the next time I hooked it up last night that the iPod was currently synced with a different library. Hopefully, you can help me understand all this. She wants to sync her iPod and also backup her iPod at both places. Both PCs have been authorised. Thanks -
I have a large music library on my iPad, that is not currently on iCloud or on my main PC. If I sign up for iTunes Match, and then turn the iTunes Match on my iPad, will the music library from the iPad that is not currently in iCloud move to the iCloud? Or will I loose all that music?
Welcome to the Apple Community.
Tap the song you wish to download. -
Itunes match and snow leopard, will the matched songs be on my macbook pro?
hi. if i sign up for itunes match from my macbook pro with snow leopard and i get all the tunes i have on there from cd's, will they now be on my laptop? or will they only be in the cloud and available to download to my iphone 4 with ios 5? i was getting psyched for all my old cd's that i ripped to sound way better on my macbook pro. will i also be able to make new burned cd's out of the new versions if they are on my laptop? thanks.
if i sign up for itunes match from my macbook pro with snow leopard and i get all the tunes i have on there from cd's, will they now be on my laptop?
They have to be on your laptop to begin with as iTunes Match scans your library to match the songs you do have.
Is your "laptop" another computer besides the Macbook Pro?
iinami wrote:
so when itunes match comes and i tell it to match my songs and pay my money where will the matched tunes go? only to the cloud? so on my itunes on my macbook pro the songs will still be the old cd versions, but if i go to my iphone 4 and check in 'purchased', 'not on this phone' the ones available will be the new versions?
Since iTunes Match has not yet been completed/released, exactly how it works has not been explained.
You have a limit of 25000 songs.
Any/all songs in your iTunes library that match what is in iTunes will be in the cloud. No need to upload them.
You can download these songs to your computer and your iPhone.
Any songs in your library that are not matched, will be uploaded to the cloud. You can download these songs and they count against the 25,000 song limit.
You can keep the originals and/or download from the cloud (for example if your originals are not 256 kbps or better). -
Invoice Posting using INVOIC02 Idoc for PO and Non-Po based invoices
Hi All,
We have a problem regarding posting Invoices using Idocs.
We have po and non-po invoices coming frm thirdparty in the form of idoc files.
We need a clarification whether Invoic02 idoc can handle both Po and Non Po Based invoices or threre are seperate idoc types or message types for Po and Non Po Invoices.
Could any one give some inputs on Partner Profiles also for this senario.
Please kindly reply as early as possible.
Regards
Anil Kumar KHi
I Got your name from this site.I would be very thankful if you can help me here.I am designing a EDI based invoice LIV.Is it possible to post some charges which are without PO reference but are coming in Vendor Invoices.Is it possible to post these kind of charges with EDI message INOIC01 or we have to post through FI posting.If possible through EDI in which segment of IDOC we will enter these charges with amt.Also is it possible to post credit memo also with EDI
Thanks
Sanjeev -
Status 51 material document data and po data do not match(vendor)
i am using we19 to try an inbound idoc mbgmcr(receipt for po)
i put in gm_code 01
movement indicator B(goods receipt for po)
vendor 3815
PO 4500015241
PO Order Item 00030
Movement type 101
qty in unit of entry 1
iso code unit of measurement pc
on the po screen i see the po item and qty to be delivered is 75
when i run the inbound idoc i get
status 51 material document data and po data do not match(vendor) but as i say on the po inquiry screen i see the po vendor item with 75 to be delivered
what am i missing????????????????thank you
i put in the leading zeros and got rid of that problem
now i am getting status 51
posting only possible in 2004/07 and 2004/06
but in the posting date i use 07/02/2004 i have tried several dates in the period but get the same error
any ideas?
thanks you -
Shuffle play no longer works properly and the artwork does not match after iOS5 upgrade.
When I use shuffle play, my ipod touch stops playing after one or two songs and the artwork does not match the song.
i have what sounds like the exact problem; thought it might be related to a) my recent replacement phone, or b) my recent upgrade to OS 5.0.1
Maybe you are looking for
-
Error while running historical and operational reports in OIM 9.1
Hi all, I had a look at the operational reports and historical reports in OIM 9.1 When I tried to run the reports by supplying the parameters, I see the following behaviors. a)The reports run as expected and display the information. b)The moment, I c
-
i want to write a Document Management System to read the content of the MS Word file and convert it to the PDF file using java. Does any java api can do this?? Thank You
-
Update java version in pre-built developer VM
Hi all, I got a VirtualBox from Pre-built Developer VM: Oracle WebLogic Server Development . I've got a webapp I want to test on that, but it's java 7. Does anybody have a clue as to how I could update the JDK on that instance? Yum doesn't seem to be
-
Anyone else having problems with Flash plugin 10.3.181.14 on FF4.01
Over the last 2-3 days I've had a problem with FF hanging when loading some sites. This problem disappears if I disable the Flash plugin.
-
Error while settling internal order KO88 / KO8G)
Hi Friends, We are in ECC5.0 I have an expense G/L account. Cost center and Business Area are mandatory to post in to this G/L account. I posted some transactions to this G/L account with Business Area, Cost center and Internal order values in the do