MIRO: Need a BADI/EXIT to clear the Payment Block 'R' :
Hi Experts,
I am looking for a BADI/EXIT to clear the Payment Block that is put by the standard sap code through Perform zahlungssperre_setzen in include LMRMPF1R.
I have tried to use BADI MRM_PAYMENT_TERMS but this badi gets called before the above PERFORM zahlungssperre_setzen and hence any change made by the BADI gets overwritten by the SAP code again.
Any inputs in this will be helpful.
<offer removed by moderator>
Regards,
Edited by: Thomas Zloch on Jun 30, 2011 10:34 AM
Hi
See SAP Note 1559443 - Changing baseline dates for payment terms for Spain as a sample for this BADI. Read the documentation for the BADI in SE18.
Try with this coding.
First, load the interface of all e_*
*--- fill all export-parameter ----------------------------------------*
e_zfbdt = i_rbkpv-zfbdt.
e_zbd1t = i_rbkpv-zbd1t.
e_zbd1p = i_rbkpv-zbd1p.
e_zbd2t = i_rbkpv-zbd2t.
e_zbd2p = i_rbkpv-zbd2p.
e_zbd3t = i_rbkpv-zbd3t.
e_zlspr = i_rbkpv-zlspr.
After, for instance
if i_rbkpv-zlspr = 'Z'. "or other
clear e_zlspr.
endif.
And you would see that it works.
I hope this helps you
Regards
Eduardo
Edited by: E_Hinojosa on Jun 30, 2011 1:11 PM
Similar Messages
-
User exit for filling the payment block
Hello,
I need the user exit for popuating the payment block(RBKP-ZLSPR ) while posting the FI invoice thru MIRO.
Any inputs would be of great help.
Thanks!
Praveena.Hi,
Try with these userexits
Enhancement/ Business Add-in Description
Enhancement
LMR1M001 User exits in Logistics Invoice Verification
LMR1M002 Account grouping for GR/IR account maintenance
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Logistics Invoice Verification: item text for follow-on docs
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
LMR1M006 Logistics Invoice Verification: Process XML Invoice
MRMH0001 Logistics Invoice Verification: ERS procedure
MRMH0002 Logistics Invoice Verification: EDI inbound
MRMH0003 Logistics Invoice Verification: Revaluation/RAP
MRMN0001 Message output and creation: Logistics Invoice Verification
Business Add-in
INVOICE_UPDATE Business Add-In: Logistics Invoice Verification
Assign points if useful. -
Need userexit / badi / bte to enhance the automatic clearing rules
Dear All,
My requirement is to enhance the automatic clearing rules for tcode ff_5.
Program RFEBKA00 will upload bank statement items based on the external transaction codes provided by the banks .
The standard posting rules will clear a GL bank account using a set of algorithms for further interpretation set of standard algorithms do not meet the clearing criteria.
Hence I need userexit / badi / bte to enhance the automatic clearing rules. EXIT ZXF01U01 / FEB_BADI are triggering before posting the document.
So we cannot use these. Please suggest me regarding the same.
Thanks in advance
Somu.Hi,
Did you get a solution for this problem from any other means? Cause I am also facing the same problem. It will be great if you can help me in this regard.
Thanks
Sudheer K -
Need a BADI/ exit for MIGO transaction
Hi,
I need a BADI / exit for tha transaction MIGO. My requirement is before displaying the materials in the item tab, check whether the user has authorization for that material or not. If he has no authorization, give error message. This should be done for all types of documents.
Please let me know if you need more information.
thanks,
Kishorehi,
You can have the authorization for the inventory management via authorisation..
Check the path: SPRO --> MM --> Purchasing --> Inv. management nad physical inventory --> Authorization management --> Maintain roles and assign users....
Regards
Priyanka.P -
Need a user exit to modify the quantity schedules in a sales contract
Hi,
I am using ECC 6.0 with IS OIL. Need a user-exit to update the quantity schedule(table OIA05) in the sales contract VA42.
I have a new field called timestamp in the table OIA05 which needs to be updated with the timestamp value.
I tried the user exit MV45AFZZ in USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_SAVE_DOCUMENT to update the values. But the new values are not being reflected. Can you please help me in this regard.
Thanks,
Best regards,
Ajiththat will allow me to append an initial line with <accit> pointing to the line. Therefore I just have to modify <accit> and the new line will then have my changes?
Yep, that is exactly it. So after the APPEND statement, simply fill the fields of the <accit>.
append initial line to im_document-item ASSIGNING <accit>.
<accit>-field1 = 'Blah'.
<accit>-field2 = 'Blah'.
Regards,
Rich Heilman -
How to clear the Payment Document when posting cashed checks.
AIM: To clear the payment document when the check is cashed.
I am creating a Payment Document (Doc type ZP) using fb01. Then I am creating a check against this payment using FCH5. Once check is created, I am posting cashed check using FCKR upload. FCKR is working fine and marks the check as cashed.
ISSUE: The FCKR is working correctly and the check is being marked cashed in FCHN. But if I click the Accompanying document and click on payment document, the payment is still open. Why is this? How do I clear the payment doc?
Please advice.Hi,
By using T code F-03, you can manually clear the open entries in GL account, if that GL account is open item managed in GL Master.
Thanks and Regards
Binoj M D -
If i use System.exit(0) in the catch block will finally block executed
If i use System.exit(0) in the try block or catch block will finally block will be executed?
try
System.exit(0);
catch(Exception e){
System.exit(0);
finally
System.out.println("finally!");
}gavas_java_nov26_exception wrote:
If i use System.exit(0) in the try block or catch block will finally block will be executed?
try
System.exit(0);
catch(Exception e){
System.exit(0);
finally
System.out.println("finally!");
To tell you the truth, What does it matter? You shouldn't be doing that anyway, at least not in a well written program.
But, if you really want to find out, do as duffymo said, and try it. It'll only take a minute and save you the time (and embarressment) of asking here. -
How to populate the payment block through the BAPI_INCOMINGINVOICE_CREATE
Hi,
I am trying to create the incoming invoice through the BAPI (BAPI_INCOMINGINVOICE_CREATE) .
In MIRO transaction when i create the Invoice without any tax , the <b>payment block shows free for payement</b> . How to give create the invoice with the following condition through the BAPI (BAPI_INCOMINGINVOICE_CREATE) . when there is Tax : The payment block = 'R' (Invoice verification) .
No Tax : The payment block = ' ' (Free for Payment).But everytime the invoice is created the Payment block is set to 'R' even if the Tax is not given.
Following i am populating
<b>Header Structure:</b>
<b>Test Value Description PI Header Data Fields</b>
X Invoice Indicator HEADERDATA-INVOICE_IND
SPACE Document Type HEADERDATA-DOC_TYPE
05-11-2006 Document Date HEADERDATA-DOC_DATE
17-11-2006 Posting Date HEADERDATA-PSTNG_DATE
123456-B1 Ref Document Number HEADERDATA-REF_DOC_NO
9001 Company Code HEADERDATA-COMP_CODE
7006924 Vendor Number HEADERDATA-DIFF_INV
BRL Currency HEADERDATA-CURRENCY
BRL Currency HEADERDATA-CURRENCY_ISO
10000 Gross Amount HEADERDATA-GROSS_AMOUNT
05-11-2006 Baseline ate HEADERDATA-BLINE_DATE
DD Header Text HEADERDATA-HEADER_TXT
0001 Payment Terms HEADERDATA-PMNTTRS
123456-B1 Ref Document Number HEADERDATA-REF_DOC_NO
Z1 NF Type HEADERDATA-J_1BNFTYPE
space Payment Block Key HEADERDATA-PMNT_BLOCK
<b>For Item Structure:</b>
<b>Test Data Description BAPI Item Data Fields</b>
000001 Invoice Item ITEMDATA-INVOICE_DOC_ITEM
4500021387 Purchase Order Number ITEMDATA-PO_NUMBER
0010 Purchase Order Item ITEMDATA-PO_ITEM
Z1 Tax Code ITEMDATA-TAX_CODE
SP 50308 Tax Jurisdiction Code ITEMDATA-TAXJURCODE
10000 Item Amount ITEMDATA-ITEM_AMOUNT
200 Item Quantity ITEMDATA-QUANTITY
EA Purchase Order Unit ITEMDATA-PO_UNIT
Can u please tell me what is the mistake or any other ways of populating the Payment block.
Always the payment block is 'R' in MIR4 transaction even if i give space in the BAPI -
Regarding the payment block workflow trigger
Hi Gurus
1. All the invoices should be posted with payment block u201CZu201D (customized) where it is not already populated by MIRO with standard u201CRu201D.
2.Everyday the accountant of the concerned section will run the payment proposal (Automatic Payment Program). All the invoices that are due will be selected in the proposal with payment block u201CZu201D or u201CRu201D. Then the accountant manually replaces payment block u201CZu201D or u201CRu201D with u201CSu201D (customized) (signifying start of workflow) in the invoices picked up in the proposal.
3.Once the payment block changes to u201CSu201D, workflow event should trigger to alert the Section head.
4.The Section Head then scrutinizes the proposal and wherever he approves the payment block u201CSu201D should be removed in the proposal list. The payment block in all other invoices not approved by the Section Head should be changed from u201CSu201D to u201CZu201D or u201CRu201D again.
5.The information of rejected invoices should pass to the accountant.
Roles: 2
1.Accountant (who has authorization to change the payment block from u201CZu201D or u201CRu201D to u201CSu201D only)
2.Section Head (who has authorization to approve or to reject)
Even I given the BOR as BSEG and event as created (Posting item with Payment Block ) .
I configured as follows.
1) defined the workflow variant,
2) assigned the workflow variant to company code
3) defined the payment block as blank
But In Event simulation i got workflow get started but it not started. But there is nor event logs too.
Please help me if you know anything regarding this..
regards
vel
Edited by: Mike Pokraka on Jun 27, 2008 5:27 PM
Edited by: Velmurugan on Jun 27, 2008 5:45 PMHi Vel
Did you fix your problem already? recently, I have got a same request from user. The requirement is that after the payment proproal has been confirmed, the workflow should be started by this change and triggers it to send out an email for those vendors by their email address. If you or anybody know about the solution for creating this workflow, please kindly instruct me how to do it, since I am a fresher.
Thanks
Jc -
How to change the payment Block?
Dear all,
How to change the payment Block?
Please help.
Regards
MahfuzHello,
Please go through the below mentioned links it will help you
Mass Removal of Payment block
Payment block in customer/vendors - how to clear | SCN
Posting block removal in the payment proposal editing
Regards,
Basappa -
In FBL5N, i can't modify the "payment block" by the mass change
Hi All,
In FBL5N, launched for more vendors, choosing the button "mass change", SAP doesn't allow me to modify the "payment block". Its field is grey.
I wonder if is possible making this field modifiable.....
Thank You or Your help
GandalfHi
Go XK99 and go to fields tab and select payment block then execute it - here put your vendor number range & company code then execute again - now in upper New Values - make it blank and press SAVE button so all payment block will be remove for those particular vendors (Mass change)
Best Of Luck
Tanmoy -
System not clearing the Payment request items with the payments
HI Everybody,
User getting an issue relating to clearing of the payment request items. In a particular Contract account, it has got 51.75 Pounds of Bank Giro incoming payment. It has contains some 5 items of payment, 3 items of 10.75 and 1 Item of 21.70. The 3 items of 10.75 were cleared 3 payment reqquest items and since there is no due payment requests were there at that time, this 21.70 was showing pending credit item. After two days two payment requests came as due. There are jobs which run daily for FPMA. But this 21.70 is not clearing to this due payemnt requests. I tried to run this FPMA manually for this contract account. But these were not cleared.
Could anybody suggest anything on this why these items were not clearing against each other?
Thanks & Regards
SivaHi
The issue is due to the implementation of support packs. Specifically to do with note 1005708.
siva -
Manual BRS system not picking the doc for clearing the payment
While processing Manual bank statement if i am using referance doc no system not picking doc no for clearing the bank payment. So that after finishing BRs I am matching the doc manually, in f-04. This is taking long time for processing. Anyone can tell me why ref doc no not working and to make it to work, or else any problem is there to use the field. please solve my query.
Edited by: MANISFICO1 on Aug 1, 2011 11:49 AMHi:
Please follow as given and hopefully you will be able to resolve the issue.
1...Go to SPRO...Financial Accounting....Bank...Business transactions...Payment Transactions...Manual Bank Statement..Create a new transaction with sign - and do not assign anything in posting rule for now and enter 15 in Algorithm field , save.
2...In define posting keys and posting rules...create an account symbol for the one you did in step 1..In Assign account to account symbol please use account symbol created earlier and acc mode + and currency should be + too. In GL Account area please list the outgoing GL which you are using for outgoing postings..
In create key for posting rule define a posting rule and now go back to step 1 and assign the posting rule you created to the transaction type
In define posting rules please maintain posting rule as define above...in posting area assign 1. give nothing in first posting key.assign account symbol as created earlier...now give give posting key 50..give account credit Bank...and a suitable document you use for posting BRS...In posting type give 4.
Your Manual Bank statement is ready ....
Go to FS00 select your bank outgoing GL account there and in create/bank.interest tab double click on Field status group..in general data make assignment number mandatory for posting...
Go to FB50....post and outgoing transaction using the GL given above it will require you to enter assignment number enter 123 and post.
In FF67 Select the new statement , proceed with your normal data entry and give the transaction you created in above , enter value date, amount and in bank ref field enter 123 as given in FB50.
Save and post it. Now it should work.
Regards -
How to get the payment block through the BAPI_INCOMINGINVOICE_CREATE
Hi,
how to populate payment block through the BAPI (BAPI_INCOMINGINVOICE_CREATE). always it is showing 'R' in MIR4 Transaction after the BAPI is executed.check
BAPI_INCINV_CREATE_HEADER-PMNT_BLOCK
regards
Prabhu -
Need a BADI for Manipulating Purchase Order Payment Terms?
Anybody know of one? We are on 4.6C....Thank-You.
Hello Sudheer,
This would be great only I do not see "Call method cl_exithandler=>get_class_name_by_interface " to put a break point in the GET_INSTANCE Code....below. Also, I only see one Method in cl_exithandler and it is GET_INSTANCE. I would really like to do what you say but can't figure out where to pit the breakpoint........Thank-You
METHOD get_instance.
CLASS cl_abap_typedescr DEFINITION LOAD.
DATA: exit TYPE REF TO object,
temp TYPE abap_abstypename,
int_ref TYPE REF TO cl_abap_refdescr,
type_ref TYPE REF TO cl_abap_typedescr,
interface TYPE seoitfname,
exit_name TYPE exit_def,
clskey TYPE seoclskey,
mult TYPE seex_boolean,
subrc LIKE sy-subrc,
abs_type_classname TYPE string.
The absolte type name of the changing parameter instance
is got via dynamic describe
CALL METHOD cl_abap_typedescr=>describe_by_data
EXPORTING
p_data = instance
RECEIVING
p_descr_ref = type_ref.
IF type_ref->type_kind NE type_ref->typekind_oref.
RAISE no_reference.
ENDIF.
CATCH SYSTEM-EXCEPTIONS others = 1.
int_ref ?= type_ref.
ENDCATCH.
IF sy-subrc = 1.
RAISE no_reference.
ENDIF.
CALL METHOD int_ref->get_referenced_type
RECEIVING
p_descr_ref = type_ref.
IF type_ref->type_kind NE type_ref->typekind_intf OR
type_ref->absolute_name NS '\INTERFACE='.
RAISE no_interface_reference.
ENDIF.
Get the interface name by the absolute type name
SPLIT type_ref->absolute_name AT '=' INTO temp interface.
Get the exit_name for the interface name
SELECT exit_name FROM sxs_inter INTO exit_name
WHERE inter_name = interface.
EXIT.
ENDSELECT.
IF sy-subrc = 4.
RAISE data_incons_in_exit_managem.
ENDIF.
Get the name of the exit class
CALL FUNCTION 'SXV_GET_CLIF_BY_NAME'
EXPORTING
name = exit_name
prefix = seex_exit_class_prefix
IMPORTING
clif = clskey-clsname.
CONCATENATE '\CLASS=' clskey-clsname INTO abs_type_classname.
Is the given instance initial?
IF NOT instance IS INITIAL.
CALL METHOD cl_abap_typedescr=>describe_by_object_ref
EXPORTING
p_object_ref = instance
RECEIVING
p_descr_ref = type_ref.
CHECK type_ref->absolute_name NE abs_type_classname.
ENDIF.
check how many implementations exist for an exit
CALL FUNCTION 'SXC_ACT_IMPS_PER_FLT_VAL'
EXPORTING
exit_name = exit_name
EXCEPTIONS
multiply_active = 1
no_active_implementation = 2
OTHERS = 3.
subrc = sy-subrc.
IF subrc = 1.
there are more than one active implementations
read the properties of the exit
SELECT SINGLE mltp_use FROM sxs_attr INTO mult
WHERE exit_name = exit_name.
IF sy-subrc = 4.
RAISE data_incons_in_exit_managem.
ELSEIF mult = seex_false. " singular exit
RAISE single_exit_multiply_active.
ENDIF.
ENDIF.
act_imp_existing
IF subrc = 2.
act_imp_existing = seex_false.
ELSE.
act_imp_existing = seex_true.
ENDIF.
ok, then do your job
CREATE OBJECT exit TYPE (abs_type_classname).
CATCH SYSTEM-EXCEPTIONS move_cast_error = 1.
instance ?= exit.
ENDCATCH.
IF sy-subrc = 1.
RAISE cast_error.
ENDIF.
Maybe you are looking for
-
Cannot send message with mailhop and mountain lion
I'm setting up Mail on a new iMac, now running OS 10.8. (It didn't work using 10.7 either). I've had zero trouble using mailhop on an older Mac (10.4). I've entered the exact same settings on the new mac as the old. I keep getting "Cannot send messag
-
Display the material details in alv grid based on material(in mara)
hi, display the material details when get input of material from user in mara table using alv-grid display. give some examples. Thanks of advance.
-
Layered PSD files not importing correctly
Hey all, I'm working on an animation, and I'm trying to animate some text layed out in a specific way in a .psd document. I export the psd to the desktop with the layers box checked, and I keep "maximize compatibility" on. When I quick-look the file
-
Hai I created the webtemplates for one Bex-query . 1) Now how can i publish into the portals. 2) How can i get the single point access for enduser to the query . I think by "Web Analyzer" . Can anyone give the step-by-step methods usage of '0Analyzer
-
I'm running a 3.1ghz intel core i5 Imac with 16gb of ram and AMD Radeon HD 6970M 1024 MB Graphics card and 127gb of space on my HD. I'm trying to render and export (just render first) a 3 minute clip with just some basic colour correction and transit