Custom data within EDI_DC40 Idoc record

Hi!
We have the following scenario:
flat file->file-adapter->XI 2.0->IDOC->R/3
We now have a situation where we need to fill in custom SNDPRN (Sender Partner Number) into the EDI_DC40 control record of the IDOC in question. I am able to fill in these custom numbers just fine in my mapping program, but it seems like the IDOC adapter always overwrites the field's value with the ALE Name configuraed in the SLD for the SenderBusiness System.
So my question is:
Is it somehow possible to keep the IDOC adapter from overwriting control-records fields inserted withing my mapping program? Or is it somehow possible to still modify the control-records fields after the message has passed trough the IDOC adapter?
Thanks for any help,
-Hans Dumbrajs

Hi!
Sorry for the late reply, I have been on holidays in between.
Thanks for the info, would you happen to have any more
specific information? Maybe a patchlevel, or SAP note that you could refer me to? For XI 3.0 I found note number 728792, but this will not help me with XI 2.0.
Thanks in advance for any more info!
-Hans

Similar Messages

  • Tabular Form - submit custom data and insert/update records

    I have a tabular form with 2 columns representing table data and 5 more custom columns.
    Task ID
    Task Name
    10/7/2013 to 10/13/2013
    10/14/2013 to 10/20/2013
    10/21/2013 to 10/27/2013
    10/28/2013 to 11/3/2013
    11/4/2013 to 11/10/2013
    1
    TASK1
    2
    TASK2
    3
    TASK3
    I use an sql which returns null values for columns 3 to 7. Then I use the html formatting option of apex and jquery to add change the headers to weeks and add checkboxes.
    My sql: select task_id, task_name, null week1, null week2, null week3, null week4, null week5 from <table name>
    My table has the columns task id, task name , start_date and end_date.
    When the user clicks the submit button, i need to send the checkbox data to my stored procedure and insert records into the corresponding table. I am unable to find out how to send a mapping of the task_id, date headers in each column and the checkbox data to apex back end and process them. For example, if the first check box in first row is checked, i should insert a row with values "1, TASK1, 10/7/2013, 10/13/2013". I also have to read the data from the table and display it in the same format. Please let me know how to accomplish this in apex.

    instead of using null, you can use apex_item api to create check boxes
    read http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35127/apex_item.htm#CHDDCHAF
    you can set the value of check boxes using apex_item api and then the value can be captured in your process
    check this: Martin Giffy D'Souza on Oracle APEX: APEX Report with checkboxes (advanced).
    let me know if this answers your query in the current thread
    Regards,
    Vishal
    Oracle APEX 4.2 Reporting | Packt Publishing
    Vishal's blog

  • Customer Data Security Privacy Anonymization / De-identification / HIPAA

    Hi - Healthcare industry. We have a global CRM system where customers/contracts and transactions originate in CRM and a good bit of the customer data replicates to ECC.  We have a need to secure customers/contacts such that they don't appear in search lists unless agent is authorized and we also have a need to anonymize customer data within certain transactions.
    Anyone experience similar? Ideas?
    Thanks, R

    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!

  • What is Customer data integration Hub

    Hi all,
             can anyone please explain what is  Customer data integration hub and what are customer data models and gloden record process

    Hi Reddy,
    CDI- Customer Data Integration is all about integrating Customer master data using MDM.A customer data includes a lot of customer information like the name of Customer,address etc which can lead to Inaccurate and inconsistent master dtaa.
    So integrating Customer master records with MDM so as to eliminate these master data problems is the goal of CDI.
    You can refer futher additional links on CDI.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a09fdcda-e8b9-2910-29a0-e2c7ca1f008e
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10ff8340-7316-2a10-4cba-99b001cf83e2
    Customer Data Integration (CDI) at TechEd: DU150
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e01d1085-5a51-2a10-2292-b52eb7500180
    You can also refer to all MDM IT scenarios in the below link:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/56763d46-0a01-0010-058e-a0e124279607 (IT scenarios overview)
    SDN does not encourage the exchange of email ids over forums.If you have any futher queries on MDM or any realted Topics,you can kindly post your questions here and we will be there to address them.
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • How to upload different views of customer master data using LSMW-IDOC

    I need to upload customer master data  using LSMW Idoc method for my client. Now customer will have different views like main view, Sales data, Company code data, Partner function data etc. And except main data all other data can be multiple for each customer. We are going to upload data from tab delimited .TXT file. Should I propose different LSMW for upload different views for the customer from different .TXT files? or we can upload all the customer related data (like main view data and partner function data )from a single .TXT file. Kindly suggest which one in convenient and how we can prepare the data file in both cases.

    convinient is the method that you can handle.
    but as the guy who loads the data you have to load the data like they are available, like it is convinient for others to prepare the data.
    In general there is no problem to use an IDOC method to load a customer master with multiple comany codes and several sales orgs in one shot.
    the data can be in one source file, but need then to be maintained in a certain way
    Example1: all data in 1 structure
    GD1 - CC1 - SO1
    GD1 - CC2 - SO2
    GD1 - CC2 - SO3
    in this case the GD (general data) is redundand in each line which has different Company code data or different Sales Org data
    Example2: all data in 3 sturcures but one file
    GD1
    .CC1
    .CC2
    ..SO1
    ..SO2
    ..SO3
    Example3: data delivered in 3 files - you join the files in LSMW, they must have a common identifier like the old customer number in the beginning of each file
    FILE General data:
    GD1
    GD2
    GD3
    file Compamy code data:
    CC1
    CC2
    CC3
    file Sales org data:
    SO1
    SO2
    SO3
    LSMW is flexible and can handle each of this scenarios, are you flexible too?

  • Delta enable custom func mod data source for Delete record also

    Hi,
    We have a custom function module data source and the base table on which data is extracted has two time stamp fields ( created on, changed on ) and the data source is delta enabled with the timestamp field.
    It works aboslutely fine in Full and initial mode and load data into a target ODS.
    Even in delta mode we believe that it works in most of the cases( only change of an existing records and creation of new records). However in the case of delete, we have issues.  When the data is deleted from the base table we completely loose the record and can’t advice the BW which one to delete.
    In order to bypass this we have analyzed the cdhdr/cdpos table and found out that that we can compute the Key field value that was deleted from the last delta run and can include it as such in the data that are extracted.
    Big Question is by what mechanism we let the BW know that this is a delete, so that the existing record( with the same key) is actually deleted from the ODS. I have seen some fields like 0RECORDMODE doing things in SAP delivered  content. But not sure how we can get this work for our custom data source. 
    Please let us know whether you need any clarification on this. I shall be prompt to provide points who can resolved this showstopper issue for us.
    Thanks

    Hi Aruna,
    I have tried to explain : "Big Question is by what mechanism we let the BW know that this is a delete"
    Now to create a DataSource, you will have to include the information from the Tables as you mentioned:
    1: CDHDR
    2: CDPOS
    In this table you can check the CHANG_ID as the field which gives the information of
    1: Overwrite
    2: Add
    3: Delete
    Now when you create the Function Module, make a field similar to this and read the R/3 Table field CHANGE_IND and pass the relevant Indicators to the BW in the Transfer Rules
    Like
    CDHDR refers 'D' for delete but In BW 'R' denotes Deleted image. So the FM should take care this and pass the blank for all and 'R' for the documents with 'D' for each line item along with the other required fields.You will have to use an ODS in this case.
    note: Plz check the logic of Change Ind "E". I am not sure of this type.if you want to delete 'E' then pass the value as 'R' to the BW system for documents with 'E' CHANGE_IND.
    Hopes i made it clear.
    regards
    Happy Tony
    Points == Thanks

  • Call Oracle procedure with custom data type within Java and Hibernate

    I have a custom date TYPE in Oracle
    like
    CREATE TYPE DATEARRAY AS TABLE OF DATE;
    and I have a Oracle function also
    like
    CREATE OR REPLACE FUNCTION doesContain (list DATEARRAY, val VARCHAR2) RETURN NUMBER
    IS
    END doesContain;
    In my Java class,
    I have a collection which contain a list of java.util.Date objects
    When I call Oracle function "doesContain", how to pass my java collection to this Oracle function ...
    anyone can provide solutions?
    Please !!!
    Thanks,
    Pulikkottil

    Vu,
    First of all you need to define your types as database types, for example:
    create or replace type T_ID as table of number(5)Then you need to use the "oracle.sql.ARRAY" class. You can search this forum's archives for the term "ARRAY" in order to find more details and you can also find some samples via the JDBC Web page at the OTN Web site.
    Good Luck,
    Avi.

  • Adding new Customer data KNA1

    Hi,
    I'm looking for a function or a Bapi that let you add new Customer data. And I have to specify the new customer number being used ( comes from an import file )
    The tables that seem to be getting populated are
    TABLES: KNA1,
            *KNA1,
            KNVP,
            KNVV,
            KNVK,
            T151T,
            T077X,
            ZPAFDFLT.
    TABLES  KNB1.
    The important bit is also specifying the customer number I want to use and not having SAP give me the number.
    Thanks

    Hi Sims,
    I see that you marked the post as answered, but there was an open ended question in your latest post. Did you find an answer or you still need help?
    Standard SAP's account group for prospect customer is 0005. This is what you should see in your KNA1 record for all the prospective customers. If not, then you must be a using a custom account group. In config, this account group must have been configured to allow external numbering. Here is the path in config for verifying that(tcode SPRO).
    Implementation Guide for R/3 Customizing (IMG)
    -->Financial Accounting
       -->Accounts Receivable and Accounts Payable
          -->Customer Accounts
             -->Master Records
                -->Preparations for Creating Customer Master Records
                   -->Create Number Ranges for Customer Accounts
                   -->Assign Number Ranges to Customer Account Groups
    Next thing is to load them into your system automatically. How are prospective customers registered? Do you get a file or do prospective customers register online? If they are registered online, then you need some kind of connectivity with SAP(so what is it) and a suitable RFC or BAPI. Right now, I don't see any standard BAPI or RFC that will enable you to create customers with external numbering. So you may have to use IDOC functions or a custom RFC function for the purpose.
    If you are getting this information on a file, then you can use LSMW to load the customers. Please let me know your scenario so that we can come up with a solution.
    Srinivas

  • Data length error in record 86.

    Data length error in record 86.
    Message no. FV147
    Diagnosis
    An error occurred in the processing of the data to be imported. It is highly probable that this is a data error.
    Contact your data provider.
    System Response
    Any account statement processing currently underway and any outstanding is being terminated.
    Procedure
    Check the structure of the supplied data. If the statement data you have obtained is error-free, you can simply restart the program. All those statements which have already been imported correctly will not be reimported.
    {1:F01SCBLINBBXXXX3446100003}{2:O9400634140719SCBLINBBXXXX34461000031407190634N}{3:{108:00000000000718}}{4:
    :20:14071905fr309439
    :25:52205785839
    :28C:611
    :60F:D140718INR792788,04
    :61:1407180718CR100000,00N169NONREF         
    :86:IN36701407187774 VIJBH14199069837
    IN36701407187774 VIJBH14199069837
    AGARWAL AGENCIES
    :61:1407180718CR150000,00N169NONREF         
    :86:IN36701407187251 SBIN414199017384
    IN36701407187251 SBIN414199017384
    EAGLE FOOTWERE
    :61:1407180718CR100000,00N169NONREF         
    :86:IN36701407187052 SAA96678573
    IN36701407187052 SAA96678573
    TANVEER TRADERS
    :61:1407180718CR98000,00N169NONREF         
    :86:IN36701407186828 SBIN314199982628
    IN36701407186828 SBIN314199982628
    MODERN AGENCY
    :61:1407180718CR179000,00N169NONREF         
    :86:IN36701407186029 SAA96670577
    IN36701407186029 SAA96670577
    BALAJI ENTERPRISES
    :61:1407180718CR60000,00N169NONREF         
    :86:IN36701407185397 367845438
    IN36701407185397 367845438
    SAKSHI ENTERPRISES
    :61:1407180718CR2000000,00N169NONREF         
    :86:IN3670140718H568 SBIN414199360804
    IN3670140718H568 SBIN414199360804
    RELAXO FOOTWEARS LIMITED
    :61:1407180718CR38000,00N169NONREF         
    :86:IN3670140718G554 CBINH14199566672
    IN3670140718G554 CBINH14199566672
    WONDER WALK AGENCIES
    :61:1407180718CR113000,00N169NONREF         
    :86:IN3670140718F851 JAKA140718621672
    IN3670140718F851 JAKA140718621672
    JYOTI SALES PROP MR AMIT VOHRA S
    :61:1407180718CR54200,00N169NONREF         
    :86:IN3670140718F006 BKIDN14199343033
    IN3670140718F006 BKIDN14199343033
    SHAH FOOT WEAR
    :61:1407180718CR64000,00N169NONREF         
    :86:IN3670140718F094 BKIDN14199343132
    IN3670140718F094 BKIDN14199343132
    MUSKAN TRADERS
    :61:1407180718CR114500,00N169NONREF         
    :86:IN3670140718F423 SBIN414199302946
    IN3670140718F423 SBIN414199302946
    GOUTAM DISTRIBUTORS
    :61:1407180718CR63000,00N169NONREF         
    :86:IN3670140718D651 SD1141261589
    IN3670140718D651 SD1141261589
    M K FOOTWEAR
    :61:1407180718CR67913,00N169NONREF         
    :86:IN3670140718D057 SBIN414199247753
    IN3670140718D057 SBIN414199247753
    SSS PG STORES
    :61:1407180718CR130000,00N169NONREF         
    :86:IN3670140718D183 UTBIN14199275937
    IN3670140718D183 UTBIN14199275937
    GOPAL SHOES
    :61:1407180718CR48000,00N169NONREF         
    :86:IN3670140718C628 CBINH14199546949
    IN3670140718C628 CBINH14199546949
    AGGARWAL FOOTWEAR
    :61:1407180718DR5000000,00N506PIRLXOIN01A00468
    PIRLXOIN01A00468                 
    :86:PIRLXOIN01A00468 SCBLR12014071800003757
    CASH SCBLR12014071800003757
    RELAXO FOOTWEARS LIMITED
    SIN09373C0000423 00001 PIRLXOIN01A0
    0468
    PIRLXOIN01A00468
    :61:1407180718DR4000000,00N506PIRLXOIN01A00469
    PIRLXOIN01A00469                 
    :86:PIRLXOIN01A00469 SIN09373Q0000468
    PIRLXOIN01A00469-SIN09373Q0000468
    SB3670140718HK96
    SIN09373C0000424-00001 PIRLXOIN01A0
    0469
    :61:1407180718DR1699195,25N699TRF            
    :86:316031790865 PAY001
    316031790865 PAY001
    GRAND WISE ENTERPRISES LIMITED
    AKMP037
    USD28,030.8 60.5755/INR743.76 1
    DEBIT IMEX CUSTOMER A/C
    :61:1407180718CR480000,00N195NONREF         
    :86:IL36701407182157 BARBR52014071800734481
    CASH BARBR52014071800734481
    APNA FOOT WEAR
    SENDER IFSCBARB0CHARMI
    IL36701407182157
    :61:1407180718CR235000,00N195NONREF         
    :86:IL36701407185517 SBINR52014071801147506
    CASH SBINR52014071801147506
    PRAKASH FOOT WEAR
    FUND TRF FRM 33174969142 TO52205785
    SENDER IFSCSBIN0016310
    IL36701407185517
    :61:1407180718CR500000,00N195NONREF         
    :86:IL36701407185083 SBINR12014071801142317
    CASH SBINR12014071801142317
    MODERN FOOTWEARS
    SENDER IFSCSBIN0001521
    IL36701407185083
    :61:1407180718CR800000,00N195NONREF         
    :86:IL36701407184746 HDFCR52014071851912408
    CASH HDFCR52014071851912408
    FASHION SQUARE
    SENDER IFSCHDFC0000412
    IL36701407184746
    :61:1407180718CR332000,00N195NONREF         
    :86:IL36701407184713 SBINR52014071801140001
    CASH SBINR52014071801140001
    WINGS POLYMERS
    SENDER IFSCSBIN0001581
    IL36701407184713
    :61:1407180718CR450000,00N195NONREF         
    :86:IL36701407184302 FDRLR52014071800031798
    CASH FDRLR52014071800031798
    ABHINAV ENTERPRISE
    SENDER IFSCFDRL0001492
    IL36701407184302
    :61:1407180718CR650000,00N195NONREF         
    :86:IL36701407183976 UCBAR32014071800058993
    CASH UCBAR32014071800058993
    GAYLORD SHOE AND CHAPPAL
    SENDER IFSCUCBA0000048
    IL36701407183976
    :61:1407180718CR700000,00N195NONREF         
    :86:IL36701407183860 SBINR52014071801134507
    CASH SBINR52014071801134507
    FOOTWEAR HOUSE
    RTGS TGH CHQ NO 172867
    SENDER IFSCSBIN0008602
    IL36701407183860
    :61:1407180718CR250000,00N195NONREF         
    :86:IL36701407183487 SBINR52014071801131379
    CASH SBINR52014071801131379
    PRATAP AGENCY PROP MRS SUNITA KUMRA
    SENDER IFSCSBIN0014152
    IL36701407183487
    :61:1407180718CR254740,00N195NONREF         
    :86:IL36701407182511 HDFCR52014071851915942
    CASH HDFCR52014071851915942
    HEPHZIBAH AGENCIES
    SENDER IFSCHDFC0001498
    IL36701407182511
    :61:1407180718CR398000,00N195NONREF         
    :86:IL36701407182496 BARBR52014071800726312
    CASH BARBR52014071800726312
    RAZA FOOT WEAR
    SENDER IFSCBARB0BASTIX
    IL36701407182496
    :61:1407180718CR300000,00N195NONREF         
    :86:IL36701407182349 KKBKR52014071800664337
    CASH KKBKR52014071800664337
    M M DISTRIBUTORS
    PAYMENT
    SENDER IFSCKKBK0000958
    IL36701407182349
    :61:1407180718CR61136,00N169NONREF         
    :86:IN3670140718C504 IOBAN14199026875
    IN3670140718C504 IOBAN14199026875
    M S CHINNS TRADERS
    :61:1407180718CR79995,00N169NONREF         
    :86:IN3670140718C142 SBIN414199219784
    IN3670140718C142 SBIN414199219784
    FRONTIER TRADING COMPANY
    :61:1407180718CR100000,00N169NONREF         
    :86:IN3670140718B731 SBIN414199200112
    IN3670140718B731 SBIN414199200112
    SHRI AMBEY TRADERS
    :61:1407180718CR125000,00N169NONREF         
    :86:IN3670140718B521 N199140025581074
    IN3670140718B521 N199140025581074
    SHYAM BROTHERS
    :61:1407180718CR68000,00N169NONREF         
    :86:IN3670140718A144 1205061871400003
    IN3670140718A144 1205061871400003
    POPULAR TRADERS PROP PISHORI LAL SETHI
    :61:1407180718CR41000,00N169NONREF         
    :86:IN3670140718A044 P14071849681718
    IN3670140718A044 P14071849681718
    AKSHAY FOOTWEARS
    :61:1407180718CR50000,00N169NONREF         
    :86:IN3670140718A099 BARBH14199284604
    IN3670140718A099 BARBH14199284604
    STAR ENTERPRISE
    :61:1407180718CR100000,00N169NONREF         
    :86:IN3670140718A002 SAA21370357
    IN3670140718A002 SAA21370357
    JAI OMKAR ENTERPRISES
    :61:1407180718CR120000,00N169NONREF         
    :86:IN36701407189725 UTBIN14199269504
    IN36701407189725 UTBIN14199269504
    SANTI STORES
    :61:1407180718CR100000,00N169NONREF         
    :86:IN36701407189538 SBIN414199107266
    IN36701407189538 SBIN414199107266
    VINAYAK TRADING
    :61:1407180718CR100000,00N169NONREF         
    :86:IN36701407189842 SAA3564919
    IN36701407189842 SAA3564919
    SKY STYLE MARKETING PROP.ABHISHEK S
    :61:1407180718CR120000,00N169NONREF         
    :86:IN36701407189384 MAHBH14199609866
    IN36701407189384 MAHBH14199609866
    ROYAL FOOT WEAR
    :62F:D140718INR1697499,29
    :64:C140718INR59273846,71
    -}{5:{CHK:CHECKSUM DISABLED}{MAC:MACCING DISABLED}}

    SAP REPLAY
    Regarding the incidence itself, kindly consider that The 86-record
    limitation is not a bug of the program, but the standard design.
    The error is coded as FV147, when the Note to Payee in Record 86
    exceeds 65 characters in Program RFEKA400.
    You will need to contact your Bank in order to obtain a correct file:
    I have attached some documentation on this message that will allow your
    bank to create it.
    Otherwise, you may use the following user-exit (SAP NOTE 494777):CMOD
    Enhancement Exit Name FEB00004 > EXIT_RFEKA400_001.
    This User Exit is called in RFEKA400 in the line: PERFORM
    PROCESS_RAW_DATA TABLES SWIFT. In Include ZXF01U06, you have
    the option to process the raw data.
    Hope this information is useful to you.

  • How to create a custom function module with the records in SAP R/3?

    Hi All,
    How to create a custom function module with the records in SAP R/3? Using RFC Adapter I have to fetch the custom function module records.
    Regards
    Sara

    Hi
    goto se37...here u need to create a function group... then u need to create a function module. inside assign import/export parameters. assign tables/exceptions. activate the same. now write ur code within the function module
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm
    Look at the below SAP HELP links, These links will show you the way to create a Function Module
    http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm

  • Version number conflicts with NI custom data types

    Custom data type version number conflicts
    Options
    Mark as New
    Bookmark
    Subscribe
    Subscribe to RSS Feed
    Highlight
    Print
    Email to a Friend
    Report to a Moderator
    07-11-2011 08:10 AM
    I am new to Teststand software interface.  While doing my first software release under the guidance of a more experienced colleague, we discovered that Teststand will not run if it detects version number conflicts between custom data types on my machine vs. the production test machine.  I verified differences between all .seq files in my test program directory, but I did not realize that the version number difference exists in the StationGlobals.ini file, which is stored in a different location.  After discovering this, I modified the version number in one of the files.  However, two releases later, I discovered that the version number mismatches in another two files.  This raises several questions for me :
    1.  Is there a way in Teststand to view all the .seq files where a custom data type is used and then change its version number in one attempt?
    2.  Under what instances does Teststand upgrade the version number of a custom data type?
    3.  Are there any tools or scripts within Teststand that can allow the version number of custom data types to be changed in all .ini files when a difference is discovered between the current production test station settings and a new release?
    Please help.

    Have you read this?  http://zone.ni.com/devzone/cda/tut/p/id/7060
    I can tell you that your situation is not uncommon with TestStand.  The key is just doing it right the first time.  haha
    #1- I doubt that this is possible because then TestStand would have to know every location of every .seq on the machine.  You will only see it when you open the sequence file.
    #2- TestStand updates the version every time you change it.  You should get a message popup when you try to save that asks if you want to increment the version or not.  There's also a check box that says Remove Modified Mark From Types.  Look under Station Options in the File tab.  There are some settings there about Type conflicts.
    #3- http://zone.ni.com/devzone/cda/tut/p/id/7910
    http://digital.ni.com/public.nsf/allkb/4153576DA04BEB098625743D00704A09
    Hope this helps,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • How to Test SSRS Custom Data Extension in TSql

    Hi There,
    I have created a custom data extenstion for SSRS 2008 Reporting Service.
    I can test the CDE in the Report DataSet -> DataSet Properties -> Query Designer -> Run Query.
    In the Command Text I pass parameters to the invoked VB code which is of type "BaanstedeCds" then name of my custom data extension.
    I can even Attach the Visual Studio VB Code Project that is invoked by the Query Designer an debug the code.
    The custom data extension works perfectly in SSRS.
    However I have not found a way yet to run BaanstedeCds (with a parametertext) from within SSMS 2008 by using an T-SQL statement!!! Is there a way to use the SSRS Custom Data Extension in Sql Server Management Studio using the dataset type I used in
    SSRS 2008?
    Because I am leaving the path of using Custom Assemblies in SSMS, for deploying an testing that way is undoable for me.
    I is to complicated and in order to properly debug these routines the entire solution of multiple projects is deployed each time even the slightest change has been made to the VB code. Also if I want to deploy from Test to Production it is very hard. I have
    to detach the databases etc, ect.  Note my previous question about this subject that remained unanswered!!!
    Using the Custom Data Extension the problems are a lot less. However I how do I use a routine in the CDS in T-SQL, like I could invoke a routine in the Custom Code Assemblies?
     I "hate" CLR routines. I have extreme trouble managing these CLR's as I explained in my post and other posts in the past.
    You just cannot build a maagable system that way.
    I had to convert all the CLR's (I had a lot of them) to Custom Data Extension Functions, as they do not have all the drawbacks  of CLR's.
    And using the CDE with all the converted CLR's in it works much better for me in the Report Manager.
    However in order to test de CDE I must invoke the CDE in a Windows Form something like this:
    Private Sub cmdGetData_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdGetData.Click
    Dim CommandText As String = ""
    ' Get Parameters for CDE GetData
    CommandText = txtAdoCds.Text
    Dim Rdr As New BstCds.BaanstedeCdsReader(CommandText)
    ' Invoke GetData Function of CDE Rdr
    ' Input: CommandText: txtAdoCds.Text = TextBox on TestForm
    ' Output: DataTable: RdrDataTable
    Call Rdr.GetData(CommandText)
    If Not Rdr.RdrRetVal Then
    GoTo End_Method
    End If
    ' Show DataTable: RdrDataTable (in Excel)
    If Not BstOff.ToonTabel(DataTabel:=Rdr.RdrDataTable) Then
    Exit Sub
    End If
    End_Method:
    End Sub
    '=========================================================================
    ' File: BaanstedeCdsReader.vb
    ' Summary: Provides a means of reading one or more forward-only streams
    ' of result sets obtained by executing a command at a data source,
    ' and is implemented by Baanstede Data Processing Extensions
    ' that access BaanstedeIw3-routines.
    '=========================================================================
    Public Class BaanstedeCdsReader
    Implements IDataReader
    #Region "Public Variables"
    Public RdrRetVal As Boolean = False
    Public RdrSqlSel As String = ""
    Public RdrDataTable As DataTable = New DataTable
    #End Region
    #Region "Constructors"
    #End Region
    #Region "IDataReader Members"
    #End Region
    ' GetData '
    #Region "GetData Method"
    '==================================================================================================
    'We are executing the command using the connection string that connects to the Active Directory.
    'Hard coding of the connection string is because it is the same for all the ADs.
    'Once we read the data using a DataReader, we place the same in a DataTable so that can be used for
    'Other processings.
    ' Public Sub GetData(ByVal _CommandText As String)
    ' Output in Public RdrDataTable As DataTable
    '==================================================================================================
    Public Sub GetData(ByVal _CommandText As String)
    ' Ophalen Data in DataTabel '
    RdrRetVal = False
    ' Fills RdrDataTable Using _COmmandText
    RdrRetVal = True
    End Sub
    But can I invoke Report Manager Source Type BaanstdeCds's .BaanstedeCdsReader.GetData(CommandText) in TSQL any other way then using CLR ?
    Regards Jos
    It works, but it does not work (The program runs, but does not produce the desired result)

    Hi Josje,
    Thank you for your question.
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
    Thank you for your understanding and support.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • Issue with creating array of custom data type - WebLogic Integration

    Hi,
    We are doing WebLogic integration with Siebel for which from Siebel side we have generated java wrapper class which has all the methods, input\outputs defined and in\out params are serialized along with get\set methods. Following are the details of the input\output args.
    Account_EMRIO.java
    public class Account_EMRIO implements Serializable, Cloneable, SiebelHierarchy {
    protected String fIntObjectFormat = null;
    protected String fMessageType = "Integration Object";
    protected String fMessageId = null;
    protected String fIntObjectName = "Account_EMR";
    protected String fOutputIntObjectName = "Account_EMR";
    protected ArrayList <AccountIC> fintObjInst = null;
    Above class also includes constructors\overloaded constructor\getters\setters
    public AccountIC getfintObjInst() {    
    if(fintObjInst != null) {
    return (AccountIC)fintObjInst.clone();
    }else{
    return null;
    public void setfintObjInst(AccountIC val) {
    if(val != null) {
    if(fintObjInst == null) { 
    fintObjInst = new ArrayList<AccountIC>();
    fintObjInst.add(val);
    For the nested user defined data type AccountIC, it is defined in another java class as below
    AccountIC.java
    public class AccountIC implements Serializable, Cloneable, SiebelHierarchy {
    protected String fname = null;
    protected String fParent_Account_Id= null;
    protected String fPrimary_Organization = null;
    With the above, I was able to get all the AccountIC in the wsdl correctly and using this I was able to set the input param in the client
    WSDL:
    <xs:complexType name="accountEMRIO">
    <xs:sequence>
    <xs:element name="fIntObjectFormat" type="xs:string" minOccurs="0"/>
    <xs:element name="fIntObjectName" type="xs:string" minOccurs="0"/>
    <xs:element name="fMessageId" type="xs:string" minOccurs="0"/>
    <xs:element name="fMessageType" type="xs:string" minOccurs="0"/>
    <xs:element name="fOutputIntObjectName" type="xs:string" minOccurs="0"/>
    <xs:element name="fintObjInst" type="tns:accountIC" minOccurs="0"/>
    </xs:sequence>
    <xs:complexType name="accountIC">
    <xs:sequence>
    <xs:element name="fName" type="xs:string" minOccurs="0"/>
    <xs:element name="fParent_Account_Id" type="xs:string" minOccurs="0"/>
    <xs:element name="fPrimary_Organization" type="xs:string" minOccurs="0"/>
    minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    Now, I wanted to make slight difference in getter method of class Account_EMRIO method getfintObjInst so that an array of AccountIC is retured as output.
    public ArrayList<AccountIC> getfintObjInst() {    
    if(fintObjInst != null) {
    return (ArrayList<AccountIC>)fintObjInst.clone();
    }else{
    return null;
    With the above change, once the wsdl is generated, I am no longer getting fintObjInst field for AccountIC due to which I am unable to get the array list of accountIC
    WSDL:
    <xs:complexType name="accountEMRIO">
    <xs:sequence>
    <xs:element name="fIntObjectFormat" type="xs:string" minOccurs="0"/>
    <xs:element name="fIntObjectName" type="xs:string" minOccurs="0"/>
    <xs:element name="fMessageId" type="xs:string" minOccurs="0"/>
    <xs:element name="fMessageType" type="xs:string" minOccurs="0"/>
    <xs:element name="fOutputIntObjectName" type="xs:string" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    The issue that I am facing here is, we have a custom data type(AccountIC) which has several fields in it. In the output I need a array of AccountIC. In the java bean, when this type was defined as
    protected ArrayList <AccountIC> fintObjInst = null; I was unable to get a array of AccountIC. this gets complicated as inside a AccountIC there is array of contacts as well and all the time I am getting just the first records and not a array.
    To summarize: How to get xsd:list or maxoccurs property for a field in WSDL for the user defined\custom datatype?
    Can someone help me with this.
    Thanks,
    Sudha.

    can someone help with this??

  • Error on creation of customer classification processing with IDOC CLFMAS

    Hy everybody,
    I create customer in 4.6c system. 
    So I use IDOC DEBMAS for customer data and CLFMAS for classification.
    But when processing the classification IDOC,after customer integration, i have the following message return by IDOC.
    ==>   "Vendor & does not exist".
    But IDOC status is set to 53.
    I have filled the structure E1OCLFM with the following values:
         - MSGFN = 009 for creation
         - OBTAB = KNA1 (for customer)
         - OBJEK = Customer number created previously
         - KLART = 011 (Customer Class)
         - MAFID = 0
         - OBJECT_TABLE = KNA1
    So i don't understand why i have this message. 
    Does anyone help me on this problem?
    Thank in advance.

    Hi Ludovic,
    How did you resolve your earlier issue with correction of parther profile? I am getting teh same error while posting CLFMAS for a customer i.e. OBJEK 1100000215 ( KNA1) not found, where 1100000215 is my customer number ( KUNNR).
    Could you please advise me how to resolve this?
    Many thanks in advance
    Regards
    Dev

  • Issue in creating a custom data model from BP

    Hi Team
    We have a requirement to create a custom data model by copying data model BP. I have successfully created new data model ZP . I have copied the UI for searching from BP. Issue is when i search a business partner  ideally it should not display any entries because i have just created the data model, But it is taking entries from BP and getting displayed. Please let me know how to map data model to search UI. I dont see option USMD_MODEL here

    Hi Imran,
    actually that is not an issue but a designed feature. I'm afraid that you need to re-think your whole project. The explanations is rather simple:
    Data model BP in MDG is a so called Re-Use Area data modell. This means that active data (records that are currently not stored in a change request) are saved in existing SAP ERP data base tables like BUT000 for the business partner master data and LFA1 or KNA1 for Vendor or Customer master data.
    If you copy data model BP to ZP you still refer to the same active area. You will always find the same active objects - no matter which data model you are actually using for the user interface. The only difference wil occur for objects being currently processed in a change request. In that case a separation between BP and ZP is possible. But this won't help to solve your issue.
    From SAP side I can only recommend not to copy BP but to find a different way of integrating your project needs into BP.
    Best regards
    Michael

Maybe you are looking for

  • GL Data Transfer

    HI, I want  to ask will it be possible that entire one GL data Transfer  to another GL with out passing JV by any T-code or any other way?

  • Cant download DVD4 driver.

    I havent included my comp specs yet because this is a simple question. I installed a DVD=RW=R yesterday, it worked fine until I used the update ( 130 I think ) then both my DVD drivers were wiped from my comp so I want reinstall them but when I click

  • Can main page be regular web page

    I want to create a normal blog with iWeb, but I cannot figure out how to get each entry to go to the top of the main page, and have all the others still there, sitting below it. I don't want there to be just a photo and paragraph for each entry, I wa

  • Troubles using graphs in labview 6i

    Hello, I am using labview 6i and I have troubles with graphs. This is very simple. I create a new VI, then right clic with the mouse to open the command palette, select a graph, and then try to put it on the front window. Immediatly, an error windows

  • Tablet previously rejected for TradeIn Offer

    Hi Best Buy CS Team, on the previous TradeIn Program I was wrongfully denied at Bust Buy Store 808 because my Tablet was not in the Best Buy Database when the language of the offer clearly stated "any working tablet". I tried to do the trade in on th