How to generate CTT and AMT Segments - PO_4010_850

Hi,
Please let us know how can we have B2B generate CTT and AMT segments for PO_4010_850?
We are passing the 850_XML from BPEL process to Oracle B2B. Would like to know how can we get the CTT and AMT segments generated?
CTT 01 - Number of Line Items  -  Number of PO1 segments in the transaction (PO)
Do we have to count the number of PO1 segments manually in the BPEL XSL or do we have some macro already in place (Like we have for SE 01)?
AMT 01 - Total Monetary Amount (Qualifier Code) - What all values can be passed and how to generate it?
AMT 02 - Amount in Total for all the line items. - How can we calculate this?
Thanks
Priyanka

Oh. So there is no macro already present for this.
I have to count the PO1-Segment to get CTT-01. Have to Count all the Line Amounts for AMT02. But how about AMT01?
Thanks
Priyanka

Similar Messages

  • How to generate Header and Trailer for a file

    Hi Guru
    How can we generate header and Trailer for a file
    EX:
    i want to generate header with date and trailer with record count from table.
    Sample file :
    20120120
    fwsfs
    adfwsfd
    adff
    afsadf
    afdwsg
    adgsg
    adgsgg
    asgdsag
    sdgasgdaf
    sdfsagfadf
    10

    Hi ,
    1.Create an interface to load data from oracle to file and set generate header as false option in IKM .
    2.Create variable get_current_date of alphanumeric datatype and implement logic SELECT to_Char(SYSDATE,'yyyymmdd') FROM DUAL under refreshing tab
    3.Create variable get_record_count of numeric datatype and implement logic SELECT '<%=odiRef.getPrevStepLog("INSERT_COUNT")%>' FROM DUAL under refreshing tab
    4.Create a package
    Drag the get_current_date variable ,
    Drag odioutfile and paste the below logic OdiOutFile "-FILE=D:\ODI_TEST\emp.txt" "-CHARSET_ENCODING=ISO8859_1" "-XROW_SEP=0D0A" #GET_current_date in command tab
    Drag the interface
    Drag another variable get_Record_count
    Drag the odioutfile and paste the below logic OdiOutFile "-FILE=D:\ODI_TEST\emp.txt" -APPEND "-CHARSET_ENCODING=ISO8859_1" "-XROW_SEP=0D0A"
    #GET_RECORD_COUNT in command tab
    Link all these in sequence,save and run the package.
    OR Modify the IKM SQL to File Append to achieve same functionality.
    Thanks,
    Anuradha

  • How to generate WS and WSDL for proper working DS under ALDSP 3.0?

    Hi,
    Ive got small problem with generating WebService and WSDL for proper working DataService in AL Data Service Studio.
    Whats the worse, I cant find any good documentation showing how to do it step by step in the new development enviroment.
    Currently Im doing it like:
    1) right click on DS and then Create Web Service Map
    2) when Im trying to View WSDL for created (in previous point) WS Map, after a while for deployment, I get Error 404--Not Found
    3) when Im trying to Save WSDL As ... , after showing where it should to be saved, nothing happens
    4) At Test Web Service Map option Ive got (in ZIP archive there is error trace from WebLogic console):
    http://localhost:7001/xyz/abc/test/something.ws?WSDL
    failed due to weblogic.testclient.WsdlParseFailedException: Not Found
    My questions are:
    i) how I can generate WS for DS?
    ii) when there will be some tutorials to download for ALDSP 3.0?

    Some new facts about this situation.
    A moment ago Ive made all the things like in edocs:
    http://edocs.bea.com/aldsp/docs30/install/migration.html#wp1081343
    After that problems still exists and what is the worst - the same problem as at the first time.
    So:
    1) Problem of not migrated kind="private" to visibility="private"
    2) Problem of migrating the files encoded in CP1250 if they got charakters encoded in CP1250
    3) I know that proces of migration from multiple imports to the same namespace within XSDs must be done in manual way but problem still exist
    4) There are some issue like this:
    "[ld:xXx_PIDataServices/cache/order/order.ds]: The return type of the read function "{ld:xXx_PIDataServices/cache/order/order}setOrderStatus" with arity 1 does not match the Data Service target (element) type "{services.cache.integration.amg}setOrderOut"."
    When I remove kind="read" from pragma then its going to be valid.
    In short time we will try to contact with our local BEA support.
    PS Right now I was trying to import another project (sample one for Workshop 8.1 - <BEA_HOME>\weblogic81\samples\workshop\SamplesApp) and it also didnt go smoothly :/
    Edited by PiotrGalas at 02/01/2008 4:20 AM

  • How to generate passwordDigest and nonce in VBA excel ?

    Hi All,
    I need to consumme a webservice in VBA Excel. I need to generate a passwordDigest in order to fill this XML:
    <SOAP-ENV:Header>X-WSSE: UsernameToken Username="MYUSERNAME", PasswordDigest="???PasswordDigest???", Nonce="???Nonce???", Created="2015-01-15T20:19:45Z"</SOAP-ENV:Header>
    How can I generate a passwordDigest and Nonce in VBA EXcel in order to consume the webservices ?
    Thank you for your help,
    best regards

    Hi,
    This is the forum to discuss questions and feedback for Microsoft Office, your issue need some VBA DEV, I'll move your question to the MSDN forum for Visual Basic for Applications
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=isvvba
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • HOW TO GENERATE FINITE AND CONTINUOUS PULSE TRAIN WITH USB6216 AT THE SAME TIME?

    Hello.
    I am using a USB6216 DAQ and need to generate a 20 kHz signal using the
    ct0 output and at the same time I need to generate a finite number of
    pulses, say 9, on a software trigger using the second counter output
    ct1.
    Currently, I have two VIs that can do this separately, but when I want
    to integrate these into one single VI y get an error in the finite
    pulse train for ct1 that indicates that the requested task is already
    reserved. I am thinking this has to do with the fact that maybe both
    types of task use the same timebase but I have not found the way to
    solve this problem.
    Any help would be very much appreciated.
    Thank you.
    Sincerely
    JSL

    Hello.
    If anybody is interested, the problem is solved.
    There is no resource confilct if I generate the 20 kHz continuous pulse
    signal using the frequency out terminal, and this way I can use both of
    my counters as I please with no problems.
    It's kind of fun to answer one's own questions...
    Sincerely
    JSL

  • How to generate BPSK and QPSK signals with Labview and ARBS?

    Has anyone used Labview to program a Wavetek 75 or equiv Arbitrary Waveform Generator to produce BPSK and/or QPSK signals.

    You can use Modulation Toolkit 2.0 for LabVIEW to generate PSK signals (including BPSK and QPSK) using common PSK configuration parameters.
    http://sine.ni.com/apps/we/nioc.vp?lang=US&cid=128​55
    You can use resampling tools present in Modulation Toolkit if you need to resample the generated data to a different sample rate for your third party AWG.
    In addition, Modulation Toolkit integrates seamlessly with NI's high-speed signal sources, including the NI 5421 for PXI:
    http://sine.ni.com/apps/we/nioc.vp?cid=12472〈=US

  • Generate pdf and html(urgent)

    can anybody tell how to generate pdf and html from a single report,
    thanks in adv

    From a single report, you can generate outputs to html, htmlcss, pdf, rtf, XML and text formats.
    If you use rwclient, rwrun or rwservlet methods, specify desformat=pdf/html and the destination file name in desname command line parameters.
    If you use Reports Builder, open a report, select File->Generate to file and select html/pdf. Then give the file name.
    For more details, Refer to Reports Tutorial / Publishing Reports document from this site.
    http://otn.oracle.com/docs/products/reports/content.html
    Thanks,
    The Oracle Reports team

  • Generate columns and rows with a loop

    $query = "SELECT * FROM `Sale` WHERE `Date` >= '2007-01-11' AND `Date` <= '2007-01-14' GROUP BY `Date` ORDER BY Date ASC";
    $result = mysql_query($query);
    How to generate columns and rows with the above mysql query to get this output:
    Name/Day 11    12    13    14
    Appple      30     25    26    28
    Orange     5       23     12     0
    Grape       7       16     0    10
    The header I managed to create but not the rows. This is what I did.
    <?php
    $query = "SELECT * FROM `Sale` WHERE `Date` >= '2007-01-11' AND `Date` <= '2007-01-14' GROUP BY `Date` ORDER BY Date ASC";
    $result = mysql_query($query);
    //Header
    ?>
    <tr>
    <td valign=top>
    <table cols=6 width=100% border="1" cellspacing=1 cellpadding=1>
    <th BGCOLOR=#6C83B0 height="25" width="1"><font color=#FFFFFF size='1'><b></th>
    <th BGCOLOR=#6C83B0 width="120" align="left"><font color=#FFFFFF size='2'><b>Name/Day</b></th>
    <?
    $result = mysql_query($query);
    if ($daterow = mysql_fetch_array($result)) {
    do {
    $TimeStamp = strtotime("$daterow[Date]");
    $day = date("j", $TimeStamp);
    ?>
    <th BGCOLOR=#6C83B0 width="5" align="center"><font color=#FFFFFF size='2'><b><?echo $day?></b></th
    <?
    }while ($daterow = mysql_fetch_array($result));
    ?>
    <th BGCOLOR=#6C83B0 width="5" align="center"><font color=#FFFFFF size='2'><b>Total</b></th>
    <th BGCOLOR=#6C83B0><font color=#FFFFFF size='2'><b></b></th>
    <th BGCOLOR=#6C83B0 width="1"><font color=#FFFFFF size='1'><b></b></th>
    </tr>
    <?
    //Rows
    $result = mysql_query($query);
    if ($row = mysql_fetch_array($result)) {
    do {
    include("../lib/browser_sales_daily.php");
    } while ($row = mysql_fetch_array($result));
    ?>
    </tbody></table>
    <?php
    //browser_sales_daily.php
    print <<<EOD
    <td BGCOLOR=#EDEDED align="left">
    <font size="2">$row[Name]</font>
    </td>
    EOD;
    // <<<< HOW TO GENERATE ROWS HERE WITH A LOOP????? >>>
    print <<<EOD
    </tr>
    EOD;
    ?>

    Make sure the photos are "within" celsl and they should sort along with the rest of your data. One way to do this: select a photo that you have in the sheet that is not sorting with the data, command-x to cut, click once in a cell, and paste.  Then adjust the row height and width to make the images larger.
    SG

  • How to generate EXCEL formate

    Hi,
    We working XML Publisher ....
    We are following the user's guide. According to that we came upto viewing and updating a template(in Templete Manager)
    Can u tell me how to generate RTF and EXCEL formate in apps

    you have to wait till Jan 2007, untill template for excel would be realesaed.
    Do keep watching the Tim's blog

  • How to generate cXML through  XI

    Can  you  please help me how to  generate  cXML and what configuration I need to  do it .  Thanks

    Ram,
    If you want you can download it and directly use it in XI by importing them as shabarish told. Check this threads for some information:
    Dynamically Download cXML.DTD in XI
    cXML Integration
    standard cXML package
    Does SAP EBP supports cXML?.
    ---Satish

  • How to generate PCL files ?

    Hello,
    We are using PIB 5.6.3 within APPS 11.5.10.2 on RedHat Linux servers.
    For printing purpose but also for archiving, we need to generate physical PCL files.
    I read many posts on the subject and most of them advise to use ghostscript (GS) so I tried it but the result was not very good :
    - the PCL file are too big (3 or 4 times the corresponding PDF size) so it is not good for our archiving system
    - the generated PCL files cannot be correctly printed
    Maybe I am not calling correctly GS ?
    Can anyone working with BIP on APPS indicate to me how to generate correct and optimized PCL files in batch mode ? (with GS or any other tool)
    Thanks in advance
    K.Helali

    Hi
    GS is the recommendation fro development right now. They are going to release their own PDF to PCL driver in the near future but for now GS. There are many other customers using GS for PCL generation. I have not heard of customers using it as a format for archiving only printing so I guess size has not been an issue for them - just get it to the printer and delete the PCL after that!
    There might be some commercial product out there but I can not recommend any at the moment.
    Regards
    tim

  • I have forgotten my password, how I can enter and generate a new one

    I have forgotten my password,how I can enter and generate a new one

    Try here.
    http://support.apple.com/kb/HE36?viewlocale=en_US&locale=en_US

  • How to Generate and Display SVG Graphics in ABAP

    Hi everybody,
    I tried to complete the Tutorial "How to Generate and Display SVG Graphics in ABAP, Part 1" by Siarhei Ulasenka (https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/ad83a990-0201-0010-d680-a189f8bc20fa).
    Unfortunately when I tried the example to display an SVG Drawing in an ABAP Report I get the error message "Es ist ein Laufzeitfehler aufgetreten, ungültiges Zeichen" (english should be something like "Runtime Error, unkown character"). But it works when I open the svgfile in a new IE Window (parameter in_place from cl_gui_html_viewer->show_url). Also when I open a svg file from the local disc it works fine.
    The code:
        CALL METHOD html_control->load_data
          EXPORTING
            url            = 'chart.svg'
            type         = 'image'
            subtype    = 'svg+xml'
          CHANGING
            data_table = lt_svg
          EXCEPTIONS
            OTHERS     = 1.
        CALL METHOD html_control->show_url
          EXPORTING
            url        = 'chart.svg'
            in_place   = 'X'
          EXCEPTIONS
            cntl_error = 1.
    Has anyone a solution? Thanks in advance for your help!
    Regards
    Kathrin

    Hello Alex,
    The Corel SVG viewer has problems loading and displaying the examples (see the list of limitations at their site). Try to use the Adobe viewer instead.
    Regards,
    Sergei Ulasenka

  • How to generate a pulse train with different pulse width and delay?

    How to generate a triggered pulse train with different pulse width. for example, after each trigger signal, let's say 2 ms, then the counter output a pulse with pulsewidth of 1 ms, and then after 3 ms delay after the first pulse, the second pulse was generated with a pulse width of 4 ms.  Next cycle when the trigger signal comes, the same two pulses will be generated and so on. Is it possible to achieve this by using 6601 counter card? and if yes, how to achieve this? Thanks!

    Unfortunately you can not create a hardware timed pulse train with different widths on each pulse from a counter. Whilst it can be changed on the fly using software, since you require a hardware triggered signal getting the software involved will not give a huge amount of accuracy when the pulse will actually change.
    So in short you can't use your 6601 card (or a counter timer) to achieve this
    There are three possible Alternative solutions
    1 You could use a high speed digital IO device such as the (6533/34) to generate your variable signal which would require setting up the pulse train as a series of states based around the burst transmission mode where the clock would give you your specific timing.
    2 A timed analogy output (for example on a MIO card with a clock (PCI-6220 / 62xx), i.e. Not the 6704 style static analogy output cards)
    3 A high speed digital waveform card such as the (, 656x , 655x, 654x, 6534, 6533 (http://www.ni.com/modularinstruments/find_right.ht​m) ) this could then be scripted to work with your triggering and also there is a digital waveform editor which will enable you to set up the pattern you wish to generate (http://sine.ni.com/nips/cds/view/p/lang/en/nid/135​55) 
    Hope that helps
    Tim Matthews
    NI (UK)

  • How To Generate And Print Reports In PDF Format From EBS With The UTF8 Char

    Hi,
    I want to know How To Generate And Print Reports In PDF Format From EBS With The UTF8 Character Set in R12.0.4.
    Regards

    Refer to Note: 239196.1 - PASTA 3.0 Release Information
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=239196.1
    Or, you can use XML Publisher.
    Note: 551591.1 - Need Latest XML Publisher / BI Publisher Patches For R12
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=551591.1

Maybe you are looking for