Report 3.0 -- Problem !!!! (Very Urgent)

I have a report on Report 3.0 using Group above style, my SQL
QUERY is
SELECT Bank_CD,MFGR_TRAN_CD,
ACC_NO, BALANCE
FROM BANK_MSTR
I have used grouping on Bank_CD
** MFGR_TRAN_CD --> Manufacturer or Transporter Code
I created 2 PlaceHolders field 1) Bank_name 2) Mgfr_Tran_name
I wrote format_trigger on both these placeholder field
The format_trigger for bank_name is
srw.do_sql('select bk_name into :bank_name from bk where rtrim
(bk_cd) = :bank_cd');
return (TRUE);
The format_trigger for mfgr_tran_name is
if substr(:mfgr_tran_cd,1,1) ='M' then
srw.do_sql(fselect mfgr_name into :mgfr_tran_name from mgfr
where rtrim(mgfr_cd) = :mgfr_tran_cd');
else
srw.do_sql(fselect tran_name into :mgfr_tran_name from tran
where rtrim(tran_cd) = :mgfr_tran_cd');
end if;
The Output I expect is given below,
Mfgr/Tran Code Mfgr/Tran Name A/c No.
Balance
Bank : B01 Bank Of Baroda
M01 Sham Traders 23432
5000.50
T01 ANZ Transport 43543
1000.50
Total
6001.00
Bank : B02 Canara Bank
M02 Kiran Traders 854357
1000.00
T01 ANZ Transport 534455
2000.00
Total
3000.00
But it displays the output as :--
Mfgr/Tran Code Mfgr/Tran Name A/c No.
Balance
Bank : B01 Bank Of Baroda
M01 23432
5000.50
T01 43543
1000.50
Total
6001.00
Mfgr/Tran Code Mfgr/Tran Name A/c No.
Balance
Bank : B02 Canara Bank
M02 ANZ Transport 854357
1000.00
T01 ANZ Transport 534455
2000.00
Total
3000.00
i) If I put a srw.message in format_trigger of mgr_tran_name it
displays
mgfr/tran name correctly for each record.
Why is mgfr/tran name not displayed for every record ?
Why it displays for every record when I insert srw.message
in format_trigger
of mgfr_tran_name
ii) I don't want the heading to repeat after every break of bank
code, only
at the begining of every new page.
Kindly give the solution as soon as possible.
null

Hi Arundhati,
Do the following:
-> Create Formula Columns instead of Placeholder columns in the
the respective Groups.
-> Write the PL/SQL in these Formula Columns and NOT in the
Format triggers.
-> Infact you can use join for Bank name in the query itself,
which would be faster than the Formula column.
-> You may not use SRW.DO_SQL at all, declare a local variable in
a PL/SQL block, fetch the record in this variable and return this
variable. DO_SQL would be slower than direct DML statment. DO_SQL
is mostly used for DDL statements.
Regarding Repeated Heading:
-> Create a frame above the Repeating frame (and the enclosing
frame) for Bank_CD
-> place the boilerplates/Headings in this frame.
-> set the General Layout: Print Condition: Type property of
frame to All.
Hope this helps, if you need further help do let me know.
NS
Arundhati (guest) wrote:
: I have a report on Report 3.0 using Group above style, my SQL
: QUERY is
: SELECT Bank_CD,MFGR_TRAN_CD,
: ACC_NO, BALANCE
: FROM BANK_MSTR
: I have used grouping on Bank_CD
: ** MFGR_TRAN_CD --> Manufacturer or Transporter Code
: I created 2 PlaceHolders field 1) Bank_name 2) Mgfr_Tran_name
: I wrote format_trigger on both these placeholder field
: The format_trigger for bank_name is
: srw.do_sql('select bk_name into :bank_name from bk where rtrim
: (bk_cd) = :bank_cd');
: return (TRUE);
: The format_trigger for mfgr_tran_name is
: if substr(:mfgr_tran_cd,1,1) ='M' then
: srw.do_sql(fselect mfgr_name into :mgfr_tran_name from mgfr
: where rtrim(mgfr_cd) = :mgfr_tran_cd');
: else
: srw.do_sql(fselect tran_name into :mgfr_tran_name from tran
: where rtrim(tran_cd) = :mgfr_tran_cd');
: end if;
: The Output I expect is given below,
: Mfgr/Tran Code Mfgr/Tran Name A/c No.
: Balance
: Bank : B01 Bank Of Baroda
: M01 Sham Traders 23432
: 5000.50
: T01 ANZ Transport 43543
: 1000.50
: Total
: 6001.00
: Bank : B02 Canara Bank
: M02 Kiran Traders 854357
: 1000.00
: T01 ANZ Transport 534455
: 2000.00
: Total
: 3000.00
: But it displays the output as :--
: Mfgr/Tran Code Mfgr/Tran Name A/c No.
: Balance
: Bank : B01 Bank Of Baroda
: M01 23432
: 5000.50
: T01 43543
: 1000.50
: Total
: 6001.00
: Mfgr/Tran Code Mfgr/Tran Name A/c No.
: Balance
: Bank : B02 Canara Bank
: M02 ANZ Transport 854357
: 1000.00
: T01 ANZ Transport 534455
: 2000.00
: Total
: 3000.00
: i) If I put a srw.message in format_trigger of mgr_tran_name
it
: displays
: mgfr/tran name correctly for each record.
: Why is mgfr/tran name not displayed for every record ?
: Why it displays for every record when I insert srw.message
: in format_trigger
: of mgfr_tran_name
: ii) I don't want the heading to repeat after every break of
bank
: code, only
: at the begining of every new page.
: Kindly give the solution as soon as possible.
null

Similar Messages

  • Report painter problem very urgent

    Hi to ALL,
    I have prepared two reports of cost centre through report painter. The format is proper is both the reports. The set is also correct and values in set(i.e cost centres) are also properly
    but when we execute the report one report is being executed properly while other shows zero values. only when i doubleclick on zero amt and go to plan line items then it shows me values for that particular row in report.
    Why is it so? what is solution to it? can it be possible that my tables are not correct. Ia m using CCSS table.
    Pls this is very urgent
    Thanks in advance
    Tanuja

    Hi
    Can you check one thing...after selecting the zero you are getting the line item...chekc the total of that items...if it is coming zero..then no problem.
    If not you can check in the no.format of that report. If you select the lacs format and your amount is below ten thousand...you will get the zero value only
    VVR

  • Plz help me TEXTPOOL PROBLEM(VERY URGENT)

    hi experts,
    plz help in resolving this issue this is very urgent.
    error is
    The line type of "RPOOL" must be compatible with one of the types
    "TEXTPOOL".
    and its coming in :
    FORM GET_SELSCREEN_TITLE TABLES P_SCREENS STRUCTURE DYNNR.
    DATA: BEGIN OF RPOOL OCCURS 20,
    ID(1),
    NAME(8),
    TEXT(80),
    END OF RPOOL.
    READ TEXTPOOL RSVAR-REPORT LANGUAGE SY-LANGU INTO RPOOL.
    plz help me.

    Hi !
    Try this :
    DATA RPOOL LIKE TEXTPOOL OCCURS 0 WITH HEADER LINE.
    Reward if usefull,
    Regards,
    Stéphane.

  • SAPscript Output Problem - Very Urgent - Please help

    Hi,
    I am having the following problem with SAPscript.
    In the Main Window, I have instructions to the printer in the ZPL2 language (For Zebra Printer).
    There are also several variables, which are highlighted in Gray and enclosed in the’&’.
    There are also several elements – all of them empty except for the one where this code is.
    Now, I received this program to modify in terms of code and the output.
    IF you have never done any work with Zebra Printing, the way it is done is that you create a label using the Zebra BarOne or Zebra Designer program, then output it to an ‘itf’ file, upload it into a standard text as .itf and copy the uploaded contents to the main window. When printing to a Zebra printer, the Zebra printer will read the instructions and will print the output.
    Here is the problem: The config for the output type is correct.
    When doing a printing test from SAPscript, I get the right output and the Zebra printer is able to print it.
    However, the real process for this task will go through MB02. There, if I create a spool request using the proper method (select output type and etc.), it will go the spool. However, if I print preview or output (doesn’t work with the Zebra printer, so I have to output to the Laser printer), it will output the following (none of the following includes any of the ZPL2 code/instructions. Instead, it seams to print the variables contents with the field name next to it – This isn’t whats it’s the Main window!!!)
    http://img244.imageshack.us/img244/6915/66052475zk2.jpg
    Please help. I have debugged but don’t know what to do and can’t find anything wrong.
    This is very urgent. Any help will be useful.
    Thanks,
    John

    Ok, maybe I have confused others in regards to the issue as well.
    We expect this label to be output from a Zebra Printer.
    When output through Sapscripts printing test, the preview from the spool shows the ZPL2 code in small font (non readible if a created a screenshot) and if sent to the Zebra Printer, it prints the label correctly.
    When output through MB02, the preview from the spool shows the code that I have attached to the 1st post in this thread. If I try to output to the Zebra Printer, nothing happens because the ZPL2 instructions are not even in the preview and therefore, the Zebra printer recieves no instructions. I should not have mentioned the laser printer, because it has nothing to do with this issue.
    I hope that this makes the issue a little more clear and understandable. Please help.
    Here is the ZPL2 coding before uploading to standard text (only difference is that once uploaded,  the '/' characters are removed.) However, I believe that the problem may lie in the print program and how it compiles but I debugged and haven't really seen where it comes from:
    /:NEW-PAGE
    / ^XA
    / DFNEW-RE-1FS
    / ^PRC
    / LH0,0FS
    / ^LL1830
    / ^MD0
    / ^MNY
    / LH0,0FS
    / FO244,854A0N,55,46CI13FRFB154,1,0,LFN999^FS
    / FO819,698A0N,55,46CI13FRFN998FS
    / FO245,477A0N,55,46CI13FRFB755,1,0,RFN997^FS
    / FO389,926A0N,55,46CI13FRFB654,1,0,RFN996^FS
    / BY3,3.0FO42,1072B3N,N,152,N,YFRFN995FS
    / FO276,1258A0N,55,46CI13FRFN995FS
    / FO484,774A0N,55,46CI13FRFN994FS
    / FO817,774A0N,55,46CI13FRFN993FS
    / FO611,556A0N,55,46CI13FRFN992FS
    / FO245,556A0N,55,46CI13FRFN991FS
    / FO397,117A0N,55,46CI13FRFN990FS
    / FO245,405A0N,55,46CI13FRFB880,1,0,RFN989^FS
    / FO244,698A0N,55,46CI13FRFN988FS
    / FO629,998A0N,55,46CI13FRFN987FS
    / FO244,623A0N,52,42CI13FRFN986FS
    / FO397,261A0N,55,46CI13FRFB404,1,0,RFN985^FS
    / FO819,854A0N,55,46CI13FRFN984FS
    / FO725,554A0N,55,46CI13FRFN983FS
    / FO397,189A0N,55,42CI13FRFB695,1,0,RFN982^FS
    / FO397,333A0N,55,42CI13FRFN981FS
    / FO638,333A0N,55,42CI13FRFN980FS
    / FO391,21A0N,63,63CI13FRFB433,1,0,CFN979^FS
    / FO36,698A0N,55,46CI13FR
    / FDWBS:FS
    / FO37,405A0N,55,46CI13FR
    / FDMATL:FS
    / FO37,478A0N,62,44CI13FR
    / FDDESC:FS
    / FO554,698A0N,55,46CI13FR
    / FDSUPPLIER:FS
    / FO32,625A0N,55,46CI13FR
    / FDTEXT:FS
    / FO35,1258A0N,55,46CI13FR
    / FDBATCH NO:FS
    / FO770,775A0N,63,51CI13FR
    / FD/FS
    / FO32,854A0N,55,46CI13FR
    / FDESHM:FS
    / FO37,556A0N,55,46CI13FR
    / FDQTY:FS
    / FO32,998A0N,55,46CI13FR
    / FDSAP MATERIAL DOC NO:FS
    / FO525,333A0N,55,46CI13FR
    / FDofFS
    / FO556,854A0N,55,46CI13FR
    / FDINSPECT:FS
    / FO32,926A0N,55,46CI13FR
    / FDUNLOADING:FS
    / FO37,117A0N,55,46CI13FR
    / FDSTOCK TYPE:FS
    / FO32,774A0N,55,46CI13FR
    / FDPURCHASE ORDER:FS
    / FO37,188A0N,55,46CI13FR
    / FDDELIVER TO:FS
    / FO37,260A0N,55,46CI13FR
    / FDSTORAGE LOC:FS
    / FO37,332A0N,55,46CI13FR
    / FDCONTAINERS:FS
    / FO1,1359GB1217,0,6^FS
    / FO594,1359GB0,474,6^FS
    / ^XZ
    /:NEW-PAGE
    / ^XA
    / ^XFNEW-RE-1.ZPL
    / FN999FD&ATWRT_HAZAMAT(6)&^FS
    / FN998FD&EKKO-LIFNR&^FS
    / FN997FD&MABDR-MAKTX&^FS
    / FN996FD&MSEG-ABLAD&^FS
    / FN995FD&MSEG-CHARG&^FS
    / FN994FD&MSEG-EBELN&^FS
    / FN993FD&MSEG-EBELP&^FS
    / FN992FD&MSEG-ERFME&^FS
    / FN991FD&MSEG-ERFMG&^FS
    / FN990FD&MSEG-INSMK(1)&^FS
    / FN989FD&MSEG-MATNR&^FS
    / FN988FD&MSEG-MAT_PSPNR&^FS
    / FN987FD&MSEG-MBLNR&^FS
    / FN986FD&MSEG-SGTXT(40)&^FS
    / FN985FD&MSEG-UMLGO&^FS
    / FN984FD&QALS-PRUEFLOS&^FS
    / FN983FD&V_BACKORDER&^FS
    / FN982FD&V_NAME3&^FS
    / FN981FD&WS_CNTR&^FS
    / FN980FD&WS_CON&^FS
    / FN979FD&WS_HEADER& &^FS
    / ^PQ1,0,1,N
    / ^XZ
    / ^FX End of job

  • Cannot display the Crystal Report from BW..very Urgent

    Hello Friends,
    We are executing the Crystal report XI report from BW 3.50 but cannot displaying andgiving the error messgae as follows....
    <b>Service cannot be Reached</b>
    <b>What has happened?
    URL http://sapprodbw.company.com:8112/sap/bw/sap/bw/ce_url call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system I12 with error code 404 and for the reason Not found.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:sapprodbw_I12_12-v:0-s:404-r:Notfound
    HTTP 404 - Not found
    Your SAP Internet Communication Framework Team</b>
    I'm getting the above error could plz help me .. its very urgent task for us..
    Thanks in advance for your valuable time...
    Sreedhar G.

    Hi Dinesh,
    I started all the services and i checked the Test service of ICF its giving the same above  error and service cannot be rezched...BASIS is also workin on the same issue but getting ...
    Any help...
    Message was edited by: sreedhar Gunda

  • Urgent Sql Query Problem - -Very Urgent

    Hi Guys,
    I need a urgent solution for a problem.I am
    using the following query
    select ename from emp where deptno =10
    Now I will declare a bind variable and if user passes 'A'
    then the query will run as it is and if he passes B
    then it should run the above query with this additional clause -> birthdate - hiredate >15.
    Please can any one help its very urgent

    Assuming that you have a birthdate column in your emp table, the following will do what you are asking for:
    VARIABLE bind_var VARCHAR2(1)
    EXECUTE :bind_var := '&bind_variable'
    SELECT ename FROM
    (SELECT 'A' AS selection, ename FROM emp WHERE deptno = 10
    UNION ALL
    SELECT 'B' AS selection, ename FROM emp WHERE deptno = 10 AND birthdate - hiredate > 15)
    WHERE selection = :bind_var
    However, the clause "birthdate - hiredate > 15" will only retrieve rows for employees who were born more than 15 days after they were hired. I doubt that this is what you really want, since this is impossible.

  • 2LIS_I0_NOTIF problem - Very Urgent

    Hi All,
    I am trying to extract the records using RSA3 from datasource 2LIS_18_I0NOTIF. I am getting the error as
    Runtime errors         CONNE_IMPORT_WRONG_COMP_TYPE
    Exception              CX_SY_IMPORT_MISMATCH_ERROR
    Error when attempting to IMPORT object "MC18I00NTF_TAB".
    What happened?
    Error in ABAP application program.
    The current ABAP program "SAPLMCEX" had to be terminated because one of the
    statements could not be executed.
    This is probably due to an error in the ABAP program.
    When attempting to import data, it was discovered that the data
    type of the stored data was not the same as that specified in the
    program.
    Error analysis
    An exception occurred. This exception is dealt with in more detail below
    . The exception, which is assigned to the class 'CX_SY_IMPORT_MISMATCH_ERROR',
    was neither
    caught nor passed along using a RAISING clause, in the procedure
    "MCEX_BW_LO_API" "(FUNCTION)"
    Since the caller of the procedure could not have expected this exception
    to occur, the running program was terminated.
    The reason for the exception is:
    When importing the object "MC18I00NTF_TAB", the component no. 32 in the
    dataset has a different type from the corresponding component
    of the target object in the program "SAPLMCEX".
    The data type is "C" in the dataset, but "D" in the program.
    *-- Application '18' (customer service)
    >           sel 'MC18I00NTF' mc18i00ntf_tab  mc18i00ntfsetup.
    Pls. help me out for the above problem as this is of very high priority for me.
    Regards,
    P B

    HI PB,
    how did you solve this problem ?
    I got the same...
    Regards,
    Fernando

  • Can we have two DB's connection in one report???------ Very Urgent

    Hi,
    this might be a silly question......
    If my Report is having 3 grids can i connect to 3 different databases one for each???? or there will be only one DB connection for all Grids????
    this is really urgent for me....

    Hi,
    Every grid can have its own different database connection.
    The database connection is set at the grid level. That's why when you import a grid in the report, it opens a selection for connection.
    In your case, bring first grid, select a DB connection. Then repeat for 2nd and 3rd grids.
    Let me know if it helps.
    Cheers
    RS

  • Report width in postscript-VERY URGENT

    Hi guys,
    I am making a report whose output has to be generated in postscript.In HTML format the output is fine but in postcript the report is cut off from the right side(WIDTH). Is there any workaround to solve the problem.Any help will be appreciated

    Is it a Portrait or Landscape? The WIDTH param changes accordingly.

  • BEx problem - very urgent

    Hello Guys,
    I have variance calcuating field in my report.
    the field is used to calculate the diff between amount for 2 years.
    VAR = NDIVO ( (Current Year-Last year)/Last year))
    But when i run the report, the Variance field has 'X'. instead of 0 or some value,
    could you explain this issue.
    thanks,
    BI Consultant - GADE

    Hello Guys,
    Thanks for your reply.
    But I have used nodim(formula).
    Buts its the same problem.
    I don;t have any last year data , but i have current years data.
    so have used NOERR(FORMULA), and then used NODIM on that.
    thanks,
    BI CONSULTANT - GADE

  • HP Pavilion DV 7 6101eg sound problem - very urgent!

    The problem is this:
    I bought a couple of days the new hp 6101eg, worked fine, until it crashed ingame while playing Assassins Creed... anyhow, since than, the audio from the internal speakers wont work UNLESS the headset is also plugged into ANY of the 3 jacks (mic, 2x headset). I formated the computer twice, reinstalled drivers, been through hell and back and dont know what else to do... the jacks werent dirty or anything that putting in and out the headset would solve... the speakers arent broken, they work when the headset is in... also the sound indicator bar is jumping up and down when im playing videos and where there should be sound. The driver IDT high definition audio CODEC is properly installed, no !!! in device manager... i really dont know what to do.
    If anyone can help me, i would be very thankful.

    Hey Treaty,
    Sorry to hear about this - sound problems are horrible.  I don't know anything about your system, so this may be a wild-duck chase:  check the BIOS to make sure something didn't get turned off when the system blew up the first time.  I'm not sure that reformatting the OS would reset the BIOS.  At boot, tap F10 to get to the BIOS...
    If you reinstalled your system - do you have the latest IDT driver? 
    This youtube page comments hint that there are issues with version conflicts.
    (There are other Assassin pages to check...read the comments, too - they are sometimes useful...)
    http://www.youtube.com/watch?v=9VpzjdELQ40
    Check game-side.  I've read a couple of places that if things go south during game play that the sound setting has to be checked on the game side - if you have game sound control of some sort, check there.  I realize the game has to have been reinstalled when you rebuilt your computer:  If you had "saved" game parameters, maybe there was something in there that was held over?  Sorry, I'm not an "Assassin".  It is, admittedly, a long shot - it's better than blown speakers.
    I guess, if there is such a thing, you've checked the "Assassin's" website... 
    Good Luck!
    I hope something here helps.
    Click The Kudos Star to say Thanks!       
    Set in Reply “Accept as Solution” if it’s fixed! 
    Kudos are Earned!
    Kind Regards,
    Dragon-Fur

  • Excise invoice problem ---very urgent.

    Hi Everybody,
    At present I am working for an Indian Project.
    I have small issue, Can you please provide the solution.
           We have a configurable material, For dispatching Configurable Machine, It requires 5 lorries to delivering to customer.
    They are preparing 5 excise invoice, First invoice contains all the values. Remaining excise does not have values. it is 'ZERO'. But "Every excise invoice is having its unique number"
    Same thing how can we take 5 excise invoice with reference to same commercial invoice in SAP with different excise invoice number.
    Thanks & Regards,
    ch.srinivas.

    Hi,
    We are manufacturing KMAT Material. If customer is order for KMAT Material, we will manufacture and dispatch to the customer.
    This KMAT material is a very big machine, At the time of dispatch Big Machine is dividing into 5 parts and delivery to the customer. For this 5 Lorries are require for delivering to the customer. For each and every lorry requires one excise invoice,
    First will have Actual Excise Invoice that means it contains all values But remaining lorries also requires Excise Invoice, But all BED,CES,SCES Values will be 'ZERO'. But Each and Every Excise Invoice is having a unique number.
    But in the system, i am maintaining KMAT Material Quantity as '1'. I can't differentiate partially in the system.
    Process Flow:
    1. Sales Order -- Material Quanity '1'
    2. Delivery Doc -
    Materail Quanity '1'
    3. For dispatch this material to customer, partly loading into lorries, and delivery to customer, At customer place, engineer will assemble the product.
    4. Commerical Invoice. Material Quantity '1'
    5. Excise invocie Material Quanity '1'
    In SAP I can't create multiple excise invoice with reference to One Commercila Invoice.
    But how to take multiple excise inovice in the system.
    Regards,
    ch.srinivas.

  • Posting period problem (very urgent)

    Hi all,
    I want to open a last posting period for particular user which i have handled through authorization group but at the same time i want to open a some G/L codes for other users.Please confirm is it possible to do both the things at the same time.
    Thanks in advance.
    Regards,
    Manisha

    Hello Madhu
    I have tried to restrict certain G/L account group through Authorization group in OB52 but the system do not allow to post the document even in that G/L account group range and prompts the message that "posting period is closed". Actually it is clearly written in the help that authorization group can only work with '' in Account Type field. However, '' means all G/L account group not the restricted / specified range.
    Now how can I restrict certain users to post within certain G/L account group range in the previous posting period?? I hope you have understood my question.
    Urgent response is required.
    Thanks in advance.
    Regards,
    Shabbir

  • Structure problem very urgent .It is view

    Hi .
    How can I  select RFIDTRBOE structure or view I am not sure . It gives an error (it is not defined in abap dictionary as a table )
    Thanks
    Message was edited by:
            yanut

    Hi Yanut,
    RFIDTRBOE is a dictionary structure. Structures are not defined in the database but in ABAP dictionary.
    The only usage I could find was in the report programs
    RFIDTRBOE1 Bill of Exchange Transactions (Greece, Thailand, Turkey)
    RFIDTRBOE2 Reversal of Bill of Exchange Transactions (Thailand, Turkey)
    The structure fields
    KTOPL     Chart of Accounts
    BUKRS     Company Code
    KOART     Account Type
    UMSKS     Special G/L Transaction Type
    BANKN     G/L Account Number
    BANKM     G/L Account Number
    BANKO     G/L Account Number
    PORT1     Bill of Exchange Portfolio
    PORT2     Bill of Exchange Portfolio
    PORT3     Bill of Exchange Portfolio
    PORT4     Bill of Exchange Portfolio
    PORT5     Bill of Exchange Portfolio
    PORT6     Bill of Exchange Portfolio
    UMSKZ     Special G/L Indicator
    LIFNA     Account Number of Vendor or Creditor
    VALUT     Value Date
    WAERS     Currency Key
    KURSF     Exchange rate
    are used in financial accountings. Study the above programs to find out how the data are retrieved from BKPF, BSEG and other tables.
    Regards,
    Clemens

  • Soap Receiver Adapter problem. very urgent..

    Hi,
    When I am sending data from XI to CRM through soap receiver communication channel I am getting error:
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Authority check failed
    Pls advice urgent.
    Regards

    Hi Rick,
    At fist did  you create SOAP fault message mapping in your scenario?
    If not then plz do that.
    Some links for ur help:
    Troubleshooting - RFC and SOAP scenarios *** Updated on 20/04/2009 *** - have a look into this to troubleshoot your SOAP
    Fault Message Types - A Demo (Part 1)
    Receiver SOAP adapter scenarios:
    RFC -> XI -> WebService - A Complete Walkthrough (Part 1)
    RFC -> XI -> WebService - A Complete Walkthrough (Part 2)
    Regards,
    Vinod.

  • Callable statement problem-very urgent

    Hi Friends,
    i have 2 tables, in that two tables one column have same attribute column. when i update the first table through OAF page, i wanted to effect updated value in second table of that common field also. i wrote PL/SQL Procedure and called that into OAF by using callable statements. here first time i updated in the page, updated value is effecting into the first table while second table not effected the updated value. again i am trying to update the page this time in second table effected with first time updation value,while first table updated correctly. suppose i updated again in the page this time in second table effected with second time updation value, while first table updated correctly.this process continuing...
    example – I want to update forecast(this field is in two tables) value filed. Now forecast value is 10 in both tables , I updated as 20. this 20 updated value effected first table while second table forecast field is not effected.
    Again I am going to update value 30 in the place of 20. this 30 updated value effected first table while second table forecast field is 20(firstupdated value) effected.
    Again I am going to update value 40 in the place of 30. this 40 updated value effected first table while second table forecast field is 30(secondupdated value) effected this process continuing...
    Can any one help me out this problem
    This is I have written in AM-
    public void Callable()
    String forecast="";
    String name="";
    String product="";
    String business="";
    XXProgsVOImpl vo = getXXProgsVO1();
    RowSetIterator rowsetiterator=vo.getRowSetIterator();
    rowsetiterator.reset();
    while(rowsetiterator.hasNext())
    Row row = rowsetiterator.next();
    forecast=row.getAttribute("Forcast").toString();
    name=row.getAttribute("Name").toString();
    product=row.getAttribute("Product").toString();
    business=row.getAttribute("Business").toString();
    String s="BEGIN do_update(?,?,?,?);End;";
    OADBTransaction dbtrans=getOADBTransaction();
    OracleCallableStatement cs=(OracleCallableStatement)dbtrans.createCallableStatement(s,4);
    try
    cs.setString(1, forecast);
    cs.setString(2, name);
    cs.setString(3, product);
    cs.setString(4, business);
    cs.execute();
    dbtrans.commit();
    cs.close();
    catch(SQLException e)
    System.out.println(e.getMessage());
    Thanks and Regards,
    vamshi

    Hi Sumit and Thiago,
    Thanks for your information, my Both VO's are coming from EO'S. but first VO I have done some calculation on columns, that calulated value parameter passing to second page. this calculated value is the database column in second table. here when i update the calculated value in updated page , i want to effect this in second page table.
    do you have any work around this..
    Thanks and Regards,
    vamshi

Maybe you are looking for