Accounts Payable & Banking test script
Hi Gurus,
Is there anyone able to assist me with accounts payable & banking test scripts - when I say banking, I'm referring to electronic and manual bank statements, EFTs , and cash journal.
Regards
Hi, please be specific. what exactly you need?
Similar Messages
-
Hi
iam doing first implementation Project. any one can provide asset account Test Scrips .
what is test scrip. plse provide sample test script . my client wants Fuctional test script.
plse provide
ThanksHi
[Maybe you should have tried this|http://www.lmgtfy.com/?q=sapfunctionaltest+scripts]
We are otherwise not allowed to pass links for documents here.
Rgds
Zub -
Importing internal table data from FM to eCATT test script
Hi all,
I am working on Workflow project where by i need to post invoices related to purchase orders sent as scanned imaages. Incase all the data in the incoming invoice(scanned) is correct then i am using BAPI_INCOMING_INVOICE_CREATE to post the invoice.
But when the data is wrong, i need to give the user MIRO transaction pre-populated with the invoice details so that he manually corrects them(after verification) and posts the invoice.
I understand MIRO is an ENJOY transaction hence BDC doesn't work properly(i have tried with all kinds of options on recording and the problem comes incase of multiple POs) hence i choose to use eCATT.
The recording worksfine but my real problem is the PO data (multiple PO details for same invoice) is in table form. In all my previous objects related to eCATT we used to upload the file, hence no problem of importing tables.
But now as i'll call this test script from a function module which has all the POs in the form of internal table, i need to import this into my test script.
Please any body tell me how to proceed in this case or please suggest me a better a way to record the MIRO.
Thank you,
Lakshmi Narayana.SHello Raj,
First of all thank you for your inputs.
Yes, I know about Parking an invoice. even i am using it in some scenarios.
If everything on the invoice matches with the values in SAP then i am posting it using BAPI invoice_create also.
But for some scenarios like if the PO on the invoice doesnot match with actual PO then i need to create a work item in the Accounts Payable user's inbox and he will change invoice data manually (after getting confirmation and correction) and post it using MIRO.
Here i need to pre-populate the MIRO with the invoice data so that he can correct and post it.
Hence i was trying to write a BDC and as MIRO is an Enjoy transaction i thought writing a BDC is not a good idea (i tried writing BDC but had problems) hence i am using eCATT.
Hope i am clear about my problem. Any inputs to solve this are welcome.
Thanks,
Lakshmi Narayana.S -
Test Scripts for financials modules
Hi,
I am looking for detailed test scripts covering all test scenarios for system testing in financials modules. I am interested in Purchasing, Payables, Cash Management, Projects and Fixed Assets. I also need for Receivables and Order Management.
Do some body have this please let me know. If there is any website or download place where I can get this. Please let me know.
I am looking for a test script to show the purpose and results clearly including the gl accounts involved and the results in debiting and crediting the accounts in various transactions while doing the test. For ex. when you validate a PO matched invoice in Payables which accounts get affected and how etc.
Thanks in advance
Regards,Pl do a search for "financials test scripts" in the forum search - this has been discussed and responded to many times before :-)
HTH
Srini -
Accounts Payable API Invoice Creation API
Hello All,
Is there any API available in R12 for creating Accounts Payable(AP) Invoices.
Thanx in Advance.
Regards,
Deepak Arora
+91-96500-28672Hi;
All APIs are listed in Oracle Integration Repository
http://irep.oracle.com/index.html
API User Notes - HTML Format [ID 236937.1]
R12.0.[3-4] : Oracle Install Base Api / Open Interface Setup Test [ID 427566.1]
Pelase also check below:
Api's in EBS
Re: Api's in EBS
http://sairamgoudmalla.blogspot.com/2009/05/script-to-find-oracle-apis-for-any.html
API
Fixed Asset API
List of API
Re: List of APIs
Oracle Common Application Components API Reference Guide
download.oracle.com/docs/cd/B25284_01/current/acrobat/jta115api.pdf
Regard
Helios -
Urgent need for AP and PO test scripts/scenarios and training user manuals
Hi There,
Can anyone send me test scripts/scenarios and training user manuals for AP and PO
Please send me the docs as soon as possible on [email protected]
I will really appreciate your help.
Regards
KushDear
this topics must be included in the testing scenario
1-Enter Supplier Data Enter information for a given supplier, including supplier sites/addresses
2-Create Invoice Batch: Enter information for Invoice Batch header
3-Create a Standard Invoice: Enter information for a standard invoice in an invoice batch
4-Invoice Distribution: Enter information details of a selected invoice
5-Schedule Payment Create Payment Schedule
6-Create a Credit Memo: Enter information to create a credit memo
7-Create Employee Exp:Enter information for an Employee Expense report
8:Validate an Invoice: Validate an Invoice
9-Account an Invoice: Create Accounting Entries for an Invoice
10-Create a Quick Check: Enter data to create a Quick Payment
11-Select Invoices for Payment:Enter data to create a preliminary list of invoices to pay, review the list, and do some changes.
12-Format and Print a Payment Batch: Perform tasks required to Format a payment batch
13-Confirm a Payment Batch:Perform tasks required to Confirm a payment batch
14-Transfer to General Ledger -
SRKIM: R12: Accounts Payable Trial Balance issue troubleshoot
Purpose
R12 에서 AP Trial Balance Report 확인 시 데이터가 비정상적일 경우 check 해야 하는 내용에 대해 확인 해 보도록 한다.
Question
R12 에서 invoice 생성 후 gl 로 transfer 하였으나 ap trial balance report 의 데이터가 비정상적인 것으로 확인 된다.
어떤 내용을 확인 해야 하는가.
Answer
1. APList Diagnostics Script 을 해당 invoice 에 대해 수행 하여 아래의 내용을 확인한다.
- Accounting 이 생성되어 gl로 모두 transfer 되었는지 여부.
- Accounting Date 가 Trial Balance Report 의 start date 와 as of date 안에 포함 되는지 여부
2.위의 내용에 문제가 없다면 아래 sql 로 데이터를 확인 해 보도록 한다.
select *
from xla_trial_balances
where source_entity_id in (
select entity_id
from xla.xla_transaction_entities xte
where application_id = 200
and (
(entity_code = 'AP_INVOICES' and source_id_int_1 in (&invoice_id))
OR
applied_to_entity_id in (
select entity_id
from xla.xla_transaction_entities xte
where application_id = 200
and (
(entity_code = 'AP_INVOICES' and source_id_int_1 in (&invoice_id))
3.GL 에 실제 해당 데이터가 존재 하는지 아래 sql 로 확인 해 보도록 한다.
SELECT distinct aeh.*
FROM gl_je_lines gjl, GL_IMPORT_REFERENCES gir, gl_je_headers gjh, GL_JE_BATCHES gjb, XLA_AE_LINES
ael,
XLA_AE_HEADERS aeh, XLA_EVENTS aea, xla.xla_transaction_entities xte
WHERE ael.gl_sl_link_id = gir.gl_sl_link_id
and gjh.je_batch_id= gjb.je_batch_id
and gjl.je_header_id = gjh.je_header_id
and gjl.je_header_id = gir.je_header_id
and gjl.je_line_num = gir.je_line_num
AND gir.gl_sl_link_table in ('XLAJEL')
and ael.gl_sl_link_table in ('XLAJEL')
AND aea.application_id = 200
AND aea.event_id = aeh.event_id
AND aeh.ae_header_id = ael.ae_header_id
AND gjb.je_batch_id = gir.je_batch_id
and xte.application_id = 200
and xte.entity_id = aea.entity_id
and gjh.je_header_id = gir.je_header_id
and gjh.je_source = 'Payables'
and (
(xte.entity_code = 'AP_PAYMENTS' and xte.source_id_int_1 = &check_id)
OR
(xte.entity_code = 'AP_INVOICES' and xte.source_id_int_1 = &invoice_id)
SELECT distinct gjl.*
FROM gl_je_lines gjl, GL_IMPORT_REFERENCES gir, gl_je_headers gjh, GL_JE_BATCHES gjb, XLA_AE_LINES
ael,
XLA_AE_HEADERS aeh, XLA_EVENTS aea, xla.xla_transaction_entities xte
WHERE ael.gl_sl_link_id = gir.gl_sl_link_id
and gjh.je_batch_id= gjb.je_batch_id
and gjl.je_header_id = gjh.je_header_id
and gjl.je_header_id = gir.je_header_id
and gjl.je_line_num = gir.je_line_num
AND gir.gl_sl_link_table in ('XLAJEL')
and ael.gl_sl_link_table in ('XLAJEL')
AND aea.application_id = 200
AND aea.event_id = aeh.event_id
AND aeh.ae_header_id = ael.ae_header_id
AND gjb.je_batch_id = gir.je_batch_id
and xte.application_id = 200
and xte.entity_id = aea.entity_id
and gjh.je_header_id = gir.je_header_id
and gjh.je_source = 'Payables'
and (
(xte.entity_code = 'AP_PAYMENTS' and xte.source_id_int_1 = &check_id)
OR
(xte.entity_code = 'AP_INVOICES' and xte.source_id_int_1 = &invoice_id)
4.위의 sql 을 통해 Trial Balance Table 의 데이타가 잘 못 생성 되었음이 확인 되면 해당 Trial balance table 의 데이타를 recreate 하는 작업을 수행 해야 한다.
Reference
Note. 553484.1 - THE R12 ACCOUNTS PAYABLE TRIAL BALANCE DATA IS
INCORRECT/WRONGFollow the below steps and Run the Trial Blance and let me know if it helps.
Thanks
Girish
How to Rebuild Trial Balance Data (repopulate XLA_TRIAL_BALANCES)
1. Navigate: Payables Responsibility > Setup > Accounting Setups > Subledger Accounting Setups > Open Account Balances Listing Definitions
2. Query up your Report Definition: select Defined By = Accounting Flexfield or Segment (whichever applies in your case), click “Go”
3. Click on Update icon in the "Actions" column – the definition's update page opens.
4. "Touch" the definition by simply clicking "Apply" button (without making any change).
This should start the “Open Account Balances Data Manager” concurrent processes -
Hi All
Cud any one provide sample code how to upload accounts payable master data?
thnx in advance,
Pavani.Hi
Account Payables means the amounts that are to be paid to vendor against the purchase we made
So here the master data menas the VENDOR, MATERIAL data
see the related BDC programs
REPORT zmm_mat_master_non_stock
NO STANDARD PAGE HEADING
LINE-SIZE 255.
Standard Include for Selection Screen
INCLUDE bdcrecx1.
Internal Table for Upload Data
DATA: BEGIN OF i_mat OCCURS 0,
mbrsh(001), " Industry Sector
mtart(004), " Material Type
Views
Organization Levels
werks(004), " Plant
Basic Data1 View
maktx(040), " Material Description
meins(003), " Unit of Measure
matkl(009), " Material Group
MTPOS_MARA(004), " Gen Item Category
Purchasing
ekgrp(003), " Purchasing Group
END OF i_mat.
Data Variables & Constants
CONSTANTS : c_x VALUE 'X'. " Flag
Parameters
PARAMETERS: p_file LIKE ibipparms-path. " Filename
At selection-screen on Value Request for file Name
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
Get the F4 Values for the File
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
IMPORTING
file_name = p_file.
Start of Selection
START-OF-SELECTION.
Open the BDC Session
PERFORM open_group.
Upload the File into internal Table
CALL FUNCTION 'UPLOAD'
EXPORTING
filename = p_file
filetype = 'DAT'
TABLES
data_tab = i_mat
EXCEPTIONS
conversion_error = 1
invalid_table_width = 2
invalid_type = 3
no_batch = 4
unknown_error = 5
gui_refuse_filetransfer = 6
OTHERS = 7.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Upload the Data from Internal Table
LOOP AT i_mat.
Basic Screen
PERFORM bdc_dynpro USING 'SAPLMGMM' '0060'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RMMG1-MATNR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'RMMG1-MBRSH'
'C'."i_mat-mbrsh.
PERFORM bdc_field USING 'RMMG1-MTART'
'NLAG'."i_mat-mtart.
Views Selection
PERFORM bdc_dynpro USING 'SAPLMGMM' '0070'.
PERFORM bdc_field USING 'BDC_CURSOR'
'MSICHTAUSW-DYTXT(08)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTR'.
PERFORM bdc_field USING 'MSICHTAUSW-KZSEL(01)'
c_x."i_mat-kzsel_01.
PERFORM bdc_field USING 'MSICHTAUSW-KZSEL(02)'
c_x."i_mat-kzsel_02.
PERFORM bdc_field USING 'MSICHTAUSW-KZSEL(08)'
c_x."i_mat-kzsel_08.
Organization Levels
PERFORM bdc_dynpro USING 'SAPLMGMM' '0080'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RMMG1-WERKS'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTR'.
PERFORM bdc_field USING 'RMMG1-WERKS'
'2000'."i_mat-werks.
Basic data1 View
PERFORM bdc_dynpro USING 'SAPLMGMM' '4004'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'MAKT-MAKTX'
i_mat-maktx.
PERFORM bdc_field USING 'BDC_CURSOR'
'MARA-MTPOS_MARA'.
PERFORM bdc_field USING 'MARA-MEINS'
'EA'."i_mat-meins.
PERFORM bdc_field USING 'MARA-MATKL'
i_mat-matkl.
PERFORM bdc_field USING 'MARA-MTPOS_MARA'
'NLAG'."i_mat-mtpos_mara.
Basic data2 View
PERFORM bdc_dynpro USING 'SAPLMGMM' '4004'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'BDC_CURSOR'
'MAKT-MAKTX'.
Purchasing View
PERFORM bdc_dynpro USING 'SAPLMGMM' '4000'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=BU'.
PERFORM bdc_field USING 'MARC-EKGRP'
i_mat-ekgrp.
Call The Transaction
PERFORM bdc_transaction USING 'MM01'.
ENDLOOP.
Close the BDC Session
PERFORM close_group.
REPORT zmm_vendor_master_upload
NO STANDARD PAGE HEADING
LINE-SIZE 255.
ABAP Name : ZMM_VENDOR_MASTER_UPLOAD
Description : This Program is used to Upload the Vendor Master.
Standard Include for Selection Screen
INCLUDE bdcrecx1.
Internal Table for Upload Data
DATA: BEGIN OF i_vendor OCCURS 0,
bukrs(004), " Company Code
ekorg(004), " Purchase Orgn
ktokk(004), " Account Group
Address Screen
anred(015), " Title
name1(035), " Name1
sortl(010), " Sort Field
name2(035), " Name2
name3(035), " Contact Person1
name4(035), " Contact Person 2
stras(035), " Street
pfach(010), " PO Box
ort01(035), " City
pstlz(010), " Postal Code
land1(003), " Country
spras(002), " Language
telf1(016), " Telephone No
telfx(031), " Fax Number
lfurl(132), " URL-Mail Id
Material Group Characteristics
klart(003), " Class Type '010'
class(018), " Class 'Vendor'
mname_01(030), " Characteristic
mname_02(030), " Characteristic
mname_03(030), " Characteristic
mwert_01(030), " Charct.Value
mwert_02(030), " Charct.Value
mwert_03(030), " Charct.Value
Control Data
emnfr(010), " Manufact.Part No
Bank Details
banks_01(003), " Country of Bank1
banks_02(003), " Country of Bank2
bankl_01(015), " Bank Key of 1
bankl_02(015), " Bank Key of 2
bankn_01(018), " Account No Bank1
bankn_02(018), " Account No Bank2
Accounting Info
akont(010), " Reconcillation Account
zuawa(003), " Sort Key
fdgrv(010), " Cash Management Group
Payment Transactions
zterm(004), " Payment terms
reprf(001), " Check Double Inv.
zwels(010), " Payment Method
hbkid(005), " House Bank
xpore(001), " Individ.Payment
Correspondence
mahns(001), " Dunning Level
xausz(001), " Account Statement
Withholding Tax Details
qland(003), " Withholding Tax Country
witht_01(002), " WH tax Type
wt_withcd(002), " WH Tax Code
wt_subjct(001), " Indicator:WH Tax
Purchasing Data
waers(005), " Currency
zterm1(004), " Payment Terms
END OF i_vendor.
Data Variables & Constants
CONSTANTS : c_x VALUE 'X'. " Flag
Paramters
PARAMETERS: p_file LIKE ibipparms-path. " Filename
At selection-screen on Value Request for file Name
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
Get the F4 Values for the File
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
IMPORTING
file_name = p_file.
Start of Selection
START-OF-SELECTION.
Open the BDC Session
PERFORM open_group.
Upload the File into internal Table
CALL FUNCTION 'UPLOAD'
EXPORTING
filename = p_file
filetype = 'DAT'
TABLES
data_tab = i_vendor
EXCEPTIONS
conversion_error = 1
invalid_table_width = 2
invalid_type = 3
no_batch = 4
unknown_error = 5
gui_refuse_filetransfer = 6
OTHERS = 7.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Upload the Data from Internal Table
LOOP AT i_vendor.
PERFORM bdc_dynpro USING 'SAPMF02K' '0100'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RF02K-KTOKK'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'RF02K-BUKRS'
i_vendor-bukrs.
PERFORM bdc_field USING 'RF02K-EKORG'
i_vendor-ekorg.
PERFORM bdc_field USING 'RF02K-KTOKK'
i_vendor-ktokk.
PERFORM bdc_dynpro USING 'SAPMF02K' '0110'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFA1-SPRAS'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=KLAS'.
PERFORM bdc_field USING 'LFA1-ANRED'
i_vendor-anred.
PERFORM bdc_field USING 'LFA1-NAME1'
i_vendor-name1.
PERFORM bdc_field USING 'LFA1-SORTL'
i_vendor-sortl.
PERFORM bdc_field USING 'LFA1-NAME2'
i_vendor-name2.
PERFORM bdc_field USING 'LFA1-NAME3'
i_vendor-name3.
PERFORM bdc_field USING 'LFA1-NAME4'
i_vendor-name4.
PERFORM bdc_field USING 'LFA1-STRAS'
i_vendor-stras.
PERFORM bdc_field USING 'LFA1-PFACH'
i_vendor-pfach.
PERFORM bdc_field USING 'LFA1-ORT01'
i_vendor-ort01.
PERFORM bdc_field USING 'LFA1-PSTLZ'
i_vendor-pstlz.
PERFORM bdc_field USING 'LFA1-LAND1'
i_vendor-land1.
PERFORM bdc_field USING 'LFA1-SPRAS'
i_vendor-spras.
PERFORM bdc_field USING 'LFA1-TELF1'
i_vendor-telf1.
PERFORM bdc_field USING 'LFA1-TELFX'
i_vendor-telfx.
PERFORM bdc_field USING 'LFA1-LFURL'
i_vendor-lfurl.
PERFORM bdc_dynpro USING 'SAPLCLCA' '0602'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RMCLF-KLART'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTE'.
PERFORM bdc_field USING 'RMCLF-KLART'
'010'. "i_vendor-klart.
PERFORM bdc_dynpro USING 'SAPLCLFM' '0500'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RMCLF-CLASS(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=AUSW'.
PERFORM bdc_field USING 'RMCLF-CLASS(01)'
'Vendor'."i_vendor-class.
PERFORM bdc_dynpro USING 'SAPLCTMS' '0109'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RCTMS-MWERT(03)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=BACK'.
PERFORM bdc_field USING 'RCTMS-MNAME(01)'
'MATERIALGROUP'." i_vendor-mname_01.
PERFORM bdc_field USING 'RCTMS-MNAME(02)'
'MATERIALGROUP'." i_vendor-mname_02.
PERFORM bdc_field USING 'RCTMS-MNAME(03)'
'MATERIALGROUP'." i_vendor-mname_03.
PERFORM bdc_field USING 'RCTMS-MWERT(01)'
i_vendor-mwert_01.
PERFORM bdc_field USING 'RCTMS-MWERT(02)'
i_vendor-mwert_02.
PERFORM bdc_field USING 'RCTMS-MWERT(03)'
i_vendor-mwert_03.
PERFORM bdc_dynpro USING 'SAPLCLFM' '0500'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RMCLF-CLASS(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENDE'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0110'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFA1-ANRED'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=VW'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0120'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFA1-EMNFR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=VW'.
PERFORM bdc_field USING 'LFA1-EMNFR'
i_vendor-emnfr.
PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFBK-BANKN(02)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=VW'.
PERFORM bdc_field USING 'LFBK-BANKS(01)'
i_vendor-banks_01.
PERFORM bdc_field USING 'LFBK-BANKS(02)'
i_vendor-banks_02.
PERFORM bdc_field USING 'LFBK-BANKL(01)'
i_vendor-bankl_01.
PERFORM bdc_field USING 'LFBK-BANKL(02)'
i_vendor-bankl_02.
PERFORM bdc_field USING 'LFBK-BANKN(01)'
i_vendor-bankn_01.
PERFORM bdc_field USING 'LFBK-BANKN(02)'
i_vendor-bankn_02.
PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFBK-BANKS(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=VW'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0210'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFB1-FDGRV'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=VW'.
PERFORM bdc_field USING 'LFB1-AKONT'
i_vendor-akont.
PERFORM bdc_field USING 'LFB1-ZUAWA'
i_vendor-zuawa.
PERFORM bdc_field USING 'LFB1-FDGRV'
i_vendor-fdgrv.
PERFORM bdc_dynpro USING 'SAPMF02K' '0215'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFB1-XPORE'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=VW'.
PERFORM bdc_field USING 'LFB1-ZTERM'
i_vendor-zterm.
PERFORM bdc_field USING 'LFB1-REPRF'
c_x. "i_vendor-reprf.
PERFORM bdc_field USING 'LFB1-ZWELS'
i_vendor-zwels.
PERFORM bdc_field USING 'LFB1-HBKID'
i_vendor-hbkid.
PERFORM bdc_field USING 'LFB1-XPORE'
c_x. "i_vendor-xpore.
PERFORM bdc_dynpro USING 'SAPMF02K' '0220'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFB5-MAHNS'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=VW'.
PERFORM bdc_field USING 'LFB5-MAHNS'
i_vendor-mahns.
PERFORM bdc_field USING 'LFB1-XAUSZ'
i_vendor-xausz.
PERFORM bdc_dynpro USING 'SAPMF02K' '0610'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=VW'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFBW-WT_SUBJCT(01)'.
PERFORM bdc_field USING 'LFB1-QLAND'
i_vendor-qland.
PERFORM bdc_field USING 'LFBW-WITHT(01)'
i_vendor-witht_01.
PERFORM bdc_field USING 'LFBW-WT_WITHCD(01)'
i_vendor-wt_withcd.
PERFORM bdc_field USING 'LFBW-WT_SUBJCT(01)'
c_x.
PERFORM bdc_dynpro USING 'SAPMF02K' '0310'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFM1-ZTERM'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=VW'.
PERFORM bdc_field USING 'LFM1-WAERS'
i_vendor-waers.
PERFORM bdc_field USING 'LFM1-ZTERM'
i_vendor-zterm1.
PERFORM bdc_dynpro USING 'SAPMF02K' '0320'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RF02K-LIFNR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=VW'.
PERFORM bdc_dynpro USING 'SAPLSPO1' '0300'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=YES'.
Call the Transaction
PERFORM bdc_transaction USING 'XK01'.
ENDLOOP.
Close the BDc Session
PERFORM close_group.
<b>Reward points for useful Answers</b>
Regards
Anji -
Coded UI test script works in VS2010 but not in VS2012.
I have a test script for an application that adds 3 part numbers (i.e., rows) to a table displayed on the AUT web page. Each row in the table also contains an
HTMLInputButton called View Audit Trail. The purpose of the test script is to select the correct button, which then calls up the
Audit Details page for the selected part number. The code used in the test script driver is as follows (the same code is used for clicking on either an action button or a hyperlink contained within a table):
case "ClickTableItem":
// Note: An input example would be
03-0024-0-0001:Button>View Audit Trail
string[] keys = action[key].Split(':');
string cellvalue = keys[0].CheckGlobalValue(global); // The key data identifying which table row.
string[] objtypeANDobj = keys[1].Split('>'); // Data consists of the Object Type, and the Object to be clicked.
// Identify the table... (The name of the table from outside the
Switch statement.)
HtmlTable actionTable = (HtmlTable)map.GetType().GetProperty(key.FieldName).GetValue(map, null);
// Identify the individual table cell containing the key identifier...
HtmlCell cell = new HtmlCell(actionTable);
cell.SearchProperties.Add("ClassName", "HtmlTableCell");
cell.SearchProperties.Add("InnerText", cellvalue, PropertyExpressionOperator.Contains);
UITestControlCollection tablecells = cell.FindMatchingControls();
// Set the row index...
HtmlCell myhtmlcell = (HtmlCell)tablecells[0];
int myrow = myhtmlcell.RowIndex;
string smyrow = myrow.ToString();
HtmlCell myCell = new HtmlCell(actionTable);
myCell.SearchProperties.Add("RowIndex", smyrow);
#region Click on Hyperlink
if (objtypeANDobj[0] == "Hyperlink")
myCell.SearchProperties.Add("FriendlyName", objtypeANDobj[1], PropertyExpressionOperator.Contains);
UITestControlCollection testclickobjects = myCell.FindMatchingControls();
UITestControl tableclickobject = testclickobjects[0];
HtmlHyperlink myClicklink = new HtmlHyperlink(tableclickobject);
Mouse.Click(myClicklink);
logger.Write(" Action", "Table Select - Row: '" + cellvalue + "': Hyperlink '" + objtypeANDobj[1] + "' selected");
#endregion
#region Click on Button
else if (objtypeANDobj[0] == "Button")
// Search child level...
UITestControlCollection testclickobjects = myCell.FindMatchingControls();
UITestControl tableclickobject = testclickobjects.Where(btnCell => btnCell.GetChildren().Any(btnChild => btnChild is HtmlInputButton && btnChild.FriendlyName == objtypeANDobj[1])).First();
HtmlInputButton myClickbtn = tableclickobject.GetChildren().Where(btnChild => btnChild is HtmlInputButton).First() as HtmlInputButton;
Mouse.Click(myClickbtn);
logger.Write(" Action", "Table Select - Row: '" + cellvalue + "': Action Button '" + objtypeANDobj[1] + "' selected");
#endregion
break;
In VS2010, the correct button is always selected, and the correct audit page always appears. In VS2012, though, the correct button is always selected, but the green progress bar speeds across the screen and the test crashes, even though the message
log records the correct action. (It crashes because it can't find the verification information that the correct page was displayed, seeing as the correct page doesn't appear.) If I manually re-open the application, the table containing the added
part numbers is still displayed, and I can click on the appropriate View Audit Trail button and go to the correct audit page.
What really has me stymied, though, is that the script actually passed twice. Both times, though, either VS, the test script, or the app itself hiccupped, and only added 2 of the 3 part numbers to the table. As always, the correct button was
selected, but in these two cases the audit screen actually appeared, so the rest of the test passed successfully.
I've tried removing one of the part numbers, but the script still failed despite once again selecting the correct button. The first thing I thought of was re-mapping the web page objects using VS2012, but it turned out that they have the same properties
as with VS2010. Unfortunately, it didn't help. I've also tried changing the following parameters:
HtmlInputButton to HtmlButton
<PropertyCondition Name="ControlType">Button</PropertyCondition> to
btn
<PropertyCondition Name="Type">button</PropertyCondition> to
submit
<PropertyCondition Name="Class">PageButton</PropertyCondition> to
Button or btn
The only other thing unique is that the AUT for the VS2010 test script uses a different login screen than the AUT for VS2012 (different URLs for the login screens). Other than that, though, once the login screens are passed, the web pages accessed
are identical (i.e., the same URL).
Has anyone else run into a similar situation?Hi Jack,
Here is the applicable part of the error log. Unfortunately, it doesn't explain why the Audit page doesn't appear when you click on the View Audit Trail button. It only fails because it can't find the Return To Search button (which makes sense,
because the page wasn't opened). As you can see, I stuck a 60-second Wait step (Step 14) to see if the page would eventually appear, but it didn't.
Processing Step 12:
Data Entry: Selected radio button 'ActionTypeRadioInquiry': 'ON'
Data Entry: Entered 'AircraftTailNumber': '0201'
Action: 'Search' selected
Processing Step 13:
Action: Table Select - Row: '03-0024-0-0001': Action Button 'View Audit Trail' selected
Processing Step 14:
Action: 'Wait': System test paused for 60 seconds...
Processing Step 15:
Logging Entry Type: Error
Logging Entry Type: FailureAudit
System.String: <string> *** FAILED Step 15 ACTION: 'ReturnToSearch' Error 'The playback failed to find the control with the given search properties. Additional Details:
TechnologyName: 'Web'
ControlType: 'Button'
TagName: 'INPUT'
Id: 'ctl00_ContentPlaceHolder1_btnReturnToResults'
Name: 'ctl00$ContentPlaceHolder1$btnReturnToResults'
Failed to find any control that matched the value ctl00_ContentPlaceHolder1_btnReturnToResults for the search property Id.'</string>
System.String: *** FAILED Step 15 ACTION: 'ReturnToSearch' Error 'The playback failed to find the control with the given search properties. Additional Details:
TechnologyName: 'Web'
ControlType: 'Button'
TagName: 'INPUT'
Id: 'ctl00_ContentPlaceHolder1_btnReturnToResults'
Name: 'ctl00$ContentPlaceHolder1$btnReturnToResults'
Failed to find any control that matched the value ctl00_ContentPlaceHolder1_btnReturnToResults for the search property Id.'
Logging Entry Type: Error
System.Exception: <Exception><HelpLink /><Source /></Exception>
System.Exception: System.Exception: Exception in Step #15 from the 'PerformAction' module... ---> Microsoft.VisualStudio.TestTools.UITest.Extension.PlaybackFailureException: Step 15 ACTION: 'ReturnToSearch' error 'The playback failed
to find the control with the given search properties. Additional Details:
TechnologyName: 'Web'
ControlType: 'Button'
TagName: 'INPUT'
Id: 'ctl00_ContentPlaceHolder1_btnReturnToResults'
Name: 'ctl00$ContentPlaceHolder1$btnReturnToResults'
Failed to find any control that matched the value ctl00_ContentPlaceHolder1_btnReturnToResults for the search property Id.'
at WS.Tests.DataEntryUtil.PerformAction(Dictionary`2 action, Object map, Dictionary`2 global, Int32 stepNumber, LoggingProvider logger) in c:\Source\QMOTestUtilities\WS\WS\Tests\WSAutomation\DataEntryUtil.cs:line 1964
at WS.Tests.WSTest.ScepTest() in c:\Source\QMOTestUtilities\WS\WS\Tests\WSAutomation\WSTest.cs:line 193
--- End of inner exception stack trace ---
Logging Entry Type: Error
System.Exception: <Exception><HelpLink /><Source /></Exception>
System.Exception: System.Exception: DataDriven Test Execution Exception Caught ---> System.Exception: Caught Exception in Step #15 from the 'PerformAction' module... ---> Microsoft.VisualStudio.TestTools.UITest.Extension.PlaybackFailureException:
Step 15 ACTION: 'ReturnToSearch' error 'The playback failed to find the control with the given search properties. Additional Details:
TechnologyName: 'Web'
ControlType: 'Button'
TagName: 'INPUT'
Id: 'ctl00_ContentPlaceHolder1_btnReturnToResults'
Name: 'ctl00$ContentPlaceHolder1$btnReturnToResults'
Failed to find any control that matched the value ctl00_ContentPlaceHolder1_btnReturnToResults for the search property Id.'
at WS.Tests.DataEntryUtil.PerformAction(Dictionary`2 action, Object map, Dictionary`2 global, Int32 stepNumber, LoggingProvider logger) in c:\Source\QMOTestUtilities\WS\WS\Tests\WSAutomation\DataEntryUtil.cs:line 1964
at WS.Tests.WSTest.ScepTest() in c:\Source\QMOTestUtilities\WS\WS\Tests\WSAutomation\WSTest.cs:line 193
--- End of inner exception stack trace ---
at WS.Tests.WSTest.ScepTest() in c:\Source\QMOTestUtilities\WS\WS\Tests\WSAutomation\WSTest.cs:line 213
--- End of inner exception stack trace ---
Test Script Status: FAILED 'Test_Click_Table_Item': Execution Time: 00:02:03.7293717
The calling page is given a specific key value (M&E Part Number) which identifies the table row containing the correct
View Audit Trail button to select. The key for this test is
03-0024-0-0001, indicating that the test is to select the
View Audit Trail button in the third row of the table.
Without fail, the correct button is selected. Selecting this action button is
supposed to call the appropriate Audit page.
While there have been several test runs where the correct audit page does get displayed, most of the test runs will
not display the page, even though a significant Wait period has been inserted to allow the application additional time to process the page request.
I tried to attach the screen shots of the two pages in question, but wasn't allowed to because apparently my account hasn't been verified. If I can upload them or email them somewhere else, let me know and I'll give it a shot. -
Bill of Exchange (Account Payable)
Hi Experts:
I was trying to configure Bill of Exchange - For both Account payable as well as account receivable. Account Receivable Succeed. But have some problem in BOE Account Payable.
Can any one tell me Step by Step Procedure to configure and use (User Manual) for it. (BOE Payable).
Please help. Thanks in Advance.
With Regards,
Devendra Singh ChauhanHI
Please find the below Config steps
1.Define Alternative Reconcil.Acct for Bills/Exch.Receivableu201D: in OBYN
2.Define Accounts for Bill of Exchange Transactions in OBYH
3.Define Bill of Exchange Tax Codes in below path
SPRO - > Financial Accounting (New) --> bank Accounting --> Business Transactions --> Bill of exchange transactions --> Post bill of exchange receivable --> Define Bill of Exchange Tax Codes
4.Prepare Bill of Exchange Charges Statementu201D in Below path
SPRO --> Financial Accounting (New) --> bank Accounting --> Business Transactions --> Bill of exchange transactions --> Post bill of exchange receivable --> Prepare Bill of Exchange Charges Statement
5.Define Correspondence Types in OB77
6.Assign Programs for Correspondence Types in OB78
7.Define Form Names for Correspondence Print in Below path
SPRO --> Financial Accounting (New) --> bank Accounting --> Business Transactions --> Bill of exchange transactions --> Post bill of exchange receivable --> Make and Check Settings for Correspondence --> Define Form Names for Correspondence Print
8.Define Sender Details for Correspondence Form in below path
SPRO --> --> Financial Accounting (New) --> bank Accounting --> Business Transactions --> Bill of exchange transactions --> Post bill of exchange receivable --> Make and Check Settings for Correspondence --> Define Sender Details for Correspondence Form
9.Configuration Design of u201CDefine Bank Subaccounts in OBYK
10. Define Bill of exchange types in F.39
11.Maintain House Bank Details in F.92
12.u201CDefine DME User IDs in OBBD
13.Define User-Specific Settings in below path
Financial Accounting (New) --> bank Accounting --> Business Transactions --> Bill of exchange transactions --> Present Bill of Exchange Receivable at Bank --> Define User-Specific Settings
14.u201CDefine Sender Details for Form for Bill of Exchange Presentationu201D in blow path
Financial Accounting (New) --> bank Accounting --> Business Transactions --> Bill of exchange transactions --> Present Bill of Exchange Receivable at Bank --> Define Sender Details for Form for Bill of Exchange Presentation
15.Define Bill of Exchange Payment Periodu201D in below path
SAP Customizing Implementation Guide --> Financial Accounting (New) --> bank Accounting --> Business Transactions --> Bill of exchange transactions --> Present Bill of Exchange Receivable at Bank --> Define Bill of Exchange Payment Period
16.Set Up Paying Company Codes for Payment Transactionsu201D in below path
SAP Customizing Implementation Guide --> Financial Accounting (New) --> Accounts Receivable and Accounts Payable > Business Transactions> Incoming Payments > Automatic Incoming Payments> Payment Method/Bank Selection for Payment Program-->Set Up Paying Company Codes for Payment Transactions
17.Set Up Paying Company Codes for Payment Transactionsu201D in below path
SAP Customizing Implementation Guide --> Financial Accounting (New) --> Accounts Receivable and Accounts Payable > Business Transactions> Incoming Payments > Automatic Incoming Payments> Payment Method/Bank Selection for Payment Program-->Set Up Paying Company Codes for Payment Transactions
18.Set Up Payment Methods per Country for Payment Transactions in below path
SAP Customizing Implementation Guide --> Financial Accounting (New) --> Accounts Receivable and Accounts Payable > Business Transactions> Incoming Payments > Automatic Incoming Payments> Payment Method/Bank Selection for Payment Program-->Set Up Payment Methods per Country for Payment Transactions
19.Set Up Payment Methods per Company Code for Payment Transactu201D in below path
SAP Customizing Implementation Guide --> Financial Accounting (New) --> Accounts Receivable and Accounts Payable > Business Transactions> Incoming Payments > Automatic Incoming Payments> Payment Method/Bank Selection for Payment Program--> Set Up Payment Methods per Company Code for Payment Transact
20.Set Up Bank Determination for Payment Transactionsu201D in below path
SAP Customizing Implementation Guide --> Financial Accounting (New) --> Accounts Receivable and Accounts Payable > Business Transactions> Incoming Payments > Automatic Incoming Payments> Payment Method/Bank Selection for Payment Program--> Set Up Bank Determination for Payment Transactions
Hope it will be helpful
Regards
CA.Prasad -
General procedure for accounts payable
Hi Gurus,
What is the general procedure for accounts payable.(path purchase order,stores dep like that whom to whom it will pass)
what are main differences between accounts payable and accounts receivable?
What are Special Gl items
What is Noted items
Thanks and Regards,
Saritha S> Hi Gurus,
>
> What is the general procedure for accounts
> payable.(path purchase order,stores dep like that
> whom to whom it will pass)
<b>I dont really understand what u mean by this- Accounts payable is resulting from procurement/ service cycle. U create a purchase order- receive the goods- make the invoice verification. This will result in accounts payable. When u create PO there is no accounting entries passed. When u receive goods it will pass the following entry:
Stock a/c Dr
Gr/IR ac/c Cr
when the invoice is recieved:
GR/IR Dr
Vendor Cr
When u are making payment
Vendor a/c Dr
Bank a/c Cr
This complete the purchase cycle.</b>
> what are main differences between accounts payable
> and accounts receivable?
<b>Accounts receivable is the mirror image of Accounts payable resulting from Sales and Distribution activity</b>> What are Special Gl items
<b>There is nothing like special GL items. It is called Special GL indicators. Whenever u are receiving down payment ( advance payment) they should be shown separately as per the accounting requirement. They are indicated in the AP or AP by way of special GL indicators.</b>> What is Noted items
<b>Noted items are statistical in nature. Like down payment request. When u want to amke down payment u will create down payment request based on that automoatic payment program will create payment.</b>
> Thanks and Regards,
> Saritha S -
Help needed in Accounts payable
Hi All,
Can anyone help me with how to configure Accounts payable. Pls give me step by step configuration of accounts payable.
Regards,
Murali.Hi Murali,
Accounts payable is part of FI configurations and i have listed out the steps from my knowledge ( hope FI Gurus will correct if i am wrong )and hope that this will help you.
I )Path : IMG>Financial Accounting /ARAP/Vendor A/cs/Master Records
1. Preparation for creation of vendor master records
- Define a/c groups [ OMSG ]
2. Define screen layout per co [vendors]
3. Define screen layout per activity [vendors]
4. Create no ranges for vendor a/cs. [ XDN1 ]
5. Assign no ranges to vendor a/c groups [ OMSJ ]
II ). Path : IMG/Financial Accounting /FA Global/Tax Sales& Purchases/Calculation
1. Define tax codes for sales/purchases : input tax
III ) Then you create Vendor
- Create vendor - FK01
IV ) Create invoice - FB60 create invoice
V) Outgoing Payment
1. T Code F-53 Post
2. T code F-58 Post & Print. (Print job is created. Access thru system/own
spool requests. for this requires house bank creation.
VI)T code FK10N to view balances.
This is the process A/P in FI point of view. If you have MM in place payment information will be flowing to FI from Logistic Invoice verification(LIV) to FI. Then in FI Automatic payment process will take place . And it is very imporatnt and necessary to setup Vendor reconcilation account for doing LIV.
Hope this is helpful
Thanks
Kiran
P.S Pls award points if the answer is helpful. -
Report on screen for Accounts payable for EFTPOS (similar to FCHN)
Hi all,
Is there a transaction code where accounts payable can generate a report which shows the listing of the all payments but only for the Bank Transfers (as known as EFT in Australia)?
Thank you in advance!!!
regardsHi all,
Is there a transaction code where accounts payable can generate a report which shows the listing of the all payments but only for the Bank Transfers (as known as EFT in Australia)?
Thank you in advance!!!
regards -
Can any one explain me what the test script contains for testing out transcation codes in controlling . can anyone provide me a sample of test script for testing transcations in controlling.
Thanks
MonicaHi,
Before the configuration settings / Reports are moved to Production it needs to be tested by Consultants as well as Business Users.
Business Users will specify their requirements during Blue Print phase - basically how the system should work. After completing the configuration, testing is done based on the requirements. For testing this Test scripts are prepared for different Business scenarios covering various Transaction codes. This sequence of testing different transaction codes is known as Test script.
For example for a Sales Cycle testing - a Sales Order is created - Delivery document is created - a Billing document is created. Accounting documents are checked whether it is posted to correct GL Accounts / Profit Centers etc. All these steps should be included in Test script.
Thanks
Murali. -
HI guru's,
Iam new to MM any one can send me MM Test Script SCript Scenarios.. I want to do Unit Testing and Integrating Testing.....plz send me docuemnts to this id....janab4u(at the rate of )gmail
regards
JKhi,
It depends upon the business process.
Example : you are checking a P.O for GRN
Test Script:
1) Go to MIGO
2) enter the P.O no:
3) enter the details.
4) Check ,it green button is appearing.
5) post the document.
Enter the Results: PASS and enter the Document
If you observing any error like for eg G/l account is not maintained
Result : FAIL
do the correct action and test again
G.Ganesh Kumar
Maybe you are looking for
-
My BT shows an old account - and can't see "My Ext...
Hi community members. I have just returned to BT after previously having using them for telephone until Oct 2012. I had a separate broadband provider. Now I have gone back to BT and ordered Infinity. As a first step, my phone account was changed over
-
a couple months ago i could easily burn playlists from itunes. but now, the burn is cancelled every time. i even tried getting a different brand of cd's, but its not helping. here are the diagnostics: Microsoft Windows XP Professional Service Pack 2
-
.m4a Not Importing Correctly
For some reason when I import some .m4a files, they do not appear in my libary. Some albums will import while others will not. files with .mp3 import correctly, this is only a problem with .m4a files Any ideas? Most of my music is stored as .m4a Than
-
Is there an accessory cable to record calls?
I work for a newspaper and sometimes record telephone interviews. It's helpful if I get to a crucial place in my notes that I can't read because I was writing too fast. It happens. My deskphone has a little wire coming out the back with a 1/8 inch mo
-
Batch conversion of CR2 to JPG
I am trying to automate a batch conversion of CR2 files to jpg files in Photoshop CS4. I have converted them to dng. When I open them in CS4, it opens the Canon photo editor, but will not record the actions. Is there another way to automate this?