F110-Executing the Payment program for a number of company codes
We are executing the payment program (transaction F110) for a number of different company codes. On the PARAMETERS tab, we have to type in the company codes every time we do a payment run. Is there some way to store the parameters tab in a variant so that we can just go get the variant each day instead of typing in the company codes??
Hi Bonnie,
in Parameters tab, on the top u have a button (copy parameters (F9)) press that key and give your previous Identification/date, then it will automatically, copies the Company code, Payment Method, Next run date, and Customer and vendors. just change the next rundate. and save
form next time onwords when u select copy parameters the, it will automatically praposes previously used identifier. that means, pressing F9 then enter will finish ur work.
Satish
Assign points if useful.
Similar Messages
-
BW Upgrade "Execute the conversion programs for the product master "
Hi BW Gurus,
We are in the process of upgrading BW 3.5 to BW 7.0. We did not get any conversion error in BW Dev but in BWQ we got error in one of ABAP program. The error message in log is :-
"Value '######' of characteristic 0TIME is not a number with 000006 spaces"
and job pertaining to the program is canceled in SM37.
My question is, are we suppose to run any conversion program before or after the upgrade?
Warm Regards,
AnilHi Chandu,
I am also looking for the same if u have fond a bapi for any other program please forward the information.
Thanks & Regards,
Basheer -
How to generate checks when executing Automatic Payment Program (F110)
Is it possible to generate checks automatically when I execute the automatic payment program? Will reward points to any suggestion. Thanks!
hi patrick
try this.....ur problem may solve.....
Create Automatic Payment Transactions (F110)
Purpose
Use this procedure to generate checks proposals or ACH proposals and then subsequently issue checks or set up ACH files to be transmitted to the bank.
Trigger
Perform this procedure when through either an ACH or a check, a creditor of the University needs to be paid.
Prerequisites
Open invoices with reached due dates have to be present in the SAP system.
Menu Path
Use the following menu path to begin this transaction:
· Select Accounting Financial Accounting Accounts Payable Periodic processing Payments to go to the Automatic Payment Transactions: Status screen.
Transaction Code
F110
Business Process Information
The automatic payment process will be centrally managed in the Accounts Payable Office. The automatic payment program will be executed each day for all open invoices (across vendors) in the system. There will be separate payment run execution corresponding to each payment method category:
Check payments: clears the open invoices and issues a check output
ACH payments: clears the open invoices and issues an ACH file output
Foreign currency payments: clears open invoices but no output is issued
State/Grant payments: clears open invoices but no output is issued
The process steps executed during the automatic payment program are:
Enter Payment Parameters
Edit/review Payment Proposal
Post Payments
Generate Payment Medium (print checks or create ACH payment file)
Generate Positive Payment File
The payment parameters are entered in order to limit the open invoices and credits selected for payment. It is important to note that the payment terms that are defined on the invoice will drive whether a invoice is due for payment during the current payment run. During the payment program execution, the invoices that are due for payment will be presented to the user on a payment proposal list.
The payment proposal is a list of expected payments grouped by vendor account. Invoices that are due for payment but cannot be paid due to some kind of accounting or system error are listed as exceptions. Examples of typical exceptions are missing banking information (for ACH payments) and blocked invoices. Some payment exceptions will be resolved at the Accounts Payable Office. However the Department must resolve some exceptions. When these types of exceptions appear on the payment proposals, the Accounts Payable Office will inform the Department of the blocked payment in order to get a resolution. Key personnel in the Accounts Payable Office will be the only resources to have access to the editing function of the payment proposal processing. Typically, there is no business reason the edit or change a payment proposal. Editing options for a payment proposal includes: changing the default disbursing bank account information or changing the payment method.
After the payment proposals have been reviewed and edited, the proposals are posted as payments. It is important to note that any open credit on the vendor's account is also taken in consideration when creating the vendor's payment. The payment method supplement defined on the invoice will drive the check sorting.
In addition to the printed check output, the payment program run produces an ACH file and a Positive Pay file. Both files are sent to the bank for further processing. The ACH file contains the vendor's payment and banking data. The Positive Pay file contains the check data (check processed, voided, etc) and is used for confirmation of payments.
Helpful Hints
· The R/O/C column in the field description tables below defines whether the field is required (R), optional (O), or conditional (C).
· On certain screens you may have to scroll to view some data entry fields.
· Click the tab to view the current overall status of the payment process by viewing the informational messages.
Procedure
1. Start the transaction using the menu path or transaction code.
Automatic Payment Transactions: Status
2. As required, complete the following fields:
· Run date
· Identification
3. Click the tab.
The payment program parameters are used to limit the program's selection of open invoices and credits.
Automatic Payment Transactions: Parameters
4. As required, complete/review the following fields:
· Posting date
· Docs entered up to
· Company codes
· Pmt meths
· Next p/date
· Vendor
5. Click the tab.
Free selection criteria are extended parameter selection criteria used to limit the open invoices and credits selected in the payment run.
Automatic Payment Transactions: Free Selection
6. Perform any of the following:
If You Want To
Then
Select data by a particular field value; use the match code on the Field Name field to obtain the required field
Enter the required field value to be considered in the payment program selection of open items. The field value is entered in the Values field
Payment selection can be based on fields on the invoice or credit memo document or fields on the vendor master.
Example: A (AP payment block)
Exclude the open items that match your field value
Select to the left of Exclude values.
Include only those open items that match your field value
Deselect to the left of Exclude values.
7. Click the tab.
This information is used to expand the information that is automatically recorded in the payment run log. The payment run log is used to diagnose any program errors during the payment run.
Automatic Payment Transactions: Additional Log
8. Perform the following:
If You Want the Payment Program Log to Record
Then
Information on due date check
Select to the left of Due date check.
Activate this option.
Any payment method selection data
Select to the left of Payment method selection in all cases.
Activate this option.
Line item information the payment documents generated upon posting the payment proposal
Select to the left of Line items of the payment documents.
Activate this option.
9. As required, complete/review the following fields:
· Vendors (from)
· Vendors (to)
Enter the same vendor account number range for Accounts required section of the transaction.
10. Click the tab.
The specifications defined in this section of the transaction inform the payment program the correct form to use for check printing and the correct payment file format to use for ACH payments.
Automatic Payment Transactions: Printout and DME
11. As required, complete the following fields:
· RFFOAVIS
· RFFOUS_C
12. Click the tab.
Exit editing
13. Click to save the data.
If you want to delete the payment program parameters entered, select Edit Parameters Delete.
Automatic Payment Transactions: Status (2)
The system displays the message, "Details have been saved for the run on XX/XX/XX XXXX."
14. Click .
If you want to refresh the screen in order to view the current status (processing step) of the payment program click at any time.
Schedule Proposal
15. Perform one of the following:
If You Want To
Then
Execute the payment program (i.e. process the payment parameters entered and create a payment proposal) immediately
Select to the left of Start immediately.
Activate this option.
Designate a target computer
Enter the name in the Target computer field.
16. Click to process the payment parameters and create a payment proposal.
While the payment program is selecting and processing data, the status will display the message, "Proposal is running." When the payment proposal has completed and is ready for review/edit, the system will display the message, "Payment proposal has been created."
Automatic Payment Transactions: Status (3)
The system displays the message, "Proposal run has been scheduled."
17. Click .
Automatic Payment Transactions: Status (4)
The system updates the status, "Payment proposal has been created."
18. Perform one of the following:
If You Want To
Then
Go To
Execute the payment run
Click .
Step 19
Edit the payment proposal
Click .
Step 43
Display the payment proposal
Click .
Step 54
Display the payment proposal run log
Click .
Step 57
Delete the proposal
Select Edit Proposal Delete.
Step 60
Display the proposal list in a printer friendly format
Select Edit Proposal Proposal List....
Step 62
Display only the exception (error) invoices or credits
Select Edit Proposal Exception List....
Step 67
Exit this transaction
Step 72
Schedule Payment
19. Perform the following:
If You Want To
Then
Execute the payment program (i.e. process the payment parameters entered and create a payment proposal) immediately
Select to the left of Start immediately.
Activate this option.
Designate a target computer
Enter the name in the Target computer field.
20. Click to process the payment proposal and post the payment documents.
While the payment program is selecting and processing data, the status will display 'Payment is running'. When the payment proposal posted the status will display 'Payment run has been carried out. Posting orders X generated, X completed. (X will represent the total number of checks produced).
Automatic Payment Transactions: Status (5)
The system displays the message, "Payment run has been scheduled."
21. Click .
Automatic Payment Transactions: Status (6)
The system updates the status, "Payment run has been carried out." If you click after seeing the status update, "Payment run has been carried out", the system will display an update to the status, "Posting orders: XXXX generated, XXXX completed."
22. Perform one of the following:
If You Want To
Then
Go To
Review the payments posted
Click .
Step 23
Display the payment proposal
Click .
Step 26
Display the payment proposal run log
Click .
Step 29
Display the payment list in a printer friendly format
Select Edit Payments Payment List.
Step 32
Display only the exception (error) invoices or credits
Select Edit Payments Exception List.
Step 36
Print the payment run information
Click .
Step 40
Exit this transaction
Step 72
Job Log Entries for F110-XXXX-XXXX / XXXX
23. Review the displayed information.
24. Click .
25. Return to Step 22.
Display Payment Proposal: Payments
26. Review the displayed information.
27. Click .
28. Return to Step 22.
Job Log Entries for F110-XXXX-XXXX-X / XXXX (2)
29. Review the displayed information.
30. Click .
31. Return to Step 22.
List Variant
32. Click .
Payment list
33. Review the displayed information.
34. Click .
35. Return to Step 22.
List Variant (2)
36. Click .
Payment list (2)
37. Review the displayed information.
38. Click .
39. Return to Step 22.
Schedule Print
40. As required, complete/review the following fields:
· Start date
· Start immediately
· Start time
· Target computer
· Job name
41. Click .
42. Return to Step 22.
Accounting clerk
43. Click .
Edit Payment Proposal: Payments
44. Review the displayed information.
45. Perform one of the following:
If You Want To
Then
Go To
Continue with the payment process
Click .
Step 18
Review/edit invoice information for the payment (invoice numbers, discounts, payment amounts, etc).
1. Click on the line you want to select.
2. Click .
Step 46
Change the key payment information (payment method, house bank, payee name and address, etc.)
1. Click on the line you want to select.
2. Click .
This option does not work for lines that have exceptions.
Step 51
Edit Payment Proposal: Open Items
46. Double-click on the line you want to choose.
Change Line Items
47. As required, complete/review the following fields:
· Payment block
· Discount amount
· Cash discount %
48. Click .
49. Click .
50. Return to Step 45.
Change Payment
51. As required, complete/review the following fields:
· Payment method
· Pmt meth.supl.
· Due date
52. Click .
53. Return to Step 45.
Display Payment Proposal: Payments
54. Review the displayed information.
55. Click .
56. Return to Step 18.
Job Log Entries for F110-XXXX-XXXX-X / XXXX (3)
57. Review the displayed information.
58. Click .
59. Return to Step 18.
Delete proposal
60. Click .
Automatic Payment Transactions: Status (7)
The system displays the message, "Data and log deleted."
61. Go to Step 72.
List Variant (3)
62. As required, complete the following field:
· Variant
63. Click .
Payment list (3)
64. Review the displayed information.
65. Click .
66. Return to Step 18.
List Variant (4)
67. As required, complete the following field:
· Variant
68. Click .
Payment list (4)
69. Review the displayed information.
70. Click .
71. Return to Step 18.
72. Click until you return to the SAP Easy Access screen.
73. You have completed this transaction.
Result
You have executed a payment proposal, executed and posted a payment run and printed checks.
reward me points.......dont forget -
Payment program for foreign vendors
Hi Experts,
Can some body shed light on this..
Can we run the payment program for foreign vendors in their currency.. if soo what r the settings needed.Pls send in this mail iD ([email protected])
thanks in advance,
R.ManigandanHi,
Yes we can run the payment program for foreign vendors in their currency.
In FBZP double click on Pment Methods in Country
Select your country and double click on Currencies allowed
You can specify the foreign currency here. SAVE and Back
Double click on Pment Methods in Company Code
Double click on the company code
and Tick all the three check boxes for foreign payments and foreign currency payments. SAVE
This is the required config apart from the general configuration.
Hope it helps
Regards
Jyostna -
Reasons for not creating a DME file in the payment program (F110)?
Hi,
I am using the payment program F110 for customer payments.
A payment run was carried out:
Parameters have been entered. Payment proposal has been created. Payment run has been carried out. Posting orders: 17 generated, 17 completed.
However, the DME file was not created.
What could be the reason?
Thank you.
Kind regards,
LindaSolved.
Someone has changed the variant of the payment program.
The DME file name had disappeared. -
I didn't receive any news about the replacement program for the Ipod 1st generation. I have already sent the serial number online, but didn't have any progress. What should I do? Thank you
After you set up your service use your repair ID to track your replacement here:
https://selfsolve.apple.com/repairstatus/main.do
Remember: You will receive a replacement unit approximately 6 weeks after Apple gets your current iPod nano
Hope this helps.
-Julian -
Error While executing the Standard Program RSEINB00
Hi,
I am trying to execute the Standard Program RSEINB00.
The input parameters for this program are
1. File path along with name
2. Port.
File path I am giving the application server directory along with the filename.
For port. i have created a port in WE21.
For both outbound parametes I selected the Physical directory and gave directory name and file name in both tabs and saved the port definition.
Now I am passing the port to the RSEINB00 program.
it is giving an error File cannot be opened.
Can any one help me on this. Can someone guide me how to use RSEINB00 to read file from application server.
thanksHi,
I think,you missed out some steps while creating Port.so please follow the below steps to resolve the issue.
we21->click on your port number->outbound file tab->function module: EDI_PATH_CREATE_MESTYP_DOCNUM.
outbound file: give file name .txt.
and give the physical directory : /usr/sap/.......................................txt and save.
and click on 'ACESS TEST' button and check any error is coming.
go to outbound trigger tab-> give RFC destination name which we have created under a port in SM59.
and one more important thing is check your unicode status is active or not.
.Please get back me .if any issues.
Kiran J -
Automatic payment program for customer
Hello!
I have the next issue: I want to pay physically (give money from bank) to somebody (a commission). In the system, this person is defined as customer. Can I use the automatic payment program for a customer(as it is in SAP system) and send the payment to MultiCash in order the money can go out from my account?(I want to really pay somebody defined as a customer and use the APP and Multicash)
Thank you!Yes, as long you have an open item on the customer account that needs paying.
In F110 you see vendor_and_customer in the parameter screen.
Hth
Hein -
Automatic Payment program for Bank bills and Bill of Exchange.
Helllo Sapients,
I need to configure Automatic Payment Program for Bank bills and Bill of Exchange. This configuration is for Europe, where Bank bills are very common.
Can someone advise me or send me the configuration steps for the same.
Thank you
NamanYes, as long you have an open item on the customer account that needs paying.
In F110 you see vendor_and_customer in the parameter screen.
Hth
Hein -
Slow Perforamnce while executing the customizing program
HI All
My Prd server hardware are consist of 2 itanium processor, 8gb ram and 20gb pagefile with the 500 GB SAN Storage for the datadisk.
I have almost 250 users on my PRD server over the 8 branches with the WAN connectivity. I have been set the 15 wp, 4 update process, 4 background process, 1 spool and UP2. Also, my profile parameter are paste down.
Always, i have slow perforamnce issue with the following setting, my hardware are enough to handle these requese as we did sizing in the begining of the project and have been monitoring my hardware by the st06 and st03n workload performance
Is there anyone expert to analyze my problem and parameter and share his expereince to add or modify the below parameter which will boom the performance.
System: DBSERVER1_PRD_02 Profile Parameters for SAP Buffers
Date and Time: 13.10.2007 11:49:53
Buffer Name Comment
Profile Parameter Value Unit Comment
Program buffer PXA
abap/buffersize 400000 kB Size of program buffer
abap/pxa shared Program buffer mode
|
CUA buffer CUA
rsdb/cua/buffersize 10000 kB Size of CUA buffer
The number of max. buffered CUA objects is always: size / (2 kB)
|
Screen buffer PRES
zcsa/presentation_buffer_area 20000768 Byte Size of screen buffer
sap/bufdir_entries 10000 Max. number of buffered screens
|
Generic key table buffer TABL
zcsa/table_buffer_area 100000768 Byte Size of generic key table buffer
zcsa/db_max_buftab 10000 Max. number of buffered objects
|
Single record table buffer TABLP
rtbb/buffer_length 60000 kB Size of single record table buffer
rtbb/max_tables 500 Max. number of buffered tables
|
Export/import buffer EIBUF
rsdb/obj/buffersize 40000 kB Size of export/import buffer
rsdb/obj/max_objects 20000 Max. number of objects in the buffer
rsdb/obj/large_object_size 8192 Bytes Estimation for the size of the largest object
rsdb/obj/mutex_n 0 Number of mutexes in Export/Import buffer
|
OTR buffer OTR
rsdb/otr/buffersize_kb 4096 kB Size of OTR buffer
rsdb/otr/max_objects 2000 Max. number of objects in the buffer
rsdb/otr/mutex_n 0 Number of mutexes in OTR buffer
|
Exp/Imp SHM buffer ESM
rsdb/esm/buffersize_kb 4096 kB Size of exp/imp SHM buffer
rsdb/esm/max_objects 2000 Max. number of objects in the buffer
rsdb/esm/large_object_size 8192 Bytes Estimation for the size of the largest object
rsdb/esm/mutex_n 0 Number of mutexes in Exp/Imp SHM buffer
|
Table definition buffer TTAB
rsdb/ntab/entrycount 29989 Max. number of table definitions buffered
The size of the TTAB is nearly 100 bytes * rsdb/ntab/entrycount
|
Field description buffer FTAB
rsdb/ntab/ftabsize 60004 kB Size of field description buffer
rsdb/ntab/entrycount 29989 Max. number / 2 of table descriptions buffered
FTAB needs about 700 bytes per used entry
|
Initial record buffer IRBD
rsdb/ntab/irbdsize 8000 kB Size of initial record buffer
rsdb/ntab/entrycount 29989 Max. number / 2 of initial records buffered
IRBD needs about 300 bytes per used entry
|
Short nametab (NTAB) SNTAB
rsdb/ntab/sntabsize 3000 kB Size of short nametab
rsdb/ntab/entrycount 29989 Max. number / 2 of entries buffered
SNTAB needs about 150 bytes per used entry
|
Calendar buffer CALE
zcsa/calendar_area 500000 Byte Size of calendar buffer
zcsa/calendar_ids 200 Max. number of directory entries
|
Roll, extended and heap memory EXTM
ztta/roll_area 3000320 Byte Roll area per workprocess (total)
ztta/roll_first 1024 Byte First amount of roll area used in a dialog WP
ztta/short_area 4000000 Byte Short area per workprocess
rdisp/ROLL_SHM 32768 8 kB Part of roll file in shared memory
rdisp/PG_SHM 16384 8 kB Part of paging file in shared memory
rdisp/PG_LOCAL 150 8 kB Paging buffer per workprocess
em/initial_size_MB 5600 MB Initial size of extended memory
em/blocksize_KB 4096 kB Size of one extended memory block
em/address_space_MB 4096 MB Address space reserved for ext. mem. (NT only)
ztta/roll_extension 2000000000 Byte Max. extended mem. per session (external mode)
abap/heap_area_dia 2000000000 Byte Max. heap memory for dialog workprocesses
abap/heap_area_nondia 0 Byte Max. heap memory for non-dialog workprocesses
abap/heap_area_total 5872025600 Byte Max. usable heap memory
abap/heaplimit 40000000 Byte Workprocess restart limit of heap memory
abap/use_paging 1 Paging for flat tables used (1) or not (0)
|
Statistic parameters
rsdb/staton 1 Statistic turned on (1) or off (0)
rsdb/stattime 0 Times for statistic turned on (1) or off (0)
REgards
Anwer WaseemHi
Thanks to all of you sharing your experience.
I have been noticed that whenever our users are executing the cuztomized program via t-code or calling from sub-programs then the following counters values are increasing which are as follows:-
1) # Steps ( number of dialague steps )
2) O Time (Average response time / dialague step (ms))
3) O CPU~ (Average CPU time (ms) )
4) T DB Time (Total DB Time (s) )
5) O DB Time (Average DB Time per dialague steps (ms) )
Also, i am pasting the search result of abap program which is reading the data from the specfic table without the index which are as follows:-
1) READ TABLE I_TVKBZ WITH KEY VKBUR = MUGRP.
2) READ TABLE I_TVKBZ WITH KEY VKBUR = MUGRP.
3) read table I_VBPA with key vbeln = i_final1-vbeln
posnr = i_final1-posnr
parvw = 'VE' .
4) read table I_VBPA with key vbeln = i_final1-vbeln
posnr = i_final1-posnr
parvw = 'WE' .
5) READ TABLE i_ship with key kunnr = I_VBPA-kunnr.
6) READ TABLE I_FINAL INDEX RS_SELFIELD-TABINDEX.
7) READ TABLE S_VKBUR INDEX 1.
Please advise us .
REgards
Anwer Waseem
SAP BASIS -
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
neeruHi 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 -
Automatic payment program for USD
HI,
Can any one share the steps to configure automatic payment program for USD currency.
I have done APP for advance pyment/ clearing invoice/Terms of payment.in INR ... but wanted to know how to make the payment to customers
what would be the scenario where we make the payments to customer.
Regards,
kamalHi,
First you have to define House Bank for USD payment and assign sub bank account id for House bank,
2. The Payment method which you are using for USD payment should tick as foreign currency allowed in payment method in company code.
3. In 'Bank Determination' button Please assign Ranking Order to payment method currency and house bank as per your organization's requirement.
4. On Bank AccountsType in your House bank name and House bank Account id and G/L account for Bank sub-account
5. On Available Amounts provide details as required as per house bank and account id.
It will solve your problems.
Regards
Pawan Gupta -
How to clear the down payment against the vendor invoice in the payment program?
A down payment is made $25 Later an invoice is posted for $100 Now i want to Pay $75 to Vendor But the Automatic payment program is not clearing the down payment against the vendor invoice. Could you please help how to clear the down payment against the vendor invoice in the payment program?
Swathi,
Need your help i have a strange situation
1) F-48 and document posted with document no = 15..... in company code = L002 with payment block getting populated automatically
2) F-48 and document posted with document no= 15..... in company code = Us11 without payment block and the screen does not even show payment block, I had to check this from BSEG table
My question is
a) How and where does this payment block is triggered through configured and how to process next steps.
b) when I use F-48, how do we do the actual payment, is there a check printing and linking it to the KZ document or is check printing done outside the system and the KZ document type does not have any linkage.
c) If I do FB60 for a higher amount how do we pay partial amount.
Your response is appreciated. -
What is the bdc program for vendor master?
what is the bdc program for vendor master?
Hi,
Find the code here.
And do create your text file data in the order of itab structure.
{report ZBDC_XK01
no standard page heading line-size 255.
data: bdcdata like bdcdata occurs 0 with header line.
data: begin of itab occurs 0,
lifnr like lfa1-lifnr,
bukrs like RF02K-bukrs,
ekorg like RF02K-ekorg,
ktokk like RF02K-ktokk,
anred like lfa1-anred,
name1 like lfa1-name1,
sortl like lfa1-sortl,
land1 like lfa1-land1,
spras like lfa1-spras,
waers like lfm1-waers,
end of itab.
selection-screen begin of block blk1 with frame.
parameters: p_file like rlgrap-filename OBLIGATORY.
selection-screen end of block blk1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
perform f4_help_p_file.
start-of-selection.
perform get_data.
perform upload.
END-OF-SELECTION.
*& Form f4_help_p_file
text
--> p1 text
<-- p2 text
form f4_help_p_file .
data: v_file like p_file.
CALL FUNCTION 'F4_FILENAME'
IMPORTING
file_name = v_file.
CHECK sy-subrc EQ 0.
p_file = v_file.
endform. " f4_help_p_file
*& Form get_data
text
--> p1 text
<-- p2 text
form get_data .
data: s_file type string.
s_file = p_file.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = s_file
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = 'D'
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
IMPORTING
FILELENGTH =
HEADER =
tables
data_tab = itab
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
stop.
ENDIF.
endform. " get_data
*& Form upload
text
--> p1 text
<-- p2 text
form upload .
loop at itab.
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-LIFNR' itab-lifnr.
perform bdc_field using 'RF02K-BUKRS' '0001'.
perform bdc_field using 'RF02K-EKORG' '1000'.
perform bdc_field using 'RF02K-KTOKK' '0001'.
perform bdc_dynpro using 'SAPMF02K' '0110'.
perform bdc_field using 'BDC_CURSOR'
'LFA1-SPRAS'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'LFA1-ANRED' itab-anred.
perform bdc_field using 'LFA1-NAME1' itab-name1.
perform bdc_field using 'LFA1-SORTL' itab-sortl.
perform bdc_field using 'LFA1-LAND1' itab-land1.
perform bdc_field using 'LFA1-SPRAS' itab-spras.
perform bdc_dynpro using 'SAPMF02K' '0120'.
perform bdc_field using 'BDC_CURSOR'
'LFA1-KUNNR'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPMF02K' '0130'.
perform bdc_field using 'BDC_CURSOR'
'LFBK-BANKS(01)'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_dynpro using 'SAPMF02K' '0210'.
perform bdc_field using 'BDC_CURSOR'
'LFB1-AKONT'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPMF02K' '0215'.
perform bdc_field using 'BDC_CURSOR'
'LFB1-ZTERM'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPMF02K' '0220'.
perform bdc_field using 'BDC_CURSOR'
'LFB5-MAHNA'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPMF02K' '0310'.
perform bdc_field using 'BDC_CURSOR'
'LFM1-WAERS'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'LFM1-WAERS' itab-waers.
perform bdc_dynpro using 'SAPMF02K' '0320'.
perform bdc_field using 'BDC_CURSOR'
'RF02K-LIFNR'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_dynpro using 'SAPLSPO1' '0300'.
perform bdc_field using 'BDC_OKCODE'
'=YES'.
call transaction 'XK01' using bdcdata mode 'A'.
refresh bdcdata.
clear itab.
endloop.
endform. " upload
*& Form bdc_dynpro
text
-->P_0126 text
-->P_0127 text
form bdc_dynpro using program dynpro.
clear bdcdata.
bdcdata-program = program.
bdcdata-dynpro = dynpro.
bdcdata-dynbegin = 'X'.
append bdcdata.
endform. " bdc_dynpro
*& Form bdc_field
text
-->P_0316 text
-->P_0317 text
form bdc_field using fnam fval.
clear bdcdata.
bdcdata-fnam = fnam.
bdcdata-fval = fval.
append bdcdata.
endform. " bdc_field}
Reward points if you find it helpful
Thanks,
Prasanna -
Where can we find the standard program for scripts and smartform for vl02
where can we find the standard program for scripts and smartform for vl02
regard,
anilIf it is a standard Script Output see that all config in NACE tcode was done correctly and in the Application document the output type was properly defined and attached to a medium, partner and all communication related things like printer name, when to print the output and number of messages etc are entered in the document
the go to the related application Tcode
(for sales order goto VA02 or VA03)
(delivery -VL02N or VL03N)
for Invoice VF02 or VF03
for PO -goto ME9F
enter doc number, Issue Output to -> screen/printer
then see the output
step 1 : copy the z layout into testing client thru SCC1.
step2 : go to se71 and check modified layout.
step3 : if it is under logistics.. go to TCODE "NACE".
u will see various applictions for each business process.
there u have configure ur related layout according to requirments,
for example u consider for Request fo Quatation..
there is APPLICATION called "EA"
click and enter into it. configure it with ur requirments, for help consult with ur functonal consaltant, and save it.
step 4 : goto tcode ME9A for requst for quatation(RFQ).
step 5 : enter test data avalable and check it with message display.
it is same for other applications like Contract agreament --> ME9k
invoice --> vl02n
and goes on..
Reward points for useful Answers
Maybe you are looking for
-
I need to supress the printing of a blank page if the total for an AR Statement is 0 or null.
I have an issue where the XML file for the R03B5001 AR Statement is outputting records with Header information, (name and address), but the total due for the statement is 0. I have been able to suppress the printing of the header, and detail in my t
-
Help with creating a poster presentation?
Hi, I'm a little embarrassed to ask this question, but I need help getting started with using InDesign to create a scientific poster. This is really pathetic, I know, but the last time I used an Adobe product to make a poster was quite a few years a
-
OEM IOException in sending Request :: Connection refused
Hi, When I want to connect to OEM, I recieve an "java.lang.Exception: IOException in sending Request :: Connection refused". In emdb.nohup there is "----- Fri Apr 25 12:11:57 2008::The agentTZRegion value in /oracle/10.2.0/SUNAPART_ARTED08/sysman/con
-
I downloaded IOS6 to my iphone 3GS last night and now have lost all my photos and videos, I backed up to Icloud the other night, but when I log onto Icloud there are no photos there ? Help ? Can I get them back ? thanks
-
Why has my iPad screen stopped rotating? I have tried by using the mute button to unlock. It says it is unlocked. But it won't rotate.