Import IS_HEADER and IS_ITEM in BADI-BBP_CHANGE_DEFAULT

Hi Team,
I have a common requirement, I need to add 6 days to the default delivery date in the Shopping Cart.I have a Implemented BADI Using BADI Defination BBP_CHANGE_DEFAULT.In method Change_Default_Deliv_Date I have to import IS_Header and IS_ITEM.
How can i import them in my code.I am also using FM -DATE_CONVERT_TO_FACTORYDATE to get factory calender date.
Please help me how to import IS_Header and IS_ITEM.
Here is my code.
Local Variable Declaration
    DATA: lv_deldate TYPE eindt,
          lv_date    TYPE scdatum,
          lv_dateret TYPE scdatum,
           lv_facid  TYPE wfcid.
Function name container for dynamic call
  DATA :lv_funcname TYPE rs38l_fnam.
Adding days to delivery date
    lv_deldate = sy-datum + '6'.
Moving Changed Delivery date to lv_date
    lv_date = lv_deldate.
Function Module to check the working day
    CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
      EXPORTING
        correct_option               = '+'
        date                         = lv_date
        factory_calendar_id          = lv_facid
      IMPORTING
        date                         = lv_dateret
      EXCEPTIONS
        calendar_buffer_not_loadable = 1
        correct_option_invalid       = 2
        date_after_range             = 3
        date_before_range            = 4
        date_invalid                 = 5
        factory_calendar_not_found   = 6
        OTHERS                       = 7.
    IF sy-subrc <> 0.
    ELSE.
      CLEAR :cv_deliv_date.
      cv_deliv_date = lv_dateret.
    ENDIF.

Hello,
Use BADI BBP_DOC_CHANGE_BADI
Hope this helps.
Default Delivery Date on Shopping Cart
Thanks
Ashutosh

Similar Messages

  • How do I find bad music files?  I have thousands of files, but some are bad.  When I try to load them into iTunes, it just spins.  I need a routine to identify and remove the bad files.  Any ideas?

    How do I find bad music files?  I have thousands of files, but some are bad.  When I try to load them into iTunes, it just spins.  I need a routine to identify and remove the bad files.  Any ideas?

    Hi ajoddo20,
    Welcome to the Apple Support Communities!
    You can use Home Sharing to import music and other media from one computer to another. Please use the instructions and information located in the attached article for information on how to complete the process. 
    iTunes 11 for Mac: Use Home Sharing to import items from another iTunes library
    Cheers,
    Joe 

  • One user: "Safari is missing important resources and should be reinstalled"

    I have just installed the Safari 3 Beta and when I open the browser it say:
    "Safari is missing important resources and should be reinstalled."
    And its on all sites I try to visit.
    I have tried to (un)install it 3 times and same problem.
    And the scary: Its only on one user. (There not are administrator)
    I have the (nearly) same problem when I'd installed FireFox 2.
    I solved the problem by create a new user, but I really won't do that again. (Have a lot of stuff to move)
    - Josso
    PS: And sorry for my bad english, I'm a boy from Denmark - Europe.
    Windows Vista Home Premium   Windows Vista  

    I have marked my message as "Solved" cause its now solved, but I get a new problem:
    Safari can’t open the page “http://www.apple.com/startpage”. The error was: “unknown error” ((null):10022) Please choose Report Bugs to Apple from the Help menu, note the error number, and describe what you did before you saw this message.
    I think I saw the problem in another thread so I'll searching.
    Thanks for help. =D

  • How to implement classes and methods in badi's ?

    how to implement classes and methods in badi's? and where i have to write the code based on the requirement?can anyone explain me briefly?

    Hi
    Every BADI by default Implements an INTERFACE which already contains some methods with parameters.
    So you have to find the relavenet method based on the related paramters (by checking the fields in that paramters) you have to double click on the method and to write the code.
    see the doc
    DEFINING THE BADI
    1) execute Tcode SE18.
    2) Specify a definition Name : ZBADI_SPFLI
    3) Press create
    4) Choose the attribute tab. Specify short desc for badi.. and specify the type :
    multiple use.
    5) Choose the interface tab
    6) Specify interface name: ZIF_EX_BADI_SPFLI and save.
    7) Dbl clk on interface name to start class builder . specify a method name (name,
    level, desc).
    Method level desc
    Linese;ection instance methos some desc
    8) place the cursor on the method name desc its parameters to define the interface.
    Parameter type refe field desc
    I_carrid import spfli-carrid some
    I_connid import spefi-connid some
    9) save , check and activate…adapter class proposed by system is
    ZCL_IM_IM_LINESEL is genereated.
    IMPLEMENTATION OF BADI DEFINITION
    1) EXECUTE tcode se18.choose menuitem create from the implementation menubar.
    2) Specify aname for implementation ZIM_LINESEL
    3) Specify short desc.
    4) Choose interface tab. System proposes a name fo the implementation class.
    ZCL_IM_IMLINESEL which is already generarted.
    5) Specify short desc for method
    6) Dbl clk on method to insert code..(check the code in “AAA”).
    7) Save , check and activate the code.
    Some useful URL
    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
    http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
    Now write a sample program to use this badi method..
    Look for “BBB” sample program.
    “AAA”
    data : wa_flights type sflight,
    it_flights type table of sflight.
    format color col_heading.
    write:/ 'Flight info of:', i_carrid, i_connid.
    format color col_normal.
    select * from sflight
    into corresponding fields of table it_flights
    where carrid = i_carrid
    and connid = i_connid.
    loop at it_flights into wa_flights.
    write:/ wa_flights-fldate,
    wa_flights-planetype,
    wa_flights-price currency wa_flights-currency,
    wa_flights-seatsmax,
    wa_flights-seatsocc.
    endloop.
    “BBB”
    *& Report ZBADI_TEST *
    REPORT ZBADI_TEST .
    tables: spfli.
    data: wa_spfli type spfli,
    it_spfli type table of spfli with key carrid connid.
    *Initialise the object of the interface.
    data: exit_ref type ref to ZCL_IM_IM_LINESEL,
    exit_ref1 type ref to ZIF_EX_BADISPFLI1.
    selection-screen begin of block b1.
    select-options: s_carr for spfli-carrid.
    selection-screen end of block b1.
    start-of-selection.
    select * from spfli into corresponding fields of table it_spfli
    where carrid in s_carr.
    end-of-selection.
    loop at it_spfli into wa_spfli.
    write:/ wa_spfli-carrid,
    wa_spfli-connid,
    wa_spfli-cityfrom,
    wa_spfli-deptime,
    wa_spfli-arrtime.
    hide: wa_spfli-carrid, wa_spfli-connid.
    endloop.
    at line-selection.
    check not wa_spfli-carrid is initial.
    create object exit_ref.
    exit_ref1 = exit_ref.
    call method exit_ref1->lineselection
    EXPORTING
    i_carrid = wa_spfli-carrid
    i_connid = wa_spfli-connid.
    clear wa_spfli.
    Reward points for useful Answers
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • Importing metadata and changing locations

    Hello!
    I've encountered a problem regarding imported data. I was developing a datawarehouse on a temporary system with OWB installed. I created lots of mappings and tables etc. No we have set up a new database server and I've installed the new OWB repository to this new system. Everything seems to work fine otherwise, but I'm having trouble importing the old data.
    I have exported the metadata in the old system and then imported it straight to the new system. The process itself goes smoothly, but I am unable to update the location information of the database modules. When I import for example a table module, everything seems to go alright, but the object does not appear in the control center at all. If I try to configure the table object, I see that the location field is empty and I can't set it to any value. The locations and users in the new system are different than in the old system due to bad naming conventions used in the old system.
    Do I have to have exactly the same usernames, location names and module names in the new system as in the old system if I want to import metadata AND be able to deploy it as well?
    I hope someone can understand what I mean here.
    Regards,
    Erik

    Hello Oleg,
    No. I did not install OWB software on Server2. It is an AIX server which is supposed to only host the full production database of our organization and no additional software components. I used the repository assistant to create a new repository owner on Server2. This process went smoothly.
    Then I connected to the Server2 repository via the Design Center on my workstation. I then created a new user via the Global Explorer --> Security --> Users. The new user had the "used as a target schema" tagged. I proceeded then to create the database modules as usual.
    The configuration for the whole system is illustrated here (Figure 2-5):
    http://download.oracle.com/docs/cd/B31080_01/doc/install.102/b28224/install_rep02.htm#BGBGEFJD
    As for Server2 using the Server1 Control Center:
    In the (Design Centers) Connection Explorer panel I added a new Control Center (SERVER1_CONTROL_CENTER) in the Control Center menu. I added the Server1 (repository owner) connection details to the prompts. Then I opened up the DEFAULT_CONFIGURATION from my selected project module and selected the new SERVER1_CONTROL_CENTER as the Control Center for the opened project. After this I could use the Control Center normally... except for the mapping deployment bug.
    Thanks for taking a look at my issue.
    Regards,
    Erik

  • Problems importing photos and iTunes

    Have been using iMovie for years - current version 11. All of a sudden, I cannot import photos and music from iTunes into my project. It looks like it will (green plus sign and green bar) but then the perpetual beach ball starts and never stops. I have 22 GB hard drive left and should have plenty of RAM. Bad time for a snag - graduation videos coming up. Any suggestions ? Thanks in advance.

    You cannot actually sync photos to iTunes, it just accesses the folder you specified and copies the contents to your iPod. When it says it will replace all photos, it means the ones on the iPod, as you can only either sync (and mirror the contents of your photo folder, whatever it may contain) or not sync (and keep the photos on your iPod the way they are)
    Also, copying them to the iPod drive will save them there, but to view them on the iPod, you need to go through iTunes.
    Hope this helps.

  • What is main diff b/w imported Archives and External Defination in IR

    What is main diff b/w imported Archives and External Defination in IR

    Hi Vijay,
    ED-standard schema for describing the message structure.If you have the structure provided to you from some external application you can use it in PI directly without recreating in PI.you can import following formats which are used to describe message schema
    WSDL (Web Service Description Language),
    XSD (XML Schema Definition Language),
    DTDs (Document Type Definitions)
    Imported Archives: its used basically for java and xslt mapping where you create the required mapping externally using some tools
    (java-eclipse/NWDS .XSLT-stylus studio).You can also implement XSLT and Java mappingsf and save them as archives in the Integration Repository.
    read More details here
    [ED|http://help.sap.com/saphelp_nwesrce/helpdata/en/26/9e97b0f525d743882936c2d6f375c7/content.htm]
    [Imported Archives|http://help.sap.com/saphelp_nw04/helpdata/en/4c/b2ad3de2d76b3be10000000a114084/content.htm]
    Regards,
    Srinivas

  • Whenever I try to open iPhoto, a message comes up saying that 148 photos have been found in the iPhoto Library that have not been imported. It asks me if I want to import them and I say NO but then it places them in a recovered photo folder. I keep deleti

    Whenever I try to open iPhoto, a message comes up saying that 148 photos have been found in the iPhoto Library that have not been imported. It asks me if I want to import them and I say NO but then it places them in a recovered photo folder. I keep deleting the empty recovered photo files but it just keeps asking me every time I go to open iPhoto! I'd love to just get rid of the "found" photos (I can't open them anyway!)
    How do I get rid of them so that I can just open iPhoto straight up without this?
    Linda

    Open your iPhoto Library package with the Finder.
    Click to view full size
    look for a folder titled Import or Importing and move it to the Desktop. Launch iPhoto to see if the message goes away.  If there is no message  check the contents of the Import folder to see if you want to keep any of those image files (usually they have not been imported into iPhoto). If you want to keep them then drag the folder into the open iPhoto window to import.
    OT

  • Lightroom 1.1 Import Stall and Poor Performance: a solution?

    My lightroom is extremely slow (unusable) when trying to import approx. 1000 JPGs into a brand new, fresh catalog. I've got a Intel Mac 2.33Gz MBP w/2G RAM running 10.4.10 and lots of free disk space.
    A workaround?: As soon as I select "Quick Collection" during the import (since I currently have no images in "Quick Collection", no images are displayed during importing), the import process immediately started progressing at reasonable and acceptable speeds. So this import performance and stall seems to be related to lightroom trying to display photos or metadata info on image sets that are in the process of being imported.

    Jerry,
    What you suggest really is not an effective solution. Go to File>Catalog Settings>Metadata and uncheck 'Automatically write changes into XMP'. That should speed it up considerably. If you have already done that and are still having the problem, do a search for other solutions.

  • How can I import passwords and usernames from Google Chrome into FireFox using Mac OSX?

    All of my passwords are in the Google Chrome browser, but I want to use Firefox as adblock plus is better for firefox. How can I import my firefox passwords & usernames in OSX easily?

    You can't currently.<br />
    Importing passwords from Google Chrome is not implemented.
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=589589 Bug 589589] – Chrome profile migration for Import Wizard and Migration Assistant - passwords, form data, and settings
    ''(please do not comment in bug reports)''

  • HT1766 how do i get the pc to open up the file dialog when i plug in my iphone?  It asked me what to do, and I said to import files and pictures, and now it goes directly to pictures.

    I have a laptop with touch screen and windows 8.  I plugged in my iphone because i wanted to sync my music to itunes.  A box came up and asked what I wanted to do when the phone was detected.  I had 3 choices and do nothing.  I chose import files and pictures.  and now, when i plug it in, it goes right to pictures.  How can i change it so the little file box opens and gives me the option to "import files and pictures?"

    You should install iTunes for Windows and sync your iPhone with it.

  • Why did my charger already go bad..bought another one and it went bad..now phone will not charge..only had it 2 months..what a disappointment so far..should have stayed with Apple..would like to get my money back. Terrible experience so far.

    Why did my charger from Verizon already go bad..bought another one and it went bad..now the phone will not charge..what a disappointment and a hassle..should have stuck with Apple..only had the phone 2 months. Hope they will exchange it!!!!!!!!!!!!

    This is either a Phone issue or an Electrical issue in your home.!   when charging Do you always use the same electrical  outlet?  or did you try others..
    You will know or should know if there are any issues with your other Electronics.. that you Plug into it..
    If it is the s5 which it sounds like it could be then the Local Verizon store at there Discretion will determined if replacement is needed you have a 1 year Manufactures Warranty that covers for things like what your Describing I would take it too your local store see if they'll get you a Replacement or you may have to go through Samsung..
    But I would Try another OUTLET just to see if your phone charges with it.. And Good Luck b33

  • I have continuously over the last 6 months struggled with syncing my iphone and ipod with itunes  The app continually crashes during the picture import.  AND by the way it takes 10-15 minutes before it even attempts to import photos.  The screen says impo

    I have continuously over the last 6 months struggled with syncing my iphone and ipod with itunes  The app continually crashes during the picture import.  AND by the way it takes 10-15 minutes before it even attempts to import photos.  The screen says importing photoes but doesnt try to optimize or anything for 10 minutes.  I have a 3gs with 16Gb so its not a cheap phone.  I have 10Gb free.  I have 6600 photoes.  This is very frustrating and undermines my confidence in your products.  My ipod is an ipod 4 with 16Gb also.  It does the exact same thing to it.  The last time, I had to import photoes a few at the time and with it taking 10-15 minutes each time for 6600 photos it is a long frustrating process.  But it will import every photo a few at a time.  The error message is just that itunes has stopped working.  no hint as to why. AND of course, my phone is out of use for the entire time.  You guys must not want to believe ur phones are a necessary tool...or maybe you dont want the consumer to believe it is.  I have tried to find solutions on your website as well as through other 3rd party communities.  Ultimately they were of no use.  I stumbled onto my solution by accident since Im a bit of a computer geek...a semi-geek.

    I have this issue too, I went into my Windows event viewer. (should have looked at this a year ago when this started)
    it said this
    Faulting application name: iTunes.exe, version: 11.0.2.26, time stamp: 0x51253247
    Faulting module name: ntdll.dll, version: 6.1.7601.17725, time stamp: 0x4ec49b8f
    Exception code: 0xc0000374
    Fault offset: 0x000ce6c3
    Faulting process id: 0x14d4
    Faulting application start time: 0x01ce194399f166ba
    Faulting application path: C:\Program Files (x86)\iTunes\iTunes.exe
    Faulting module path: C:\Windows\SysWOW64\ntdll.dll
    Report Id: 0eb3c37f-8537-11e2-9351-50465d6737de
    basically whenever I try to sync my ipod touch 4G 64GB it crashes iTunes when it begins the pictures. if im lucky ill get 4-5 on there before it stops responding. its not my system or anything im running win7x64 8GB DDR3 ram (Corsair XMS3) AMD FX Eight core processor.
    It is silly that iTunes cannot add pictures to apple devices. it shatters whatever incline I may have to buy apple products. knda like the Airport Extreem router my dad bought the new firmware, caused my router to not function... why release firmware that breaks a product. -_- <-- off topic but still

  • I recently purchased Windows 8 laptop and installed Office 2013. I then installed iTunes. After moving all my music to the new PC, I got iTunes to import it and sync it to my iPod (3rd gen).  However, I cannot get iTunes to sync my Outlook Contacts

    I recently purchased a Windows 8 laptop and istalled Office 2013.  I then installed iTunes. After moving all my music to my new PC I got iTunes to import it, and then synced it to my iPod (3rd gen.) However, I cannot get iTunes to sync my Outlook Calendar or Contacts with my iPod.  When I try it crashes Outlook.  iTunes continues to try to sync, but when it finishes my Calendar and Contents are empty (ERASED!).  I have de-installed and re-installed iTunes (according to Apple's instructions), repaired Office 2013 and Outlook, scanned for viruses (etc), cleaned out temp folders, defragmented, etc., etc., etc. Has anyone seen this before, and does anyone know houw to fix it?  (HELP!)

    Well, I guess I have to download some other software to make my apple product work. Really great stuff you guys sell. I will never buy another apple product. My Iphone, Ipod and Itunes are junk

  • Hello there, is there any way i can log onto Game Center via just my Username as i have forgotten the other details (I made the account when i was 11 - I'm now 14 and have a bad memory)

    The Question says it all really.
    Is there any way i can log onto Game Center via just my Username as i have forgotten the other details (I made the account when i was 11 - I'm now 14 and have a bad memory)?
    I remember my Username on Gamcenter but due to the recent update of iOS7, it is only letting me Sign in through my APPLE ID - which i have forgotten over time. I wish to recover my account recently because I remember purchasing Gems on the game 'Clash of Clans' and I wish I could restart playing the game.
    Many thanks for taking your time to read and answer this question.
    -Gavin Chong.

    Hey xChongy!
    I have an article here that can help you find that forgotten Apple ID:
    Apple ID: How to find your Apple ID
    http://support.apple.com/kb/HT5625
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

Maybe you are looking for

  • How to avoid wrong budget values on S_ALR_87013558 report?

    Hi experts. In the budget drilldown report S-ALR_87013558, the budget column is displaying values that do not match budget profile exchance rates, as well as other rates defined in "currency" button. Other column show expected values according to exc

  • Export and Import with XML(Business Partner)

    Hi All,  I am trying to export Business master data using given below code and it is save XML file(For Save XML I using Code A).but when i import same XML file in again in different company it show error (-5002) "Graph - Bad Form Item" if i have same

  • Use of periodic lot sizing in SNP heuristics

    I am using APO V5.1. I am using the standard APO SNP heuristic, and have periodic lot sizing working OK, with a 2 week periodic type. But I want to try and model the fact that certain products are to be produced in 'even' weeks and other products are

  • Transporting SAP-query

    Hi all ,     i  have transported the infoset , user group and query in the production server     from the test server through the download/upload feature of report RSAQR3TR     all of the above infoset , query , user grp are transported properly.   

  • I have recently put in another hard drive into my system to hold my iTunes any tips on how to transfer the system easier?

    What is the easiest way tostill have my iStore and iTunes accounts and switch from my C: drive to my E: drive which is my new hard drive?