Change Document - Block Invoice for Payment - BAPI
Hello All,
I have the requirement to block an invoice for payment through the Portal.
In FB02 transaction, we can select an item and set the "Payment Block" indicator to B (blocked) for instance.
I would like to know if exists a BAPI that allows this update. If not, if exists a function module for that (then we could create our own BAPI).
Thanks in advance,
Marco
Hi Marco
The BAPI never sets a payment block indicator by itself. It doesn't do so even when you have a payment release workflow
activated where FB01 would automatically set the indicator.
For BAPI calls you must always pass the payment block indicator in ACCOUNTPAYABLE-PMNT_BLOCK or code a user exit as described in note 487722 to populate the indicator automatically.
In the normal FI posting transaction code, for example:FB01, system will read the customziing in Tcode OBB8 ->if Block key is defined and the flag of Transfer payment block when changing terms of payment is on, the system will set the this payment block into corresponding line items in which this payment term is used. please refer to source codes:
Main Program SAPFF001
Source code of SAPFF001
CALL FUNCTION 'FI_FIND_PAYMENT_CONDITIONS'
EXPORTING
i_zterm = bseg-zterm
i_bldat = bkpf-bldat
i_budat = bkpf-budat
i_cpudt = bkpf-cpudt
i_zfbdt = bseg-zfbdt
i_funcl = t020-funcl "ERP05
IMPORTING
e_t052 = t052 <<<<< import customizing in T052(Tcode:OBB8)
e_zfbdt = bseg-zfbdt
e_sklin = sklin1
EXCEPTIONS
terms_incorrect = 4
terms_not_found = 8
no_date_entered = 12
no_day_limit_found = 16.
CASE sy-subrc.
WHEN 0.
WHEN 4.
MESSAGE e737 WITH bseg-zterm.
WHEN 8.
MESSAGE e100 WITH 'T052' bseg-zterm.
WHEN 12.
MESSAGE.
WHEN 16.
MESSAGE e024 WITH bseg-zterm bseg-zfbdt+6(2).
ENDCASE.
*------- Zahlungsschlüssel und Zahlungssperre vorschlagen -
bseg-zlspr = t052-zschf. <<<<<<<< payment block is set
bseg-zlsch = t052-zlsch.
ENDIF.
Hope above explanation are useful for you to find the solution.
Best Regards,
Gladys xing
Similar Messages
-
QM in procurement: block invoice for payment if certificate not received
Hi,
I want to know if it possible to automatically block an invoice for payment if certificate in procurement hasn't been received.
I don't want to block the material, that is: I want to receive the material, transfer it in unrestricted stock but I shouldn't pay the invoice until its correspondant certificate is received.
Is it possible?
How should I proceed?
Thanks in advance.
Luis.Try user exit MIRO
LMR1M001 User exits in Logistics Invoice Verification
MRMN0001 Message output and creation: Logistics Invoice Verifica -
Block invoices for PO with no GR-based IV flag
Hello SAP experts,
I need your help with finding a way to block invoices for PO with no GR-based IV flag. At our company, we treat service POs almost the same as material POs (to avoid receipt of service entry). The only difference from material PO is that service PO does not have the flag for GR. We customized our EBP to have this done.
Now, accounting wants to automatically block all invoices associate with service POs. In this case it would be a PO with no GR. I tried LIV configuration but it is only for price, quantity and etc. I also tried blocking with IR before GR but it didn't work because there is no GR.
Is there a way to achive automatic invoice block in this case?
Appreciate your help.
-AT-Hi Annie,
if the configuration doesn't help you enough, you would have to add some custom logic after the invoice has been created.
Technically speaking, I believe there exists a business add-in (BAdI) where you could enter a piece of code which would after the invoice creation check the GR and block it if appropriate. Another implementation option would be a mini-workflow - there you would have a step which checks the GR existence and blocks the invoice.
Hope this helps, I suggest talking to your local abap consultant for more details,
-Mikko -
Dear All
I have requirement in that i need to create blocked invoices for SRM PO's . I have created a PO in SRM portal . Now the invoice need to be done at R3 side but i am not aware how i can create a invoice for the SRM PO's .
Any one help me on this .
Regards
Sunanda
Edited by: SMABAP on Dec 31, 2008 7:36 AMHi,
please check whether your PO has sent to R/3 system or not . if it is there in R/3 then please create a PO with MIRO transaction.....
Before creating the invoice please check whether vendor has GR based invoice vertification or not...
if you are not able to do then ask your FI team to do this....
Thanks
Ravi -
To view who has released vendor invoice for payment.
hi team,
we have a PO for GR based IV. we received invoice for more qty and was accepted. when i simulate in quality, system is working fine. but the client is saying that system is not blocking the invoice. but i feel that system blocked it but it is getting released. where can I see that who has released this blocked invoice.
thank you, satishHi
enter the document no in FB03 enter
go to thef ourth ICON (Header ) Tea cup shape press that
you can see under which login the document got posted you can get all the details
Regards
Ganesh -
AP: Report or t-code to view blocked invoices by Payment R
Hello SAP Guru's,
Is there a report or other transactions other than MRBR or MR02 to view blocked invoices with an R Payment Block? I am trying to identify why or what tolerance key the invoice went on hold.
I don't want the ability to release the block, just to view.
Thank you!Dear
Please check the thread Payment block "R" in accouting document of AP.
Regards -
How to avoid cancellation of invoice for payment recevied
Short Description:
Cancellation of Invoice raised on customer after receipt of Payment from him
Description:
There is an Invoice dated 22.10.2008. We have received the payment for this Invoice vide document number posting date 06.12.2008. So the Invoice has been cleared. Now the Invoice has been wrongly reversed / cancelled vide Invoice No. dated 11.08.2010.
Is there any check that we can put so that the system does not reverse the Invoice for which payment has been received. Is there any standard check for the same.
Please guide
Thanks.Yes SAP has given a standard routine to meet this requirement.
Go to VTFL, select your delivery type and billing type and execute. There you can see a field "Copying Requirements". Maintain routine 29 here and save. Also, go to VOFA, select your billing type and assign this routine to the same field.
Now try to cancel a billing document which has its status as "Cleared".
thanks
G. Lakshmipathi -
Query-blocked Invoices for Quality per mat with the total quantity in QI
Hello,
We need to create a query for blocked Invoices in Quality summarized per materialcode together with the total quantity in Quality Inspection blocked stock.
As starting point I've used the table RBKP_BLOCKED and linked it with RSEG from which I'm checking the quality block.
From which table should I retrieve the qty in QI blocked stock?
Thanks,
Andrei Jsince ur report is depending on LIV's on block due to quality inspection is pending, better take the quantity from MKPF passing document number (GR number) and year of the document.
Taking stock from MARD table will result is total mis match since this table holds stock position of plant and storage lcoation.
Thanks & regards
AHP -
SAPScript form an rogram for "Invoice for Payment"
Hi Friends,
Please tell me the Program Name and SAPScript form name for following condition -
<b>
Customer service receives the order from the customer and place the order (document "Invoce for payment"). </b>
Thanks & Regards
KishorIf you want to change the standard script format, then you have copy program and form. And attach the same in config.
Form : ZF110_PRENUM_CHCK
Program : ZRFFOUS_C
Regds
Manohar -
Block Invoice for the difference in Qnty between GR and Invoice
Dear Experts,
I am trying to configure a scenario wherein Invoice must be blocked if there is difference in the quantity between the GR(MIGO) and Invoice(MIRO).
I expect to see the the msg "C Blocked for Payment" when I check the same Invoice in MIR4.
Please suggest the configurations involved.
ManishHi ,
Please explore the possibility of using the settings of attributes of system messages in LIV .
SPRO - Materials management - logistics invoice verification - attirbutes of systeme message - application area M8 .
Here you can make the settings for showing the message as an error .
Make the necessary settings as per the requirement .
Regards ,
Dewang T, -
Problem when change bank clearing account for payment posting.
We recently changed the bank clearing account for payment posting (program PC00_M99_PPM). But I found out because the config can only be changed but not delimited on payroll side, the program errored out when it retro back for an employee to the old clearing account. So what am I supposed to do to fix this problem?
Have anyone ever handled this problem before and could please throw some light on it?
Thanks in advance.
Johnsonhi
check following
1. Check in OMWD, whether Valuation grouping code "0001" ia ssigned to Ur plant
2. OBYC - If you have assigned GR/IR Clearing A/c to WRX then check whether you have maintained it with combination of valuation class and GL A/c
If yes then maintain only GL A/c w/o valuation class OR maintain one entry with valuation class empty and GL A/c
check following
Error in service entry sheet
Re: Error in ML81N
http://sap.ittoolbox.com/groups/technical-functional/sap-acct/grir-clearing-account-wrx-doesnt-recover-gl-account-2224137?cv=expanded
http://sap.ittoolbox.com/groups/technical-functional/sap-log-ps/problem-while-posting-service-entrysheet-in-ecc-60-version-1483547?cv=expanded#
regards
kunal -
F-47 park and post option OR F110 block option for payment requests
HI experts,
current business scenario:
F-47 payment request by AP users
F110 payment run (including payment requests) by manager
so between F-47 & F110 system doesnt trigger for payment approvals
Business requirement:
After F-47 system should trigger workflow to concerned manager for approval
OR
At F110 (payment run) system should proceed after approvals if payment requests includes in the run
Limitation:
Business doesnt use F-48 ( post down payment) because check is processed by Bank
Pls suggest workflow after F-47 or at F110 which wil intimate the concerned manager
and stops &/ block the concerned payment till approval.
regards
Edited by: melgibson on Jan 16, 2012 8:30 AMHi,
Now i got your point. your requirement can be achived using a ABAP development.
1) Create a Z table to store down payment requests (with all fields, those you use in F-47) and this table needs to be maintained via a Ztcode. (ZF-47). As soon as the user enter the DP request data in Ztcode, system should trigger the WORKFLOW and will send these requests to the manager's SAP Inbox. So once the manager approves few of them, those requests only will be processed by a Zprogram, which will create SAP standard DP requests using F-47 in background.
Note: Please make sure that, your Ztable should have one special field called STATUS, which will be depending on manager's approval. If the manager rejects it, then status should be automatically updated to the Ztable.
2) anyhow bank will automatically creates DP for all F-47 requests, which were pre approved above.
This logic should work and fits to your requirement.
Cheers,
Srinu -
Unable to change document through FI_DOCUMENT_CHANGE for second item line
Hi All,
I am unable to change document through FM FI_DOCUMENT_CHANGE for second line item (buzei 002).
I want to change assignment field(ZUNOR) for second item line.( Please be noted that bseg-koart for this document is maintained as 'S' (G/L account).
Please give some inputs on the same,it will be grate for me.
Rgds,
RaghavFirst some tests, try to change the value with transacions FB02 or FB09, if you cannot that may come from the Field Status Group associated with the account and posting keys.
- FS03 to find Field Status Group of the account
- SPRO then Financial Accounting, General Ledger Accounting, Business Transactions, Carry Out and Check Document Settings, Maintain Field Status Variants to find Field Status Group definition (or SM34 on view cluster V_T004V)
Regards,
Raymond -
How to get the Change Document Header details for a given date
Hi All,
Can anyone help me on this Change Document Header details(CDHDR).
Better way to pull the information of Change Document Header details(CDHDR). No Index is maintained for the tables.
So please suggest better Optimising techniques to get the Change Document Header details(CDHDR).
Using this Function module : CHANGEDOCUMENT_READ_HEADERS how to import the DATE_OF_CHANGE.
Thanks in advance
Regards
ChakriHI,
Go through the documenattion of the FM u can get the details.. and also where used list
Regards,
Nagaraj -
ALE: mapping IDoc fields to change document fields - TBD22 for ADRMAS iDoc
Hi,
I am currently try to find a table or way to extract the information of the TBD22 table (ALE: mapping IDoc fields to change document fields) for the iDocs/ Message Types:
ADRMAS
INTERNAL_ORDER
PROJECT
I am looking for a table that shows me to which SAP R/3 tables and fields the segments and fields of the above mentioned messages will be mapped to.
When I add one of the above mentioned message types to the table TBD22 selection criteria I always receive the notification: "No table entries found for specific key".
Could anybody determine Which table I have to use or why I cannot extract this information?
Thanks in advance!
Best regardsHi,
Since we can not map the target IDOC when any of the field changes using nodefunctions , you can write UDF and check the same i.e if field1 changes or field2 changes or field3 changes then trigger new IDoc. This is one of the options that you can try...please try it once.
Regards
Priyanka
Maybe you are looking for
-
Experts, Is there a standard report/ or an easy way for me to get the list of all PR's released in an year - Basically I am looking for the following info: u2022 Requisition Number u2022 Date u2022 Amount u2022 Description u2022 R
-
Can two releases of MSS business packages coexist ?
Hello Friends: We are using MSS buss.pack release 60.1.2 which is Java based, and with in that we want to use some functionality related to Performance Management of employee which are not present. But they are available in the release 60.1.5 which i
-
How to create table level index.
Hi All, I have written a program for c-form tracking , where i used purchasing tables like EKBE , EKKO and accounting tables , BSEG and BKPF.BSEG isa cluster table . it is taking execution time more at database level , so if i create a index o
-
after I upgrade ios 7.0.3 for my iphone 4. I am watching a video, then a call came. I answered the call; and the video I am watching still playing. There's anyone experience the same? How to fix it? thanks!
-
Multiple colors in on calendar
I am using a macbook pro with latest Yosemite update. I work 24-hour shifts so I would like to add multiple colors to one calendar. For example I have a calendar work and within this calendar I want to have different colors for lets say early shift/l