To printing commerceItem details

Hi All,
Please check below and make it clear which logic should be used in which senario to print commerce item details:
[1]     <droplet bean="ForEach">
     <param name="array" value="/atg/commerce/Shoppingcart.current.commerceitems">
     <param name="elementName" value="item">
     <oparam name="output">
     </oparam>
     </droplet>
[2]     <dsp:droplet name="ForEach">
          <dsp:param name="array" bean="CartModifierFormHandler.order.ShippingGroups"/>
          <dsp:param name="elementName" value="ShippingGroup"/>
          <dsp:oparam name="output">
               <dsp:droplet name="ForEach">
                    <dsp:param name="array" param="ShippingGroup.CommerceItemRelationships"/>
                    <dsp:param name="elementName" value="CIRelationship"/>
                    <dsp:oparam name="output">
                    CIRelationship.commerceItem.* etc...
               </dsp:oparam>
               </dsp:droplet>
          </dsp:oparam>
          </dsp:droplet>
[3]     <droplet bean="ForEach">
          <param name="array" value="/atg/commerce/CartModifierFormHandler.order.commerceItems">
          <param name="elementName" value="item">
          <oparam name="output">
          </oparam>
     </droplet>
-RMishra

It looks to me that we got carried away by looking at CartModifierFormHandler, but option 1 and 2 are two different approaches.
Option 1 and 3 are same, so the reason for CartModifierFormHandler holds good.
But Option 2 is used when we have multiple shipping groups and you want to display the items against the shipping group.
For example:
Shipping Group1(Address #1)
Item A details - quantity X
item B details - quantity Y
Shipping Group2(Address #2)
item A - quantity Z
item D - quantity W
A slight improvement to option 2 is using ShoppingCart instead of CartModiferFormHandler.
Peace
Shaik

Similar Messages

  • HELP-i want to print price details in SMART FORMS

    Hi friends ,
         I want to print price details of sales order in every page of my smart forms .
         eg:item_total :
            gross_total:
            net_total  :
        is there is any function module to help this?
       all your answers are appreciatable.
    regards,
    shan
    (Started learning SAP..)
    Message was edited by: Shan

    hi,
        after a long search i learned a function module called RV_PRICE_PRINT_ITEM can used to print the price details ,but i dnt know how to use that function module.
    so i request anybody to help in this issue.
    regards,
    shan

  • HELP-i want to print price details in SMART FORMS-urgent

    hi friends,
        I want to print price details of sales order in every page of my <b>smart forms</b> using FM <b>RV_PRICE_PRINT_ITEM</b> .
    Can anyone help me how to use that function and how to pass value to the parameter
    all your answers are appreciatable .
    thanks in advance
    shan
    Message was edited by: Shan

    hi santhosh ,
      this is how my program look ,but i dnt know how values can be pass to this internal table as the table TKOMV and
    TKOMVD in FM are of structure type .
      DATA: IT_KOMV LIKE TABLE OF KOMV,
      WA_KOMV LIKE LINE OF IT_KOMV.
    DATA: IT_KOMVD LIKE TABLE OF KOMVD,
    WA_KOMVD LIKE LINE OF IT_KOMVD.
    select *
    into table IT_KOMVD
    from komvd up to 10 rows.
    CALL FUNCTION 'RV_PRICE_PRINT_ITEM'
      EXPORTING
        COMM_HEAD_I       = WA_KOMV
        COMM_ITEM_I       = WA_KOMVD
      LANGUAGE          = ' '
    IMPORTING
      COMM_HEAD_E       =
      COMM_ITEM_E       =
      TABLES
        TKOMV             = IT_KOMV
        TKOMVD            =  IT_KOMVD .
    LOOP AT IT_KOMV INTO WA_KOMV.
    WRITE: / 'TAX' , WA_KOMV-TXJLV.
    "WRITE: / WA_KOMV-matnr.
    ENDLOOP.
    LOOP AT IT_KOMVD INTO WA_KOMVD.
    WRITE: / 'DISCOUNT' , WA_KOMVD-NRMNG.
    WRITE: / 'KNTYP', WA_KOMVD-KNTYP.
    ENDLOOP.
    pls help in this issue.
      thanks ,
      shan(SAP beginner)

  • Mass print of detailed invoices (AR, AP)

    Hello,
    I would like to ask you to help me with the issue of the mass printing of detailed invoices of Accounts Receivable and Payable.
    I tried in FB03 but there is the only possibility to print list of invoices. I need something where I can choose to print e.g. invoices nr. 1-50 and they will be printed on separate pages.
    Thank you in advance.
    Alena Potmesilova

    Hi,
    Try transaction F.62 (Internal documents). You may need customized correspondence form to get the details you want in the invoice print out. You select the correspondence form in F.62 before you can print.

  • Operation Failed - Print Calendar Details Style

    When trying to print calendar in "Calendar Details Style" I get "Operation Failed" in preview screen. I am still able to print, but not preview. It does work with Shared calendars, but other calendars must be unchecked first. Outlook
    profile has been created on another machine with same issue. Office has been repaired and uninstalled\Reinstalled. Same issue. We have also taken profile out of cached mode, same problem. Any ideas? It is only happening to one user.
    Thanks,

    Sorry for the delay in getting back, but I have not revisited this issue in a while. Users is still having problem. Currently she has permissions to 2 additional calendars Lets say Calendar 1 and Calendar 2. She also has her own DEFAULT calendar. When her
    calendar is checked for viewing she gets operation failed when trying to preview "Print Calendar Details Style", This only seems to happen when her own calendar is checked. She cannot print details style on her own calendar. Tried cleanreminders
    and tried to created her profile on another machine. It is the same issue which makes me think this may be on the server side.
    Sorry forgot to add, but did try safe mode and did not work. Every other preview for her calendar works except Details view.

  • Problem printing the Detail-Trail Balance Standard report

    Iam trying to print the detail trial balance report in GL. Iam getting the report output correctly. But when iam printing the report, the last line of every page is spilling out on to the next page and then there is a page break(which is expected). and then this scenario continues till the end of the report. i,e the last line of every page is spilling out on next page,,then page break,, then goes on...till end of report.
    It will be so nice of you if anyone can help me in figuring it out why its behaving like this after printing.?? waiting for your reply??
    thankyou

    Check printer's top and bottom margin, when you send it for printing. Or open report in report builder and reduce margin of the header/main/trailer sections.

  • How to rid of additional page that prints print job details

    When printing from Word Mac, always get an additional page that prints, print job details. How to get rid of this?
    Thxs,

    Word - Microsoft Support

  • Has anybody used FM :- LB_BIL_INV_OUTP_READ_PRTDATA to print invoice detail

    Helo All.
    I am using this function module LB_BIL_INV_OUTP_READ_PRTDATA  to print  invoice details.
    This FM returns a deep structure, which contains header as well as item data.
    But, I am not getting item level pricing data such as condition records etc.
    How to get that data?
    Points will be rewarded !!!!

    Helo All.
    I am using this function module LB_BIL_INV_OUTP_READ_PRTDATA  to print  invoice details.
    This FM returns a deep structure, which contains header as well as item data.
    But, I am not getting item level pricing data such as condition records etc.
    How to get that data?
    Points will be rewarded !!!!

  • Crystal not printing all detail data

    I have a crystal 8.5 that formatted like this:
    group header 1 - contract number
    detail lines
    group footer 1 - contract notes
    the "suppress blank section" is checked for the deatil lines, becuse based on what detail is in the data set, detail may or may not have to print. It look like the problem is when a group starts to print close to the bottum of a page and if crystal suppress a detail section and has to do a page break, it doesn't continue printing on the next page, it looks like it starts to print with the next contract group, bypassing any other detail lines and the group footer.
    group 1 - contact 1
    detail line 1 prints
    detail line 2 prnts
    detail line 3 is suppressed and detail line 4 prints
    detail line 5 is suppressed and a page break occurs
    the new page starts printing with the next contract number, and it should have printed detail line 6 and then the footer.
    If I turn "suppress blank section" off, I get to many blank lines, what can I do to force crystal to page break before a contract starts to print and I don't want to start a new page for each contract.
    Thanks,
    Dan

    Thanks Dell;
    This seems to solve my problem. Checking the "Keep Together" in the 'change group option' and keeping the 'suppress balnk section' checked on details works.  As many times that I have created groups I never played around with the 'keep together' option i aways used the options in the 'section expert'. 
    I always thought that the 'keep together' in the section will keep the group together, but after looking at help i found that it keeps lines for the section together.
    Thanks Again,
    Dan

  • How to default printing to details view

    I upgraded to 10.8 and now every time I print, it defaults to the small window whereas I want the Details view of the print menus by default. 10.6 used to be in Details mode all the time; how do I make it use the Details view of printing options?

    If I click on the Show Details button in the print window on my system (10.8.4), it shows the details view in the print window.  Once I do that, the next time I print from that same application, it defaults to the details view. 
    It doesn't default to that if I try printing in a new application that I have not clicked that on though.
    When you click on Show Details in the print window and then print again from that same application, does it open with the details view?

  • Help in writing logic to abaper for printing contact details from partnr fn

    Hi friends,
    I have to give the logic to the abaper to print the contact details of one partner which is manually entered in the quotation at header level.
    i have a partner z1 with partner type PE which is manually entered in the partner fn field at the header level.  this z1 partner fn is an employee.  The name and contact details of this employee needs to be printed in the header of the output.
    What is the logic i need to give to abaper for this.
    Regards,
    Anand

    Hi Anand,
    In case you do not find an ADRNR for the respective partner funtion in VBPA table, then, it means that the employee number derived from customer master is correct. Then, I think you can take KUNNR number for the employee partner function thro' VBPA and put the same in KNA1 table to get the right ADRNR. (As explained by me in the first post).
    My question now is, are you maintaining the employee in XD01 (customer) or in VPE1 (Sales Rep)?
    You can try with tables PA0002 Personal Data and PA0006 Addresses only if you maintain employees thro' VPE1 Tcode.  PA0006 has PERNR field. But, what you have to make sure is that the table is getting updated. Else, you may not find the data here as well.
    Hope this helps...
    Thanks
    Mukund S

  • Print line detail remarks on check stub

    Is there any way to print the line detail remarks (CHO1, lineDitails) on the check stub?  I can print the Journal Remarks field through the OCHO table, but cannot figure out how to get the line details.
    Thank you.

    Hi, Tberry
    Could you please tell me how to print the Journal Remarks field through the OCHO table on check stub?
    Thanks,
    Angela

  • Printing event details

    Hi,
    I just started using iCal. There doesn't seem to be a way to print details of an event (such as notes, driving directions, times, etc). Am I overlooking something?
    Cheers.

    When you try to print, go to the "View" menu and choose "list"--that'll show all the information for each item. You can also choose how many days to print for, and which calendars to print. Unfortunately this doesn't look as fancy as printing a calendar for the week, but that's the only I've found to print out the extra information.
    If anywhere has another idea, I'd love to hear it, because I too would like to add some of the information to the Week View printout.

  • How to Print Footer details conditionally in RTF template ( XML Bi report)

    Hi,
    I have a XML ( BI) report. in which i am printing carry frwd / running total/ sub group total values in the footer section.
    I have add one more condition to display the footer values based on the <xdofo:show-carry-forward ...> values.
    Please suggest and help me on this, how to handle this case.
    Regards,
    KAP.

    Hi,
    Thanks for the reply...
    Actually i am looking for the following scenarios :
    1. i want to Hide/ Don't show last 3-pages Footer information in the report.
    2. While i am displaying the Carry forward information in the report
    a. if the page/ running total is 0, i don't want to display the footer information.
    b. only case if the page/ running total is > 0, i want enable footer information dynamically for each page.
    i have done as follows :
    in the Template main body :
    *<?template:footer?>*
    **1000* *1000**
    *<?end template?>*
    and for behind 1000 currently :
    <xdofo:inline-total display-condition="exceptlast" name="RUNAMT"><xdofo:show-carry-forward name="RUNAMT" format="99G999G999D00"/></xdofo:inline-total>
    it was printing the " RUNAMT " calculated page total sucessfully. but here if the Total = 0 then i don't want to show the value in FOOTER...
    Thanks in Advance.
    Please let me know, if more information required to help..
    KAP..

  • Print Event Details (absorbed into convert to PDF)

    Hi All,
    i want to print events list into a PDF document please help me how to do that.It is very urgent.Please give me reply immediately.
    Anybody have code please send me..
    Thanks in advance.......

    hi
    good
    go through this
    TYPES: l_ty_tab_objbin TYPE solisti1 OCCURS 0.
    data: l_otf TYPE STANDARD TABLE OF itcoo.
    DATA: l_objbin TYPE l_ty_tab_objbin.
    DATA: l_docs TYPE STANDARD TABLE OF docs.
    data: i_line TYPE STANDARD TABLE OF tline.
    CALL FUNCTION 'CONVERT_OTF_2_PDF'
    EXPORTING
    USE_OTF_MC_CMD = 'X'
    ARCHIVE_INDEX =
    IMPORTING
    BIN_FILESIZE =
    TABLES
    otf = l_otf
    doctab_archive = l_docs
    lines = i_line
    EXCEPTIONS
    ERR_CONV_NOT_POSSIBLE = 1
    ERR_OTF_MC_NOENDMARKER = 2
    OTHERS = 3
    thanks
    mrutyun^

Maybe you are looking for

  • BAPI Help

    Dear all, Is there a BAPI to make changes in Routing?TCODE is CA02. I want to assign activity type and check the backflushing after clicking on component allocation.

  • Syncs songs already on iPod??

    every time i try and sync my ipod, it puts songs that are already on my iPod on there again so i end up having random doubles of random songs... its really annoying. how can i fix this?

  • Elements 9 will not install

    Previously tried to install Elements 9 on my Windows XP computer. No luck despite help from Adobe Tech support. It was getting so messy I gave up. Just got a new Windows 7 (64bit) computer with bags of RAM and a massive HD. Exactly the same problem.

  • Implication of  selling HALB item

    Dear Sir, We have a project manufacturing scenario and details are as below : We created a Project and assigned a FERT  (having multi-level BOM)  to a WBS and using MRP run against the project various planned order gets generated .  Manufacturing sta

  • Relate a OM internal object to a external object on table level

    Hi expert,        how can I relate a OM internal object to a external object on table level, can you please give a example. Many Thanks,