Code required for this BDC fb02.

Hi All,
I am sending you the Functional and tech flow design. Can any one write the code as per the below technical flow and send me the code immediately. The time is very less. Further queries give me reply.Points will be definetely rewarded
Functional over view:
This document covers the check and ACH which will be generated through F110 (Automatic Payment Program). A few hours after transmitting checks (the EDI 820’s and 831), Wolseley receive an EDI 824 summary document telling if the transmitted file is ok.  That is, the count and total amount of all the checks matches the count and total in the control totals EDI 831 file.  Wolseley will also receive an EDI 824 detail report of any rejected checks (date is too old, dollar amount is negative, bank routing number is wrong, etc…).  The next morning, Wolseley receives an EDI 821 confirmation that the checks were processed and mailed.  The EDI 821 is a detail document listing all checks that were processed ok.  Any check numbers missing from this file are a result of problems with printing or mailing the checks (the style ID is bad, etc…).
Technical Flow Description
1.     Declare internal tables similar to structures EDI 821 and EDI 824.
2.     Populate these internal tables with flat file data using read dataset or gui_upload. (It depends on type of file i.e sequential file or presentation file)
3.     Get the document number (PAYR-VBLNR), Company code (PAYR-ZBUKR) and Fiscal year (PAYR-GJAHR) from table PAYR into t_tab1 based on check number in the flat file.
4.     Get the number of line items (BSEG-BUZEI) and posting key (BSEG-BSCHL) for accounting document based on internal table t_tab1.
5.     Take the posting key as 25.
6.     Do the recording for Transaction FB02.
7.     If flat file has Record name 'BANK_NOTES' IF CHECK_NUMBER of CHECK_ADVICE of the flat file = BSEG-CHECT then insert NOTES of BANK_NOTES of Flat file into BSEG-SGTXT
8.     If flat file has Record name 'BANK_NOTES' IF CHECK_NUMBER of CHECK_ADVICE of the flat file = BSEG-CHECT. Then update SAP field BSEG-XREF2 .
9.     When Flat file check Number = PAYR-CHECT then Insert Flat file RECEIPT_DATE into SAP field BSEG-XREF1. Then update SAP fields BSEG-XREF1, BSEG-XREF2 and BSEG-SGTXT using BDC call transaction ‘FB02’.

Hi ,
Can any one send me atleast the sample code for my Spec. Its very urgent. Please check my spec and tell me whether you can give me the code.
Functional over view:
This document covers the check and ACH which will be generated through F110 (Automatic Payment Program). A few hours after transmitting checks (the EDI 820’s and 831), Wolseley receive an EDI 824 summary document telling if the transmitted file is ok. That is, the count and total amount of all the checks matches the count and total in the control totals EDI 831 file. Wolseley will also receive an EDI 824 detail report of any rejected checks (date is too old, dollar amount is negative, bank routing number is wrong, etc…). The next morning, Wolseley receives an EDI 821 confirmation that the checks were processed and mailed. The EDI 821 is a detail document listing all checks that were processed ok. Any check numbers missing from this file are a result of problems with printing or mailing the checks (the style ID is bad, etc…).
Technical Flow Description
1. Declare internal tables similar to structures EDI 821 and EDI 824.
2. Populate these internal tables with flat file data using read dataset or gui_upload. (It depends on type of file i.e sequential file or presentation file)
3. Get the document number (PAYR-VBLNR), Company code (PAYR-ZBUKR) and Fiscal year (PAYR-GJAHR) from table PAYR into t_tab1 based on check number in the flat file.
4. Get the number of line items (BSEG-BUZEI) and posting key (BSEG-BSCHL) for accounting document based on internal table t_tab1.
5. Take the posting key as 25.
6. Do the recording for Transaction FB02.
7. If flat file has Record name 'BANK_NOTES' IF CHECK_NUMBER of CHECK_ADVICE of the flat file = BSEG-CHECT then insert NOTES of BANK_NOTES of Flat file into BSEG-SGTXT
8. If flat file has Record name 'BANK_NOTES' IF CHECK_NUMBER of CHECK_ADVICE of the flat file = BSEG-CHECT. Then update SAP field BSEG-XREF2 .
9. When Flat file check Number = PAYR-CHECT then Insert Flat file RECEIPT_DATE into SAP field BSEG-XREF1. Then update SAP fields BSEG-XREF1, BSEG-XREF2 and BSEG-SGTXT using BDC call transaction ‘FB02’.
DATA : BEGIN OF T_ED824 OCCURS 1,
       PAY_ADVICE_HDR(30)  TYPE C,
       CUST_REF(30)        TYPE C,
       PROCESSED_DATE(10)  TYPE C,
       PROCESSED_TIME(5)   TYPE C,
       PAYMENT_ADVICE(30)  TYPE C,
       PAYADVICE_TYPE(3)   TYPE C,
       PAYADVICE_CODE(3)   TYPE C,
       PAYEDBACH(15)       TYPE C,
       TRACE_NUMBER(30)    TYPE C,
       BATCH_AMOUNT(18)    TYPE C,
       ACCEPT_AMOUNT(18)   TYPE C,
       BANK_AMOUNT(18)     TYPE C,
       REJECT_AMOUNT(18)   TYPE C,
       BATCH_COUNT(15)     TYPE C,
       ACCEPT_COUNT(15)    TYPE C,
       BANK_COUNT(15)      TYPE C,
       REJECT_COUNT(15)    TYPE C,
       ADVICE_DESC(30)     TYPE C,
       BANK_NOTES(30)      TYPE C,
       B_TYPE(3)           TYPE C,
       B_NOTES(60)         TYPE C,
       CHECK_ADVICE(30)    TYPE C,
       CHKADVICE_TYPE(3)   TYPE C,
       CHKADVICE_CODE(10)  TYPE C,
       CHECK_NUMBER(10)    TYPE C,
       CHECK_NOTES(30)     TYPE C,
       C_TYPE(3)           TYPE C,
       C_NOTES(60)         TYPE C,
       END OF T_ED824.
DATA : BEGIN OF T_ED821 OCCURS 1,
       PAY_REPORT_HDR(30) TYPE C,
       REPORT_TYPE(5)     TYPE C,
       RECEIPT_DATE(10)   TYPE C,
       CURRENT_DATE(10)   TYPE C,
       PAY_REPORT(30)     TYPE C,
       CUST_ACCT_NUM(35)  TYPE C,
       ISSUE_DATE(10)     TYPE C,
       TRANSAC_AMOUNT     TYPE C,
       CHECK_NUMBER(20)   TYPE C,
       PAYEE_NAME(50)     TYPE C,
       FINANCIAL_CODE(30) TYPE C,
       CHECK_CODE(3)      TYPE C,
       INST_NAME(35)      TYPE C,
END OF T_ED821.
Points will be definetely rewarded

Similar Messages

  • Windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source. (Code

    I get this message when I check the Device manager for my Ipod
    Windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source. (Code 52)
    How do I resolve this I have reinstalled iTunes but it still doesn't recognise my ipod

    I reinstalled Itunes a couple of times.  I unistalled all programs that I never use, I updated all of my drivers, Windows swept my computer and found no problems.  I have a yellow causion lite when I look at the USB-port with the phone connected.  All other devices work without a problem.

  • Windows cannot verify the digital signature for the drivers required for this device. Code 52

    Windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source. (Code 52).
    I have reinstalled, uninstalled, the whole 9 yards.

    See the driver topic of:
    iOS: Device not recognized in iTunes for Windows
    I would start with:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7

  • ERROR: The cabinet file 'Sql.cab' required for this installation is corrupt and cannot be used

    As the title indicates, I'm having this error during installation. It occurs when I try to install
    the "Management Studio" part of the program. I've tried a bunch of things like
    copying to hard drive and installing, but to no avail. To isolate the problem, i've even tried removing Reporting services, since at the time of failure it seems to be trying to install/configure the Microsoft.Reporting Services dll.
    Additionally, I have SQL Express installed (installed it separately, not as part of the SQL 2005 DVD), VS 2005, .NET Framework 2.0, SQL Management Studio Express CTP. Could the Management Studio Express be causing a problem?
    Please note:
    Although the error is about missing / corrupt Sql.cab, I have searched the entire dvd for the said file, but there is no file called Sql.cab on the dvd. Am I missing something?
    Any solution would be greatly appreciated.
    TIA

    I was installing SQLServer2014_Developer which I had just purchased as a 64bit iso download to VirtualBox Windows_10_64bit Instance that i had just created.
    I got the following error about 90% through the SQLServer2014_Developer install:
    >>> ===================================================================
    >>> SQL Server 2014
    >>> ===================================================================
    >>> TITLE: Microsoft SQL Server 2014 Setup
    >>> ------------------------------
    >>> The following error has occurred:
    >>> The cabinet file 'Sql.cab' required for this installation is corrupt and cannot be used.
    >>> This could indicate a network error, an error reading from the CD-ROM, or a problem with this package.
    >>> For help, click:
    >>> h t t p ://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0xDF039760%25401201%25401
    >>> ------------------------------
    A quick rerun of failed SQLServer2014_Developer install just for the Management_Tools and review of the SQLServer2014_Developer install logs
      confirmed error still prelevant:
    C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\...
    >>> ...
    >>> Detailed results:
    >>>   Feature:                       Management Tools - Complete
    >>>   Status:                        Failed: see logs for details
    >>>   Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
    >>>   Next Step:                     Use the following information to resolve the error, and then try the setup process again.
    >>>   Component name:                SQL Server Management Services
    >>>   Component error code:          1335
    >>>   Component log file:            C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20150206_223659\sql_ssms_Cpu64_1.log
    >>>   Error description:             The cabinet file 'Sql.cab' required for this installation is corrupt and cannot be used. This could indicate a network error, an error reading
    from the CD-ROM, or a problem with this package.
    >>>   Error help link:               h t t p ://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=sql_ssms.msi%40InstallFiles%401335
    >>>
    >>>   Feature:                       Management Tools - Basic
    >>>   Status:                        Failed: see logs for details
    >>>   Reason for failure:            An error occurred during the setup process of the feature.
    >>>   Next Step:                     Use the following information to resolve the error, and then try the setup process again.
    >>>   Component name:                SQL Server Management Services
    >>>   Component error code:          1335
    >>>   Component log file:            C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20150206_223659\sql_ssms_Cpu64_1.log
    >>>   Error description:             The cabinet file 'Sql.cab' required for this installation is corrupt and cannot be used. This could indicate a network error, an error reading
    from the CD-ROM, or a problem with this package.
    >>>   Error help link:               h t t p ://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=sql_ssms.msi%40InstallFiles%401335
    >>> ...
    Reading though the many Google hits going way back AD-2000/AD-2006/AD-2011/AD-2014 for various installs including SQLserver_2008/2012 etc
    I noted that in the main there were x2 common themes.
    1. Problem with corruption the original download.
    --- Although I had not run the download checksum
    --- I had previously just installed SQLServer2014_Developer successfully, so at the minute, I was confident downloads were ok.
    --- Many hits mentioned this 'Sql.cab' file and 90% of the install had been successfull -
    --- I figured the chances of us all having corruption of this one files were agaianst the odds and
    ---   probably re-downloading it would not fix this - but I kicked a re-download off anyhow .
    While it was running ...
    2. Network issue when installing - some of the hits asked if could be related to Virtual drives.
    --- This struck a chord
    --- I had downloaded the SQLServer2014 .iso to my host PC and then copied it onto one OneDrive so I could access it within the VirtualBox_Windows_10.
    --- From within the VirtualBox_Windows_10 I had then used SetupVirtualCloneDrive5450.exe to mount the OneDrive SQLServer2014 .iso and then autorun the install.
    What worked for me ...
    --- I decided to
    --- 1. Copy the same SQLServer2014 .iso that had failed to install x2 from OneDrive to the c:\ root of the VirtualBox_Windows_10.
    --- 2. Remount the same SQLServer2014 .iso from c:\ again using SetupVirtualCloneDrive5450.exe.
    --- 3. Re-run the SQLServer2014 install using the repair mode.
    This time the [Maintenance] [Repair] install completed with all elements showing installed successfully.
    Hope this helps
    Andy

  • Where can I find the coupon code required for registration?

    Where can I find the coupon code required for registration? I purchased the design standard at Officeworks in Australia and given the box a thorough check, but unless there is a number not labelled 'coupon code', it's definitely not there. I am using this product personally and not for business so I have no IT dept to assist.

    Find a serial number
    For anything else contact support directly or work things out with your reseller.
    Mylenium

  • "Windows cannot verify the digital signature for the drivers required for this device."

    When I connect my iPod to my laptop, it only connects for about 10 seconds before disappearing. If I look at the iPod's properties in the Device Manager, it says:
    Windows cannotverify the digital signature for the drivers required for this device. A recenthardware or software change might have installed a file that is signedincorrectly or damaged, or that might be malicious software from an unknownsource. (Code 52)

    I would uninstall and reinstall the Apple software.  See the following.  The following also has a link for Win7/Vista
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP

  • Windows cannot verify the digital signature for the drivers required for this device. A recent hardw

    windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change might have installed a file that is singned incorrectly or damaged, or that might be malicious software from unknown source (Code 52)

    Hi,
    What are you trying to do ? To help us answer question quicker, please read this:
       http://h30434.www3.hp.com/t5/First-Time-Here-Learn-How-to/Welcome-Get-started-here/td-p/699035
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • I am trying to install iTunes on my PC, but I get this error: "There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor." Help!

    I am trying to install iTunes on my PC (using Windows 8.1), but I get this error: "There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor." The iTunes file (64-bit) I am trying to install, is named "iTunes64Setup.exe". What seems to be the problem? Help!

    Hey madnest,
    Thanks for the question. After reviewing your post, it sounds like you are having difficulty installing iTunes in Windows. I would recommend that you read this article, it may be able to help you resolve or isolate the issue.
    Issues installing iTunes or QuickTime for Windows
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • I get the errer message "There is a problem with this windows installer package. A program required for this install to complete could not be run."

    I have Wondows Vista... I tried to upgrade to Itunes 10.5, and received an error orginially stating that I was trying to install a version older than the one I had.  I uninstalled all of itunes, and now I'm getting the error  message "there is a problem with this windows installer package.  Aprogram required for this install to complete could not be run.
    Help!  I have an IPhone, and I would like to get my Itunes upgraded so I can download the new Iphone software...
    Thanks!

    I have been in touch with Apple support in reference to my problem. We went through every solution available, and found no fix. The tech then suggested I contact Microsoft concerning this issue. I thought that suggestion was just to get me pointed somewhere but Apple. Boy was I wrong!! I contacted Microsoft, and was directed to a free download called Microsoft Fix. This program fixed something in the regisitor, and wala everything was fixed!! I now have I-Cloud and I-Tunes loaded and working well. So, if you can't install Apple Software and are running Window 7 you might give Microsoft Fix a try, it fixed my problem.....

  • I'm trying to update iTunes to 10.5.2 and I get the message that "a program required for this install to complete could not be run".  I've tried all of the steps to try to resolve this (I have a PC) but nothing works.  Help please!

    I'm trying to update iTunes to 10.5.2.  I have a Windows 7 64-bit Dell laptop, and when I try to update it, I get the message "There is a problem with this Windows Installer package.  A program required for this install to complete could not be run.  Contact your support personnel or package vendor." 
    I went to the troubleshooting page and did all of the steps they listed:  uninstalled iTunes, deleted by Temp files, even disabled AVG while I downloaded again and tried to install.  I still get the same message.  If anyone can help me, I would really appreciate it!

    You must have gone to the old microsoft post.
    Here is the link:
    http://support.microsoft.com/kb/2438651

  • I am trying to upload itunes 10.5, but get a message "There is a problem with this Window Installer Pkg. A program required for this install to complete could not be run.  Contact your support personnel or package vendor".  What is it I need to do?

    I am trying to install itunes 10.5, but during the download I get the following message, "There is a problem with this Window Installer Package.  A program required for this install to complete could not be run.  Contact your support personanal or package vendor."  If this is my personal computer and was able to upgrade to the previous version (pre 10.5), why not now?  What is my "package vendor"? And what is it I need to do to fix this?  The message is unclear.  Unfortunately, I deleted my itunes program, thinking that in doing so, 10.5 would finally load.  Now I have no itunes on my computer and unable to sync my iphone.  Help!
    Thanks - Rick

    Hi Rick,
    by "repair" I mean I went to the control panel, option - programs and features, and in the list of all my installed programs I selected "Apple Software Update". On top of the screen you find the options Uinstall, Change and Repair. I clicked the repair button and that did the trick. After the repair I could uninstall the program. I also uninstalled iTunes, Apple Application Support, Apple Mobile Device Support en Bonjour, thus all Apple programs. Then I installed iTunes 10.5 again and everything went fine.
    Success,
    Peter

  • HT1926 when trying to setup itunes on my pc i get the following message: there is a problem with this Windows installer package. A program required for this install to complete could not be run. How could I solve this problem?

    when trying to setup itunes on my pc i get the following message: there is a problem with this Windows installer package. A program required for this install to complete could not be run. How could I solve this problem?

    Repair your Apple software update.
    Go to START/ALL PROGRAMS/Apple Software Update. If it offers you a newer version of Apple Software Update, do it but Deselect any other software offered at the same time. Once done, try another iTunes install
    If you don't find ASU, go to Control Panel:
    START/CONTROL PANEL/Programs n Features/highlight ASU and click REPAIR,

  • I'm not able to download Itunes.  I keep getting this Apple Software Update message that states "There is a problem with this Windows installer package.  A program required for this install to complete could not be run.  Contact your package vendor"

    Not able to access Itunes store anymore.  Just quit working for no reason.  I've tried deleting Itunes and related components from the Control Panel, but when I try to remove Apple Software Update, I get a message that states "There is a problem with this Windows installer package.  A program required for this install to complete could not be run.  Contact your support personnel or package vendor".  Not sure what this message means.  Am I suppose to contact Apple ?  What is meant by package vendor ?

    Apparently it's an itunes issue. I just tried to update and got the same issue. Called att to activate my iphone 4s and they say they can do the swap but apple is telling them itunes is down atm.  So will have to wait

  • Error message on window 7 for install iTune and iCloud!!!"There is a problem with this Windows installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor."

    Hi,
    I just try to install the setup download from apple website for iTune and iCloud.
    During the installation, there was error message prompt out "There is a problem with this Windows installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor."
    I am using Window 7 32 bit. I have try several time for install, but the result is getting same error message.
    Anyone can help on this??????
    Thanks.
    Justin

    I have also tried extracting the individual components to the temp file and attempting to install them individually despite being unable to remove the previous install of Apple Software Updater.  The outcome, both Apple Software Updater and itunes encountered the same error message during the install process.

  • An accounting document is not required for this billing document

    Hi,
    While releasing the billing document to accounting the error is coming like "An accounting document is not required for this billing document"
    Diagnosis:
    The billing document has the net value '0' and does not create an accounting document. Despite this, the posting status 'C' (Posting document has been created) is set internally for this billing document.
    But the net value is coming in the sales order and alsi into the Billing document.
    gurus plz help me.
    regards,
    ragesh.

    Goto VOFA screen and check for ur billing type , what is assigned in the document type field?.
    Also please check, the posting block is activated. if it is, please remove.
    Also goto the accounting document type settings at OBA7, check whether the customer field is ticked under the account type allowed tab.
    Please let me know, whether ur problem solved..
    Reward points if useful..

Maybe you are looking for

  • What are the needed tools for JDBC???

    iam new to this field, i want to know what are the required tools for JDBC?? i know that i need java.sql and javax.sql packages, but how can i get them??? what about the drivers??? thnx in advance

  • Problems using window.close() and setting fields

    Hi, I have two problems: First one is: I created a simple JSP with 'Save' and 'Exit' Buttons. In the Exit button on click event I invoked a function closeWindow, which calls teh window.close(). But on clicking Exit, the window does not close. Can any

  • How to create a view  with "WITH CLAUSE"

    Hi, I have a query with "WITH" CLAUSE , I need to create a view on this query. But I am getting error like ORA-32034 : Unsupported sue of WITH clause. Please help me...!! Please find below my query...!! WITH RANGE          AS (SELECT A.MASTERMACHINEI

  • Best Way to Override 'Everyone - Read Only' using ACLs

    Hi, let me first clarify that I'm not an 'official' network administrator, I'm just the only one in a small design office able to attempt to figure this stuff out. We are needing to upgrade our security in a small office (5-7 users, 1 server running

  • Create Primary Database from DR database backup

    Hi Experts I got the requirement as follows: Build Production database using DR backup. When I am creating the Production database(Primary Database),I tried with the Duplicate command to create the primary database using DR backup.It is failing at th