Re: Payment order Reversal using custom program

Hello Experts,
The requirement is when we void any chek the corresponding documents (payment request ,payment order and accounting document) related to the check has to be reversed in Fi Tresury.
Reversal of the payment reqest and the accounting document in my program is fine but payment order reversal is not happening in the program.
I am able to reverse it by using standard transaction ihc02.
In the program  i have used the same function module IHC_BCA_PAYM_ITEM_REVERSE as used in the standard program and passing the same values what we are passing in the standard transaction but reversal of  the payment order was not happening using that functiona module.
Please suggest me what to do with this requirement and how to reverse the payment order using the custom program.
Thanks and regards
pavan

Hello Experts,
The requirement is when we void any chek the corresponding documents (payment request ,payment order and accounting document) related to the check has to be reversed in Fi Tresury.
Reversal of the payment reqest and the accounting document in my program is fine but payment order reversal is not happening in the program.
I am able to reverse it by using standard transaction ihc02.
In the program  i have used the same function module IHC_BCA_PAYM_ITEM_REVERSE as used in the standard program and passing the same values what we are passing in the standard transaction but reversal of  the payment order was not happening using that functiona module.
Please suggest me what to do with this requirement and how to reverse the payment order using the custom program.
Thanks and regards
pavan

Similar Messages

  • Payment orders when a customer has a credit balance

    Hello,
    I was able to generate a payment order for a customer.  But when a customer has a credit note attached to it that it effectively renders the total as a credit balance,  I am unable to do so.  When I select on the credit note, it comes up with an error "Enter a payment method for outgoing payments".   Is there a way, that I could overcome this error without creating another payment method?  Because its possible for this company that the customer can have credit balance even though we should just be collecting money from them.
    Thanks and regards,
    Tess

    Hi,
    It is a SAP a standard behavior in case of Debit  balance of Vendor or Credit balance of Customer it gives as an error.
    Hence, in this case we need to do manual clearing through F-44 for Vendor and F-32 for Customer.
    Regards,
    Tejas

  • Updating logs of output message of a delivery using custom program

    Hi Experts,
    I have a requirement where in i need to create processing logs for a output message type of a delivery using custom program. So basically for a delivey a output type will be triggered , furhter i will develop a custom program which i will run from se38 and update logs. I even need to update teh status of the output message type.
    Any inputs on this would be very useful.
    Thanks & Regards
    Dipak,

    many possible ways...
    1. create a report which queries table NAST for required output type and run the report in background for every 2 mins or 5 mins.
    2. you can write it in the driver program for the output message.

  • Printing Purchase Order from ME9F using custom program and smartform

    I was able to use my custom program which calls a smartform to print purchase orders from transaction ME9F. I did this using transaction NACE.
    However, when I call "Output Message" from ME9F, the output always fails (shown by an 'X' icon after the checkbox). When I try to put back the standard program in NACE, it does not show an 'X' but a check which indicates that the printing was successful.
    Do you know why this happens? What did I miss?
    Here's my call to my smartform from my custom driver program:
        " Change Smartform ZP_MMSF_P01_PURCHASE_ORDER
        " to internal Function module name
        CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
            EXPORTING
                FORMNAME   = 'ZP_MMSF_P01_PURCHASE_ORDER'
            IMPORTING
                FM_NAME    = fmname
        wa_cparam-no_dialog = 'X'.
        wa_output-tddest = 'LOCL'. "or 'LP01'.  "Spool: Output device
        CALL FUNCTION fmname
            EXPORTING
                control_parameters         = wa_cparam
                output_options             = wa_output
                i_data                     = i_data
                wa_lookup                  = wa_data_lookup
                goods_amt                  = goods_amt
                discount_amt               = discount_amt
                vat                        = vat
                total_amt                  = total_amt
                total_amt_inwords          = total_amt_inwords

    Vijaya,
    I have this problem though,
    Whenever I try to provide values for CONTROL_PARAMETERS and OUTPUT_OPTIONS to the sapscript call in your code, the PO printing (even the preview) does not proceed. I do this because I wanted to suppress the printer dialog.
    here is a fragment of the code:
    " code I added
    LS_COMPOSER_PARAM-tddest = 'LOCL'. "or 'LP01'.  "Spool: Output device
    LS_COMPOSER_PARAM-bcs_langu = sy-langu.
    LS_CONTROL_PARAM-preview = 'X'.
    LS_CONTROL_PARAM-no_open = 'X'.
    LS_CONTROL_PARAM-no_close = 'X'.
    LS_CONTROL_PARAM-device = 'PRINTER'.
    LS_CONTROL_PARAM-no_dialog = 'X'.
    DO NAST_ANZAL TIMES.
    *--In case of repetition only one time archiving
    * if sy-index > 1 and nast-tdarmod = 3.
    * nast_tdarmod = nast-tdarmod.
    * nast-tdarmod = 1.
    * ls_composer_param-tdarmod = 1.
    * endif.
    IF SY-INDEX NE 1 AND REPEAT IS INITIAL.
    REPEAT = 'X'.
    ENDIF.
    CALL FUNCTION LF_FM_NAME
    EXPORTING
    ARCHIVE_INDEX = TOA_DARA
    ARCHIVE_PARAMETERS = ARC_PARAMS
    CONTROL_PARAMETERS = LS_CONTROL_PARAM
    MAIL_RECIPIENT = LS_RECIPIENT
    MAIL_SENDER = LS_SENDER
    OUTPUT_OPTIONS = LS_COMPOSER_PARAM
    USER_SETTINGS = SPACE
    IS_NAST = NAST
    IS_REPEAT = REPEAT
    I tried to trace it to the function module generated by smartform. The error propagates this way: From the function module, there is a call to function SSFCOMP_PROCESS_DOCUMENT. Then inside that function, there is a perform operation to tr_ssfcomp_process_doc
    perform tr_ssfcomp_process_doc using startpage docstruc
                                           header.
    Inside that form, it calls the macro tr_active which checks the value of ssfcstat-trlevel (tracelevel) against c_trlevel_document. In the macro, if ssfcstat-trlevel is less than c_trlevel_document, the smartform will fail. c_trlevel_document is 15 and ssfcstat-trlevel is 0, and so the smartform fails.
    (you can see the macro tr_active in include LSTXBCMAC and the form tr_ssfcomp_process_doc is in the include LSTXBCFTR)
    When I do not put values in CONTROL_PARAMETERS and OUTPUT_OPTIONS, everything is ok.
    Do you know why this happens?
    Thanks in advance!
    Edit: I have found out about transaction SFTRACE, but this is disabled.
    Kyle

  • Trigger IDOC_OUTPUT_ORDRS using custom program.

    Hello.
    I have a requirement to send an order response (ORDERS05) IDoc by calling FM IDOC_OUTPUT_ORDRS using a custom program.  Wanted to know if anyone had suggestions on the best approach.  We are using much of the native mapping and adding a few segments (which I would handle updating in the customer exits).
    My biggest question is how to setup the call to IDOC_OUTPUT_ORDRS.  I think I need to simulate the NAST table entry.  Is that the recommended approach?  Any tips or hints would be appreciated.
    Thanks,
    Cal
    Edited by: Cal on Feb 3, 2009 7:07 PM

    Actually condition technique based on which output determination works - is designed for exactly what you are asking - triggering the output type under certain conditions.
    You can create ouput condition records with key fields that represent your business conditions: for example certain sales org, distrib channel, certain sales order type can only trigger the output. You can make it as finer as you want (like even including sold-to as a criteria), like you can include any field that appears in the sales document as a criteria to trigger the idoc.
    The tables that store condition records - condition tables - are custom created with your business field combination that you want to base the triggering upon.
    Goto the IMG path:
    IMG -> SD -> Basic functions -> Output control -> Output determination -> Maintain output determination for sales documents.
    1. A o/p determination procedure is assigned to sales document type
    2. A o/p determination procedure comprise a list of output types, which are checked sequentially by the system
    3. Custom condition tables with new business criteria can be assigned to new or existing access sequence
    4. Access sequence is attached to output type
    How the system triggers a particular output type during application document processing, say sales order processing:
    1. From the sales document type, the o/p determination procedure is determined
    2. The system then checks the output types inside the procedure one by one
    3. Say at output type 1, the system checks to see what access sequence it has
    4. The access sequence comprises of 1 or more condition tables.
    5. The system then checks each condition table, by comparing the key fields of the condition table with the correpsonding sales document fields - like comparing sales org, documen type in the condition record with what the sales document has. If every thing matches, the output type is triggered.
    I have just simplified the whole o/p determination. There are several other features which are controlle at o/p determination, procedure, output type and access sequence levels. Spend some time one these, it is a neat, flexible and future proof concept. You will never regret! )

  • Write SM37 log using custom program as copy of RSPROCESS type REQUDEL

    Hi,
    I have created a custom version of RSPROCESS program for deleting overlapping requests from a cube.
    The program works well but during the execution it doesn't write the log in transaction SM37, but only in the SLG1.
    I'd like to have the SM37 log.
    In detail che function modules of RSPROCESS included in my custom program are:
    RSSM_START_DELETE_STORNO
    RSSM_PROCESS_REQUDEL
    APPL_LOG_WRITE_HEADER
    BAL_DB_LOGNUMBER_GET
    APPL_LOG_WRITE_MESSAGES
    APPL_LOG_WRITE_DB
    Any idea?

    No, I executed the program in a process chain step.
    To be honest, the first part of the program is a custom of RSPROCESS variant DTP_LOAD.
    This section works well and i can see the log in the SM37.
    After loading is complete, the same programm executes the RSOPROCESS variant REQUDEL, but for this activity i don't see the log. If you execute the standard step of the chain for deleting overlapping request you can see the job log in the SM37, i 'd like to obtain the same result.

  • F110 - Payment order number not deleted after Feban posting

    Hello,
    I have problem regarding Payment order deletion. End user creates Bank statement (FF67) using Payment order(F110) number. Then with Feban end user posts document. Normally after Feban posting payment order number disappearing (we can see this number in tables such pyordh, reguh et c.). If we want to see Payment order number (using t-code F110) system gives such error - "No payment orders exist for this selection
    Message no. FZ084
    Diagnosis
    No payment orders exist for the selections made. This may be because the relevant account statement has already been imported".
    But in this case it is not disappeared and end user can use Payment order number second time in t-code FF67 and post in in Feban.
    Thanks and Regards,
    Sabuhi Gaflanov

    HI Carlos,
    Since you archived PO, it is stored in archive physical drive not in SAP drive.
    when u use me23n, the archived PO is picking from physical drive and it says "Already archived" message.
    I'm sure there will be no table level entries for the archived documents
    Go to SARA transaction - information system--> Archive Explorer - MM_EKKO and execute.
    Check your PO is listed here.
    So if you dont want to see your PO, then you need to De-activate information system
    in SARA-Information System-->Customizing -
    search infrastructure by Object name and use activate/deactivate icon -
    A question i really need to know - Why you want to delete a particular PO, Archival process is not a small thing and usually it takes place as a MASS activity.
    reg,
    bhg

  • Portugal Payment medium format - PS2 - configuration and custom program

    Hello,
    this is my first post here, so first of all "hi!" and second, sorry if this thread isn't in the right forum.
    I need to do a custom copy of the PS2 payment medium format, which is used in Portugal. It would be a short development, I just need that the line starting with ":08:" only appears when using a pre-defined payment method.
    I've seen that in the FBZP tcode, in the "Pmnt method in company code" customizing point, at the bottom there is this section, "Payment medium", where you can inform the Format (which it should be PS2) or the payment medium program (i think that for Portugal it's RFFOM100). You can only inform one option. Which one do you recommend? (I'm more used to work with purchase orders, so this are my first steps in the payment program)
    So my question is, in order to do this custom code, should it be a copy of the PS2 format (ZPS2?) or a copy of the RFFOM100 program? In any case, where can i look for the code section where to replace the standard SAP code for our custom program?
    Thank you very much!
    Warm regards,
    Gustavo

    Hi Gustavo,
    If you take a look in FBZP - Payment Method Country, you will see a "Payment Mathod" section. There you will have 2 payments programs type: Paymt Medium Workbench (PMW) and Classical.
    PS2 payment medium format is only used for PMW type and RFF* for Classical PM. These work to print and execute payments through F110.
    In my understading you should use PS2 because is the original need on your question.
    I hope I help you. Reply me if you have more questions.

  • Payment documents / Payment orders were not updated in RFFOEDI1 Program

    Hi,
    With F110 transaction i'm  printing Payment summary and Remittance form by using YDFI_RFFOEDI1 ( Copy of RFFOEDI1)
    Program variant.
    Spool is generating Payment summary and Remittance form along with Error log as below.
    Program YDFI_RFFOEDI1: No records selected
    The following payment documents/payment orders were not updated
    (Result of the payment document update)
        CoCd Payment document/Payment order
        1019 F110000001
    The accompanying payment media have not been generated
    YDFI_RFFOEDI1 Program variant is having Generate SAP Idoc check box as unchecked under Print control tab.
    Thanks
    Bhuvana

    Please help me on this issue

  • Outbound IDOC process - Using standard  or Custom Program

    Hi all,
    i'm having some doubts regarding IDOC's outbound processing.
    I'm trying to understand 2 scenarios:
    1- Trigger Standard Outbound IDOC without writting any Z program ou IDOC FM.
    It's possible to trigger a outbound idoc for exemple, whenever a sales order is created. To do this is, i suposed i don't need to write any code at all, correct?
    What i need to do is create a logical system (SALE), define Transmission protocol (WE20, in here i associate the partner, and the outbound message type? After this point is the idoc automatic triggered?
    If not, what is the correct procedure?
    2 Trigger Ountbound IDOC using Z program.
    Whats is diferent from the point 1 to this situation?
    Best regards,
    Pedro

    Kali,
    1. You can search in SE37 using IDOC_OUTPUT* for finding out corresponding function modules. It is based on message types.
    2. You can search user exit in above mentioned function module. So first get the correct populating FM & then you can search for Call Customer Function inside the code for user exit.
    3.Again ans is same as in point 1.

  • Issue in Reversing the payment order in IHC2 T code.

    Hello All
            I am doing REVERSING THE PAYMENT ORDER using IHC2 T code.
    While doing reverse it is creating the payment items for the respective payment order.
    Here is my requirement, need to change the posting date for the creating payment item for the reversal process.
    please let me know if we have any enhancement points to overcome this issue.
    Thank you all.

    Hello Spandana Musham.
         I have also faced this issue with BAPI and I opted for BDC finally.    
    Regards.

  • I am trying to trigger a custom event using a program but does not work ..

    HI ....i am trying to trigger a custom event of a custom object type using a program but does not work. If trigger the same event using SWUE it works.
    below is the code...
    {Key = '0010001115'. "Sales Order Number (hard-coded)
    CALL FUNCTION 'SWE_EVENT_CREATE'
      EXPORTING
        objtype                       = 'ZXXXXXXXF'
        objkey                        = KEY
        event                         = 'ZEVENT'
      CREATOR                       = ' '
      TAKE_WORKITEM_REQUESTER       = ' '
      START_WITH_DELAY              = ' '
      START_RECFB_SYNCHRON          = ' '
      NO_COMMIT_FOR_QUEUE           = ' '
      DEBUG_FLAG                    = ' '
      NO_LOGGING                    = ' '
      IDENT                         =
    IMPORTING
      EVENT_ID                      =
      RECEIVER_COUNT                =
    TABLES
      EVENT_CONTAINER               =
    EXCEPTIONS
      OBJTYPE_NOT_FOUND             = 1
      OTHERS                        = 2}
    Please guide me if i am missing something.

    Hi Sunny,
    I think you should try creating the event using FM SAP_WAPI_CREATE_EVENT.
    CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
      EXPORTING
        OBJECT_TYPE             =  'ZXXXXXXXF'
        OBJECT_KEY              = key
        EVENT                   = 'ZEVENT'
    *   COMMIT_WORK             = 'X'
    *   EVENT_LANGUAGE          = SY-LANGU
    *   LANGUAGE                = SY-LANGU
    *   USER                    = SY-UNAME
    *   IFS_XML_CONTAINER       =
    IMPORTING
       RETURN_CODE             = rcode
       EVENT_ID                = event_id
    * TABLES
    *   INPUT_CONTAINER         =
    *   MESSAGE_LINES           =
    *   MESSAGE_STRUCT          =
    Regards,
    Saumya

  • Custom program to insert and firm new planned order supply

    Hello,
    Can anyone point me to the Oracle package/procedure that is used in ASCP workbench to insert and firm a new planned order supply? Would like to call this proceudre from a custom program.
    Cheers!

    There is no api to insert data into a given plan but Oracle allows you to use the "Legacy Collections" to import/create various data elements (such as Reqs, PO, Planned orders etc.)
    See "Legacy Collections" sections in http://download.oracle.com/docs/cd/E18727_01/doc.121/e13358/T309464T309470.htm#T309821
    Keep in mind that this takes time to setup. So make ensure that this is the right solution before proposing it.
    Sandeep Gandhi

  • We are using EBS 12.1.3.  When we input a sales order from a customer we input the sales order and specify the date the customer wants it.  This isn't always the date that we intend on manufacturing it though.  I need to put a customer due date in, but be

    We are using EBS 12.1.3.  When we input a sales order from a customer we input the sales order and specify the date the customer wants it.  This isn't always the date that we intend on manufacturing it though.  I need to put a customer due date in, but be able to put a date in another field that MRP can read in the event we choose to manufacture based on another date.  For example, early.
    Any help would be appreciated.

    What you are experiencing is 100% related to Malware.
    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • Customized program for format payments doesn't work in all operating unit

    I would like to ask for your help with the issue I’m having right now with the customized program I’ve created.
    Background:
    A customized program using XML was created for check payments. This check format is used when printing Payment Batches. I tried to register this program in two operating unit, one is EMR AP SuperUser-EPT-APDUS and the other one is EMR AP SuperUser-EPT-APDMX. The program completes successfully in EMR AP SuperUser-APDUS but not in EMR AP SuperUser-EPT-ADPMX. The set up was the same for both OU. In every time I tried to run the program by:
    1. Create a batch name in Payment Batches.
    2. Enter the Invoice Batch Name
    3. Assigned the Bank Account and Document type
    4. Save and hit the Actions..1 button
    5. Then Select the Format Payments - I've entered the same program for both OU
    The program errors out including the Payment Process Manager in APDMX OU but not in APDUS. Please help me fix this issue as this is a very high priority task.
    I would greatly appreciate any help that you could give.

    See https://support.mozilla.com/en-US/questions/799388

Maybe you are looking for

  • Font problem with MX under Snow Leopard

    Anybody know what might cause an app built with Director MX not to display an installed (not embedded) custom font under Snow Leopard? The program was built quite some time ago but was tested under previous Mac OS X.x versions and worked fine. What m

  • Many permissions don't seem to get repaired!

    My screen went a little crazy today after coming out of sleep mode- lots of patterns and colors no menus available. I restarted and decided to Repair Permissions. On the first pass, Disk Utility repaired many permissions. I ran Permission Repair agai

  • 5508 WLC upgrade

    Looking to upgrade our 5508 WLC to the newest code AIR-CT5500-K9-7-2-103-0-FUS We are currently running an older code  6.0.196.0 Are there any issues that I need to worry about with this upgrade ? Do I need to upgrade the AP's at the same time ? Any

  • I can't buy gem clash of clans . Why ? .

    .. the first time , i spent 200$ to buy gem but now I can't buy it again .. what happens ? I try a lot of time .. but i can't ... they said " unable to complete your purchase transactions " .. =.= please help me ! thanks

  • Best practices and tips help needed to create animation

    Hi There I am producing my first project in AE and came across this example which is similar to what  of which I need to implement in the project. http://www.lonja.de/wikipen/ (see 8 seconds in on the imagespot video) My scenario is I need to portray