Add Tax-Code in Shopping Cart... when we create PO

Hi,
Area: SRM 5.0, Classic Scenario.
Friends, I am asked to add Tax-Code in the Shopping cart to be used in the PO creation in R/3.
Was asked to use a BADI. We dont have tax created in the Shopping carts. The Tax ix not calculated here, so the Tax-Code would be IO. And even I am allowed to Hardcode this tax-code 'IO' and send it while a PO is created.
1.Now, which BADI can i use to add the tax-code to shopping cart ?
I have seen that, in the BBP_GET_SC_DETAILS function module the E_TAX is completely empty while lt_items has all the line items.
2. Now, do I have to Pass all the line items to this E_TAX from lt_item including tax_code as some hardcode value ?
All Helpfull Answers Will be Rewarded.
Thanks & Regards,
Ashwin.

Hi Ashwin,
Try with the following code.
data : ls_po_acc TYPE bbps_badi_po_account_1,
         ls_po_accx TYPE bbps_badi_po_accountx_1.
LOOP AT cs_po1_document-it_poaccount INTO ls_po_acc.
       ls_po_acc-tax_code = 'IO'.
       MODIFY cs_po1_document-it_poaccount FROM ls_po_acc TRANSPORTING tax_code..
ENDLOOP.
LOOP AT cs_po1_document-it_poaccountX INTO ls_po_accX.
       ls_po_acc-tax_code = 'X'.
       MODIFY cs_po1_document-it_poaccountX FROM ls_po_accX TRANSPORTING tax_code..
ENDLOOP.
Reward points if useful.
Regards,
Kayal
Note : The code above has to be written in method FILL_PO_INTERFACE1 of Badi BBP_CREATE_BE_PO_NEW
Edited by: Kayal Priyadarshini on Mar 11, 2008 4:33 AM

Similar Messages

  • Tax code automatically to Freight costs document created thru VI01

    Dear friends,
    Could I determine tax code automatically into freight costs document when I create document in VI01 ?
    How could I do that ?
    This tax code goes to PO when PO created to pay this freight costs ?
    best regards,
    Ale

    Dear Alessandro,
    Herewith I attached the link which would help you.
    transaction codes..
    Please refer to this link. You will get better view. TQ
    rgds,
    nanthakumar

  • How do I add an already built Shopping Cart  (PHP and MYSQL) application to a page in a Muse site?

    How do I add an already built Shopping Cart  (PHP and MYSQL) (Cartweaver 4) application to a page in a Muse site? Do I have to export the Muse site as Html to dreamweaver and them use the extension to bring the shooping cart in or can I do it directly in Muse?
    Message was edited by: mgv2048

    We have experimented with doing this with some good success. We have been working on adding Cartweaver to a Facebook page by essentially adding a Cartweaver store to Facebook in an iframe.  The "store" would be pages with just your basic product display, cart, and checkout functionality, with none of the "window dressing" - just use CSS to match the color and general look of the design it's being added to.
    The one problem with this for Facebook is when it comes time to check out toy have to leave Facebook and go to your server where an SSL is in place.  Fortunately in this situation this would not be the case, you can have an SSL installed to the root of your site and you'll be okay.
    This is an interesting project.  Give this a try and let me know how it goes and if you run into any snags, please make a post on the Cartweaver forums: http://forums.cartweaver.com - I'm really confident that this can work, and not only work, but work well.
    Looking forward to hearing how this goes, and being of what help we can.
    Lawrence Cramer - *Adobe Community Professional*
    http://www.Cartweaver.com
    PHP & ColdFusion Shopping Cart for Adobe Dreamweaver
    Stay updated:
    http://www.facebook.com/cartweaver
    http://www.twitter.com/cartweaver
    http://blog.cartweaver.com

  • Add Unique Product in Shopping Cart

    Hi,
    I want to add a product only one time in shopping cart. I can add multiple product but want to have validation if buyer is going to add same product again. I have tried to resolve this problem with the help of custom JS but I am unable to find out product code at the time of "Add Sopping Cart" whether it is added or not. Please provide me fruitful solution.
    e.g.
    Go to :
    1- http://www.cybre-t2v.com/voices-and-languages
    2- Select Product
    3-Add to Shopping Cart
    4- Again go to Product list page  http://www.cybre-t2v.com/voices-and-languages
    5- Now again select same product
    6- Again "Add to Shopping Cart" : Here should be message "You cannot add same product in shopping cart"
    Thanks
    Raghu

    Wait, actually even easier would be to set the maximum qty for the product to 1 in the product details.

  • Add an approval to shopping cart whose status is awaiting approval SRM7.0

    Hi All,
    In one of my requirements i need to add an approver to a shopping cart which is on status awaiting approval programmatically in SRM7.0.
    1. Is it possible to add an aprrover to shopping cart whose status is awaiting approval programmatically.
    2. If yes, please guide me the steps or classes and methods are used to do this.
    Thanks in Advance.
    Best Regards,
    Krishna

    Hi Saravanan,
    I am sorry for delayed response..
    Requiremnet:
    Need to add approvers manually to the shopping cart which is on awaiting approval status.
    The code flow follows as below:
    1. as the workflow already started for this shopping cart so we have interrupted the shopping cart with belwo method
              CALL METHOD /sapsrm/cl_wf_adv_facade=>interrupt_process
                EXPORTING
                  iv_document_guid = lv_new_guid ( shopping cart guid)
    2. instantiated the object for the class /sapsrn/cl_pdo_bo_sc_adv, to its constructor i have passed values work item id generated in above process.
    3. added an approver manually to shopping cart using method of above said class /sapsrm/if_pdo_do_apv_ext~add_approver.
    4. if i skip the execution of method  /sapsrm/if_pdo_bo_sc~order, i am able see all the approvers added manually but the status is "In your Inbox"
    5. if i execute the above said order method, all the approvers added manually are lost.
    Question:
    1. Please suggest me the sequence of methods called are correct?
    2. As per my understanding complete workflow is restarting, so it is losing all the manual approvers if i am wrong suggest me,  Is it not possible to have previously added manually added approvers even after ordering the cart?

  • Can not add item to the shopping Cart with FireFox 8.0

    I can not add items to the shopping cart with Firefox 8.0. Switch to IE everything works then.

    Such details are stored in a cookie, so make sure that you do not block cookies on that site.
    *Tools > Page Info > Permissions
    You can inspect and manage the permissions for all domains on the <b>about:permissions</b> page via the location bar.
    *http://kb.mozillazine.org/Cookies
    *http://kb.mozillazine.org/Websites_report_cookies_are_disabled

  • How to Add new fields to Shopping cart?.

    Hi SRM GURU'S,
    I am using SRM 5.5 and ECC 6.0 and Extended Classic scenario.
    As per business, I want to add New fields to Shopping cart. How can I add?. Please any one give me clear details about this
    I am planning to add 2 fields 1. Commitment Item and 2. Fund center. in Cost Assignment tab. Is it possible?. This data has pass to  follow on documents. Backend documents has this provision. Is this option available in Shopping cart?. If yes please give me the details.
    Kindly respond quickly. Thanks in Advance.
    Regards,
    John.
    Edited by: johnmiller465 on Sep 22, 2009 1:13 PM
    Edited by: johnmiller465 on Sep 22, 2009 1:18 PM

    Hi Deepti/Shital,
    Thank you so much for your reply. I have awarded points. One more question. While creating creating PO from Process Bid Invitation, PO is not replicating into ECC. Do you have any idea?. Please help me to findout.  Respond quicklly
    If it will not replicate, how to create backend PO refering with SRM PO.
    Regards,
    John.
    Edited by: johnmiller465 on Sep 23, 2009 11:53 AM
    Edited by: johnmiller465 on Sep 23, 2009 11:55 AM

  • Shopping Cart is not creating Purchase Order

    We are using SRM 4.0 in an extended classic version.  We have been running into a couple of situation where that shopping cart that are created and approved are not creating PO in SRM.  The follow-on document in the SC shows it's approved and the SC # but there is no purchase order linked to it.
    I have looked in tcode BBP_PD but it's not yielding anything to this situation. I have also checked to make sure BBP_GET_STATUS is running and that is fine....so can someone point me in a direction to look?

    Hi
    <b>Please refer to follwoing SAP OSS notes as well.</b>
    <u>Note 980017 - Follow-on document not created
    Note 949162 Follow-on documents exist, status I1111 and I1113 active
    Note 899006 - Status I1112 and I1113 even though subsequent doc exists
    Note 1040670 Requirements are greyed out in the sourcing cockpit
    Note 865797 BBP_ALERT_SB_NOTTRANSFERED: Incorrect status set
    Note 854478 Alert monitor: No longer possible to transfer shopping cart
    730239 Check status: Missing Backend reference
    798604 Shopping cart monitor: Icon transfer inactive
    729967 Shoppng cart:Status I1111,no follow-on docs->analysis report
    728536 Shopping cart: Follow-on docs => analysis-/correction report
    486246 Incorrect shopping carts offered for confirmation
    Note 432434 'Item in the transfer process' for reservations</u>
    Hope this will definitely help.
    Regards
    - Atul

  • How to split shopping cart qty to create two PO

    Hello SRM guys
    Could you give me a tip to develop for this requirement?
    We use the classic scenario.
    My customer want to split shopping cart qty to create PO with different vendor.
    I know that buyer can change the shopping cart data in workarea. But buyer can not split shopping cart qty to create PO with different vendor.
    Help me --;;
    How to develop this requirement?
    example:
    Shopping cart No: 60001
    line item 10: AA 100 qty
    Buyer want to split SC qty
    SC No: 60001 -->line item 10: AA 50 Qty --> PO 001
    SC No: 60001 -->line itme 20: AA 50 Qty --> PO 002
    Thank you
    Best Regards

    Hi Sohee,
         I think your requestor wants to have 'Quota arrangement' concept (available in MM) in SRM also.
         SRM 5.0 provides such feature, but the source of supply should be represented by a contract and the Quota allocation
         I don't think SRM 4.0 has such feature. In which case this might need detailed analysis and modification to SAP modules. It again depends how flexible you want the feature to be. I mean, it depends, whether you alwasy want equal distribution or self-adjustable distribution etc...
         I would be interested to know how this requirement will be implented in SRM 4.0 (in case if you have SRM 4.0)..
       Thanks,
       Jude

  • How to add a item to shopping cart in iProcurement by java codes.

    I have encountered a problem in the development of iProcurement, I don't know how to add a item into the shopping cart. Please help me.

    This is the Configurator forum, your question is probably better posed in the Procurement forum (Procurement

  • Add customer fields in Shopping cart and purchase order

    Hi,
    I have to add fields(moder of transport, country origin, country destination and more) in Shopping cart and purchase order in SRM system and remotle i have to update the same data in R/3 System.
    could you please guide how to add the fields in screen.
    regards
    Shakeer

    Hi
    We have done this type of requirement several times in our previous SRM Implementations.
    <b>You need to create an Append Structure in the Standard Structure to create the custom fields in your case.</b>
    <u>Refer this link below for details.</u>
    http://help.sap.com/saphelp_47x200/helpdata/en/cf/21eb61446011d189700000e8322d00/frameset.htm
    <b>Define the fields of the append structure. You can proceed as when creating a normal structure with two restrictions (see Creating Structures).
    The fields of an append structure must lie in the customer namespace, that is the field names must begin with ZZ or YY. This prevents conflicts with fields inserted in the table by SAP.</b>
    http://help.sap.com/saphelp_srm50/helpdata/en/5b/c9df3b6ac34b44e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/28/857a1867b52e4f8472c5d49209a675/frameset.htm
    <u>BBP_CUF_BADI_2 BADI will be used to control the properties (hide/unhide, input/output enable or disable) for those customer fields you created in the above append structures.
    BBP_DOC_CHANGE_BADI for defaulting or modifying the customer field contents, incase required.
    BBP_DOC_CHECK_BADI for issuing customer messages for the customer field contents (incase data is entered incorrectly) , incase required.</u>
    Let me know incase you face any issues.
    Regards
    - Atul

  • Add Customer fields to Shopping Cart Wizard - Not showing on one screen

    Hi,
    I have added 3 custom fields to the SRM portal (5.0), by adding these fields to structures INCL_EEW_PD_ITEM_CSF & INCL_EEW_PD_ITEM_CSF_SC, as described in OSS Note 672960.
    On the Shopping Cart Wizard, these custom fields appear in the default settings for items & when adding a Limit Item.
    However, they do not appear in the selection for "Describe Requirement".
    How do I add them to this subscreen? I have tried copying the customer fields subscreen in Screen Painter from the Limit Item screen (in addition to flow logic and html template changes.) However, it doesn't work right this way.
    Please help.

    Not sure which CUF BADI you are referring to, since there are 2 of them. 
    BBP_CUF_BADI - Not implemented, since this is used to change how custom sub-screens look and act by creating your own (if business logic is complex). Not relevant, since the Customer fields subscreen does not appear where we need it. We have no use for controlling it in the areas where it does appear.
    BBP_CUF_BADI_2.- Implemented. Is used to control customer fields. Not relevant, since the Customer fields subscreen does not appear where we need it. We have no use for controlling it in the areas where it does appear.

  • Change in Currency code in Shopping cart changes the given price

    hi all,
    When i change the currency code the price given gets varied automatically in the shopping cart,Could anyone please advice me why and whats the reason behind chnages?
    i appreciate your value participation.
    Thanks,
    SNMPkumar

    Hi
    If you change the currency code in the shopping cart it will happen automatically.  because we are maintain the currency conversion in the system because of this will happen. 
    regards
    satish

  • Multiple tax code option and add tax code at the time of Import

    Is there a way using which we can add multiple tax codes to a Products. Also is it possible that we apply this tax code to products at the time of Product import instead on manually updating this to each product.
    Regards
    Leena

    Hi Leena,
    As per the system design, you can't add multiple tax codes to a product. You can update the tax code using Product import feature. For info on product import, Please refer to the following link http://helpx.adobe.com/business-catalyst/partner/product-inventory.html
    Regards,
    Aish

  • How to add custom link to shopping cart

    hello,
    can anyone tell me how to add a link to the shopping cart page (rather than using the View cart link on the module_shoppingcartsummary)?
    also, is it possible to customise the module?
    instead of:
    2 item(s), Total: £0.00 View Cart
    i'd like to display:
    <cart image> My Cart 2 item(s)
    thanks and regards,
    Frank

    I am getting pretty frustrated with all the broken links in here. Why can't you guys forward these deprecated links?
    If the only results in my searches for help end in broken links to a decrepit website, then you erode any hint of professionalism here.
    These links are only a few months old and yet youve shut them down without even a thought of who've you have left hanging.
    We pay for this abuse?
    Argh!

Maybe you are looking for

  • Internet on solaris 10

    Ii solaris 10 everything was ok with the instalation. The update manager is working and download-INSTALL some updates. But the web browser can not connect even to sun.com. I know a few things about the network because i was a windows os user.

  • WOW Ti4600 performance Problem ? ? ?

    I have the MSI Geforce Ti4600vtd when i run 3d mark i pullout scores like 7900 and running the benchmark at 1600x1200 (the highset) i get a score like 4700 thats with AA off and V-sync disabled whats my problem? or any recommendations? Thanks in adva

  • Hi Gurus :  about BAPI

    Hi GURUS,         I want to extract customer general data,customer sales data,customer company code data, customer partner rolls data...so could any body suggest me BAPI available for this.....available one bapi ? Pls suggest it would be great helpfu

  • Can I be billed for my membership and pay with a check?

    My employer pays for Adobe Creative Cloud.  There will be a change in leadership shortly.  As a result our credit card will cancelled.  Can we be invoiced and send a check in?

  • Delay downloading Exchange server email

    I use an iMac with an ethernet link to cable internet service. Using Mail, I have a strange delay of 1-2 minutes before email downloads from an Exchange server. Interestingly, my MacBook, also using Mail, downloads the same Exchange server email almo