How can i pull the payment transactions for each invoice?
Hi folks
iam developing report for following requirement.
want to disply the vendor transaction file for all company codes Fiscal year,of 2004,2005,2006, and 2007 (to date).
The purpose of oureport is to analyze our company invoices and investigate potential overpayment opportunities. In order to effectively accomplish this, we need a single invoice record for each invoice that was received by compnay from their vendors. The single invoice record would contain at least the following columns: Vendor Number, Vendor Invoice Number, Invoice Date, Invoice Amount, SAP Document Number, Check/Wire Number, Check/Wire Date, Check/Wire Amount. SAP would have multiple rows in a table for any one invoice, whereas we would only want to see ONE row for every vendor invoice.
if you know that company pays (for example) 75,000 invoices/year - then the transaction file you would have about 300,000 records in it. 75,000 Invoices * 4 years.
inodrer to develop this report iam using table PAYR -payee
BSIK ( closed items) BSAK ( open items).
my question is any one tell me how can write logic to pull the payment transactions for each invoice?
regards
neeru
Hi rob,
yes you are right, an invovice may contaion duplicate records
example PAYR table contain
invice no compnay code checkno vendor fisclyear
( doc.number)
2000134373 001 10287200 2007
2000134373 001 10427890 2007
so as per my requirement how can i write the logic.
regards
neeru
Similar Messages
-
Hi folks
iam developing report for following requirement.
want to disply the vendor transaction file for all company codes Fiscal year,of 2004,2005,2006, and 2007 (to date).
The purpose of oureport is to analyze our company invoices and investigate potential overpayment opportunities. In order to effectively accomplish this, we need a single invoice record for each invoice that was received by compnay from their vendors. The single invoice record would contain at least the following columns: Vendor Number, Vendor Invoice Number, Invoice Date, Invoice Amount, SAP Document Number, Check/Wire Number, Check/Wire Date, Check/Wire Amount. SAP would have multiple rows in a table for any one invoice, whereas we would only want to see ONE row for every vendor invoice.
if you know that company pays (for example) 75,000 invoices/year - then the transaction file you would have about 300,000 records in it. 75,000 Invoices * 4 years.
inodrer to develop this report iam using table PAYR -payee
BSIK ( closed items) BSAK ( open items).
my question is any one tell me how can i pull the payment transactions for each invoice?
regards
neerutry to use function module GET_CHECK_INFORMATION
hope that helps
Andreas -
HI Experts,
Pls. clarify that, How can I pull the BUKRS (company code) value, for a X_USER (sy-uname) as input?
ThanQ.Check with USRM1 Table
give user name (Uname ) and you get company code (BUKRS)
also check with other tables : USRM* in SE11
Thanks
Seshu -
How can i find the exact BADI For a Particular Transaction
hi ppl,
How can i find the exact BADI For a Particular Transaction. Is there any Standard transaction or Programs to do this or suggest some other way.Use this code:
*& Report ZGET_BADI
REPORT ZGET_BADI.
TABLES : TSTC,
TADIR,
MODSAPT,
MODACT,
TRDIR,
TFDIR,
ENLFDIR,
SXS_ATTRT ,
TSTCT.
DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
DATA : FIELD1(30).
DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
PARAMETERS : P_TCODE LIKE TSTC-TCODE,
P_PGMNA LIKE TSTC-PGMNA .
DATA wa_tadir type tadir.
START-OF-SELECTION.
IF NOT P_TCODE IS INITIAL.
SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
ELSEIF NOT P_PGMNA IS INITIAL.
TSTC-PGMNA = P_PGMNA.
ENDIF.
IF SY-SUBRC EQ 0.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'PROG'
AND OBJ_NAME = TSTC-PGMNA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
IF SY-SUBRC NE 0.
SELECT SINGLE * FROM TRDIR
WHERE NAME = TSTC-PGMNA.
IF TRDIR-SUBC EQ 'F'.
SELECT SINGLE * FROM TFDIR
WHERE PNAME = TSTC-PGMNA.
SELECT SINGLE * FROM ENLFDIR
WHERE FUNCNAME = TFDIR-FUNCNAME.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'FUGR'
AND OBJ_NAME EQ ENLFDIR-AREA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
ENDIF.
ENDIF.
SELECT * FROM TADIR INTO TABLE JTAB
WHERE PGMID = 'R3TR'
AND OBJECT in ('SMOD', 'SXSD')
AND DEVCLASS = V_DEVCLASS.
SELECT SINGLE * FROM TSTCT
WHERE SPRSL EQ SY-LANGU
AND TCODE EQ P_TCODE.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) P_TCODE,
45(50) TSTCT-TTEXT.
SKIP.
IF NOT JTAB[] IS INITIAL.
WRITE:/(105) SY-ULINE.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
*Sorting the internal Table
sort jtab by OBJECT.
data : wf_txt(60) type c,
wf_smod type i ,
wf_badi type i ,
wf_object2(30) type C.
clear : wf_smod, wf_badi , wf_object2.
*Get the total SMOD.
LOOP AT JTAB into wa_tadir.
at first.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 'Enhancement/ Business Add-in',
41 SY-VLINE ,
42 'Description',
105 SY-VLINE.
WRITE:/(105) SY-ULINE.
endat.
clear wf_txt.
at new object.
if wa_tadir-object = 'SMOD'.
wf_object2 = 'Enhancement' .
elseif wa_tadir-object = 'SXSD'.
wf_object2 = ' Business Add-in'.
endif.
FORMAT COLOR COL_GROUP INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 wf_object2,
105 SY-VLINE.
endat.
case wa_tadir-object.
when 'SMOD'.
wf_smod = wf_smod + 1.
SELECT SINGLE MODTEXT into wf_txt
FROM MODSAPT
WHERE SPRSL = SY-LANGU
AND NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
when 'SXSD'.
*For BADis
wf_badi = wf_badi + 1 .
select single TEXT into wf_txt
from SXS_ATTRT
where sprsl = sy-langu
and EXIT_NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED ON.
endcase.
WRITE:/1 SY-VLINE,
2 wa_tadir-OBJ_NAME hotspot on,
41 SY-VLINE ,
42 wf_txt,
105 SY-VLINE.
AT END OF object.
write : /(105) sy-ULINE.
ENDAT.
ENDLOOP.
WRITE:/(105) SY-ULINE.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No.of Exits:' , wf_smod.
WRITE:/ 'No.of BADis:' , wf_badi.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'No userexits or BADis exist'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'Transaction does not exist'.
ENDIF.
AT LINE-SELECTION.
data : wf_object type tadir-object.
clear wf_object.
GET CURSOR FIELD FIELD1.
CHECK FIELD1(8) EQ 'WA_TADIR'.
read table jtab with key obj_name = sy-lisel+1(20).
move jtab-object to wf_object.
case wf_object.
when 'SMOD'.
SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
when 'SXSD'.
SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
endcase.
Regards
Vinayak -
How can i identifiy the BAPI Name for particular transaction.?
Hi friends ,
In data upload by BAPI How can i identifiy the BAPI Name for particular transaction.?
For example ME21 How can i identifiy the BAPI Name?
arunhi,
check the link:
ME21 tcode for Purchase Order creation so u can make use of BAPI f4 help i.e. ex-BAPIpo
for list of all bapis
http://www.planetsap.com/LIST_ALL_BAPIs.htm
BAPI-step by step
http://www.sapgenie.com/abap/bapi/example.htm -
How can we receive the Payment?
Hello,
How can we receive the payment with the help of profit center?
Is Sales & Distribution mandatory for the revenue posting?
ThanksHello,
In general, revenue entries are being initiated from SD module.
Are you booking some revenue on your project. If so, what is the transaction code you are using?
In SAP revenue is treated as credit and will be shown with minus.
When there is a billing,
Customer A/c Dr
To Sales Account
You will observe a credit sign against sales account.
Please clarify more.
Regards,
Ravi -
How can we maintain multiple payment terms for a customer
how can we maintain multiple payment terms for a customer?
Hi,
You can leave the Payment terms field in the sales area data tab blank. and you can enter the payment terms at line item level while creating the sales order. By that you will achieve multiple payment terms for the same customer in the same sales order. but the invoice will be split by standard SAP based on the payment terms.
Also difference between the "Payment Terms" field in Company code tab and the sales Area tab is.
Company code tab payment terms are used only for the documents that are posted directly in FI module. for example credit and debit memos posted directly in FI and as a leading practice this should always be "payable Immidiately"
Sales area Tab payment terms are the one which are copied on to the sales order header data which are valid for all the line items unless you specifically mention different payment terms at line item level.
Regards,
Shantanu -
How can I define the possible entries for "invoicing process" at fkkinv_ma?
At the transaction code fkkinv_ma, I fill in the fields "Date ID" and "Identification" but I have a problem with the field of "Invoicing Process". When I psh theF4 button, there comes no search help. What should I do? Should I define the possible entries first? If I should, how can I define the possible entries for "invoicing process"? How is the customization done?
Thanks in advance for the answers.You have to define them in the IMG
Financial Accounting (new)
Contract Account Recievable and Payable
Business Transactions
Invoicing
Invoice Types
You have to set up a number range, decide what type of Financial transactions should not be invoiced -- like Dunning Charges
then you have to have a developer create the form and form class of invoice. -
How can we change the valuation type for a material created.
How can we change the valuation type for a material created.
Note : All open orders are closed for this material.3
Please guideHi,
You can change valuation class, or you can set valuation category for your material master. If valuation category is set you can extend your material master and in this way creating records for different valuation types.
Please try to set the desired changes in your mmr (MM02) > save > SAP will give you error message > push 'Display error' button and you will see what conditions must be eliminated to carry out the change.
- you are not allowed to have open transactional data
- no stock in the current and previous period (using proper posting date in MB1A + 201 you can reduce your stock level to 0, and after that you can set it back by MB1A + 202)
- in case of valuation category setting batch archiving may be necessary
BR
Csaba -
How can i set the alternating colors for a table rows
Dear All,
Please any one help me how can i set the Alternating colors for Table Rows.
i created a theam there i set the background alternating color to brown and i set the table design properity to alternating. but it is not reflecting.Hi,
The design property in Table properties should work for your requirement. Select "alternating" value for design.
Please see the API below:
design
Determines the appearance of the table. The property design can take the following values and is represented by enumeration type WDTableDesign.
alternating - The table rows are displayed alternately in a different color.
standard - The table background has one color. The individual table rows are displayed with grid net lines.
transparent - The table background is transparent. The individual table rows are displayed without grid net lines.
Check whether you have changed the right property or not? Also table should contain more than one rows to test this scenario.
Regards,
Jaya.
Edited by: VJR on Jun 17, 2009 6:43 PM -
How can I get the elapse time for execution of a Query for a session
Hi ,
How can I get the elapse time for execution of a Query for a session?
Example - I have a report based on the procedure ,when the user execute that it takes say 3 min. to return rows.
Is there any possible way to capture this session info. for this particular execution of query along with it's execution elapse time?
Thanks in advance.Hi
You can use the dbms_utility.get_time tool (gives binary_integer type value).
1/ Initialize you time and date of beginning :
v_beginTime := dbms_utility.get_time ;
2/ Run you procedure...
3/ Get end-time with :
v_endTime := dbms_utility.get_time ;
4/ Thus, calculate elapsed time by difference :
v_elapsTime := v_endTime - v_beginTime ;
This will give you time elapsed in of 100th of seconds...
Then you can format you result to give correct print time.
Hope it will help you.
AL -
Whenever I update my iPhone software, it asks me to sign in to iCloud with an old email address. My other devices all have the correct address. How can I get the correct address for my iPhone? The only Apple ID that works for logging in is my new one.
To change the iCloud ID you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iPhone (if you're using iOS 7), then sign back in with the ID you wish to use. If you don't know the password for your old ID, or if it isn't accepted, go to https//appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID. Tap edit next to the primary email account, tap Edit, change it back to your old email address and save the change. Then edit the name of the account to change it back to your old email address. You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud). Next, go back to https//appleid.apple.com and change your primary email address and iCloud ID name back to the way it was. Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.
-
How can I activate the transfer rules for the ODS updating a data target.
We are on BW 3.5 and I'm loading data into the 0FIGL_O10 ODS and then uploading the data into the cube 0FIGL_C10. The data loads just fine to the ODS but when I try to <u><b>'update the data target'</b></u> I get a date & time stamp' error on the info-package transfer rules.
I then Replicate the datasource 80FIGL_O01.
I must then <u><b>'activate' the transfer rules</b></u>.
However I cannot get the transfer rules for 80FIGL_O10 in CHANGE MODE to activate them.
How can I activate the transfer rules for the ODS updating a data target.
The error text is as follows:
DataSource 80FIGL_O10 has to be replicated (time stamp, see long text)
Message no. R3016
Diagnosis
DataSource 80FIGL_O10 does not have the same status as the source system in the Business Information Warehouse.
The time stamp in the source system is 02/15/2007 10:42:33.
The time stamp in the BW system is 11/07/2006 13:11:54.
System response
The load process has been terminated.
<b>Procedure
Copy the DataSource again and then activate the transfer rules that belong to it. You have to activate the transfer rules in every case, even if they are still active after the DataSource has been copied.</b>
Thanks for your assistance.
DennyHi Dennis,
Try, using Business Content to activate your data source
hope this will help you
How activate business content?
http://help.sap.com/saphelp_nw04/helpdata/en/80/1a66d5e07211d2acb80000e829fbfe/frameset.htm -
How can I find the serial number for my creative suite CS6 I bought it from a store.
How can I find the serial number for my creative suite CS6 I bought it from a store.
https://www.adobe.com/account.html for serial numbers or subscriptions on your Adobe page... or
Lost serial # http://helpx.adobe.com/x-productkb/global/find-serial-number.html -
How can I find the serial number for my stolen iPad that's associated with my apple ID ?
How can I find the serial number for my stolen iPad that's associated with my apple ID ?
If you registered it with Apple check your registered items at Your Support Profile for Registered Purchases. Also, see iOS- How to find the serial number, IMEI, MEID, CDN, and ICCID number.
What To Do If Your iDevice Is Lost Or Stolen
If you activated Find My Phone before it was lost or stolen, you can track it only if Wi-Fi is enabled on the device. What you cannot do is track your device using a serial number or other identifying number. You cannot expect Apple or anyone else to find your device for you. You cannot recover your loss unless you insure your device for such loss. It is not covered by your warranty.
If your iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should have done in advance - before you lost it or it was stolen - and some things to do after the fact. Here are some suggestions:
This link, Re: Help! I misplaced / lost my iPhone 5 today morning in delta Chelsea hotel downtown an I am not able to track it. Please help!, has some good advice regarding your options when your iDevice is lost or stolen.
1. Reporting a lost or stolen Apple product
2. Find my lost iPod Touch
3. AT&T. Sprint, and Verizon can block stolen phones/tablets
4. What-To-Do-When-Iphone-Is-Stolen
5. What to do if your iOS device is lost or stolen
6. 6 Ways to Track and Recover Your Lost/Stolen iPhone
7. Find My iPhone
8. Report Stolen iPad | Stolen Lost Found Online
It pays to be proactive by following the advice on using Find My Phone before you lose your device:
1. Find My iPhone
2. Setup your iDevice on iCloud
3. OS X Lion/Mountain Lion- About Find My Mac
4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)
Maybe you are looking for
-
My iPod Touch was working fine yesterday and there is no heat or water damage. Then, it died, like it normally does after it's used for a long period of time. So, I went to charge it in a wall outlet (like usual) and the battery symbol with the light
-
Acrobat Reader 9 cannot open pdf attachement to email
My os is xp. After installing Reader 9, I cannot open pdf attahement to incoming email. The error message is "the file does not have a program associated with it", even though I have already associated pdf with Reader 9 in Folder Option. If I save th
-
How do i get my airplay to work
I'm trying to get my airplay to work from my ipod to my itunes on my mac desktop. Can't seem to get it but I've never really used it before so I'm trying to get it to load. any help would be great
-
How can I get the Lync Meeting URL programmatically in C#?
Currently I am running an ASP.NET web application and my web page needs to provide a button to get the Lync Meeting URL just like the Outlook does: Please see the screenshot here: Lync Meeting Address in Outlook The behavior of this button is when it
-
I can do everything but send texts
I only got it yesterday and until about 3 hours ago, all was fine. Now I can't send texts. I can do everything else; use the internet, email, receive texts. But I can't send them. I don't know what to do!