Parameterize APD for ad-hoc output

Hello All,
I have a requirement to produce an interface file ad-hoc.
The file's output format should be exactly the same as an existing job in BW.
The existing interface file is generated from a query via APD.
The query returns the previous weeks sales data by restricting 0CALWEEK  to current-week - 1.
The ad-hoc requirement means that we should be able to specify a week range at, or, prior to run-time.
e.g. 0CALWEEK = 01.2011 to 04.2011 - or - 26.2011 to 27.2011
As far as I can see, I cannot force a prompt for 0CALWEEK when running the APD.
So, I am considering other options such as a concept I have where a control table is used. I would populate it with my week range before running the APD which somehow uses the control table.
However, I can't see how I can practically achieve this.
Can anyone suggest options tio achieve the requirement - or indeed describe how you achieved this challenge.
Many thanks.
The Notorious B.I.

First of all you need to describe the complete setup environement. From your message the information is not very clear. Do you have different routes for wired and wireless?. How each of the devices are configured and espcecially are they enabled to act as DHCP Servers?
I don't know how do you managed to get Gateways. What I could suggest from your message is listed below.
==================================
LAN connection ( Looks OK )
IPv4 Address: 147.143.240.233
IPv4 Subnet Mask: 255.255.255.0
IPv4 Default Gateway: 147.143.240.1
IPv4 DHCP Server: 147.143.244.2
IPv4 DNS Servers: 147.143.162.101,
                                   147.143.161.101
===================================
==================================
Wireless connection ( Do you have router or configure using adapter . Is it same system?)
IPv4 Address: 147.143.1.1
IPv4 Subnet Mask: 255.255.255.0
IPv4 Default Gateway: 147.143.1.1 ( Why this gateway is pointing to itself: Network packet is looping around. it should point to somewhere or IP address of lan connection)
IPv4 DNS Servers: 147.143.162.101,
                                   147.143.161.101
==================================
==================================
Access point setting ( No Problem : Assumes that DNS Servers are reachable and active )
IPv4 Address: 147.143.1.6
IPv4 Subnet Mask: 255.255.255.0
IPv4 Default Gateway: 147.143.1.1
IPv4 DNS Servers: 147.143.162.101,
                                   147.143.161.101
==================================
More details or graphics of your setup would help in providing solution that can work.

Similar Messages

  • Single invoice for multiple DO & Output for the same!

    Dear Gurus,
    I have configured an output type for Export & its for Collective billing,where we have a contact,a sales order and multiple Outbound deliveries but have one collective billing for multiple DOs.
    Here the issue is :-
    1-when i go for collective invoice ,it does not generate a single invoice with all DOs
    2-thus due to which output too is not getting generated.
    I want the settings needed for collective invoice & output type for this export invoice.
    Regards
    Swati Bhatt

    Hi,
    !- Combination criteria in billing is different (gives two diff nos.)
    In copy control at item level DATA VBRK/VBAP assign routine 001(SAMPLE INVOICE SPLIT)
    2-Number of foreign trade data is diff again.
    Check foreign trade data, It should be same in all delivery document
    kapil

  • BADI for updating changing output medium in PO

    Hi,
        Is there any BADI or exit present for updating the output medium in PO , based upon some criteria ?
        In my requirement I want to make output medium as <b><b>'email'</b></b> and set email address to email ID of one of the partner function maintained in PO.
    Thanks and Regards,
    Amit R

    Hi
    <b>At runtime, you will get the GUID in the BADI Interface.</b>
    Incase this BADI does not help, go for another BADI
    1) <u>BBP_SEND_MEDIUM_MODE</u>     
    (Determines the Default Settings for the Send Medium)
    2) '<u>BBP_OUTPUT_CHANGE_SF'</u>.
    <u>Here are some related links -></u>
    Re: PO output medium issue
    Re: SRM PO SMARTFORM
    Re: Control PO output to vendor
    Re: Add a Printer ?  -> LP01
    Hope this will help.
    Regards
    - Atul

  • Creation of Spool for a Report Output in background.

    Hi Gurus,
    I am working on a Report and my requirement is that a Spool should be Generated for the Report Output in background. Instead of generating the spool manually, I need it to be generated in background.
    Please let me know ASAP.
    Regards,
    Amit.

    Get print parameters using 'GET_PRINT_PARAMETERS'.
      DATA : rep LIKE pri_params-plist,
    w_title TYPE tsp01-rqtitle,
    mstr_print_parms LIKE pri_params.
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING destination           = 'LP01'
                  copies                = 1
                  list_name             = rep
                  list_text             = w_title
                  immediately           = 'X'
                  release               = 'X'
                  new_list_id           = 'X'
                  expiration            = 1
                  line_size             = 132
                  line_count            = 65
                  layout                = 'X_65_132'
                  sap_cover_page        = 'X'
                  cover_page            = ' '
                  receiver              = sy-uname
                  department            = 'System'
                  no_dialog             = 'X'
        IMPORTING out_parameters        =  mstr_print_parms
      valid = mc_valid.
    and then use submit statement-
      SUBMIT
      zp1012_ar_rep_vendstat
      TO SAP-SPOOL
      WITHOUT SPOOL DYNPRO
              SPOOL PARAMETERS mstr_print_parms
      WITH s_lifnr IN s_lifnr
      WITH p_bukrs eq p_bukrs
      WITH s_gjahr eq p_gjahr SIGN 'I'
      WITH s_monat BETWEEN p_per-low AND p_per-high SIGN 'I'
                       AND RETURN.
      COMMIT WORK.
    Regards,
    Aparna Gaikwad

  • Print program for the smartform for selecting the output type (email/fax)

    Hi All,
    Requirement :I have to create a print program for the smartform where the output type may be print out,email or fax ,so i need to put the condition for selecting the output type (like printout,email,fax).
    can any body please let me know how  to put the condition for selecting the desired  output type ?
    Thanks in advance
    Rahul

    Hi
    It is not the output type that has to be changed
    it is the MEDIUM which you have to change and configure
    for printout medium is 1
    for FAX medium is 2
    for MAIL it is 7.
    so instead of printout change the medium to 2 or 7 for the same output type and attach to the same driver program and smartform/form.
    Reward points for useful Answers
    Regards
    Anji

  • Number of messages for Purchase Order output

    Hi All!
    I have to set the number of messages for the Purchase Order output at 2 (NAST-ANZAL). For a certain output type, in the Communication method the default value for Number of messages (original + copies) has to be 2. There is a transaction which allows me to do that but I don't remember it.
    Yours answers and your time are appreciate.
    Best regards.
    Florina C.

    Hi
    The transaction is MN05 or
    Logistics->Materials Management->Purchasing->Master Data->Messages->Purchase Order
    Max

  • Different interfaces for purchase order output from MM system

    Dear Guru's,
    We are configuring the business scenarios of service procurement classic and Plan driven procurement with supplier enablement in the MM-SUS environment for our SRM7.01/ECC6 ehp 5 combination.
    These two scenarios are using different interfaces for purchase order output.
    The service procurement classic is using the proxy interface PurchaseOrderERPRequest_
    Out_V1 for purchase order output from ERP.
    However, the plan driven procurement uses the interface ORDERS.ORDERS02 for idoc message for purchase order output from ERP.
    Why are there two different interfaces for the same document output in two different business scenario? How the system will determine which interface needs to be used in the runtime for the purchase order output?
    Any thoughts will be highly appreciated.
    Thanks and regards,
    Ranjan

    Hi Ranjan,
    Please add the value 'CL' in the table SWF_CATIDS
    Then it will work.
    With Regards,
    Malay

  • Debugging the program that will get triggered for a particular output type

    Hi all,
             I have one program,which will get triggered when a Sales order of type 'VOR' is created.Whenever 'VOR' order is created it will trigger the 'ZALT' output type.And this output type 'ZALT'has been configured to my program.This output type configuration has been set up by my functional consultant.
    My problem is I created Sales order of type 'VOR'.But I want to debug my program,which has to be triggered because of that 'VOR' sales order type,which in turn triggers 'ZALT' output type and in turn triggers my program.
    My problem is I created Sales order of type 'VOR' by keeping debugging point in my program.But it is not going to my program and simply displaying sales order has been saved.
    So is the outtype has been configured properly?.Do I need to go to my functional consultant?Could anyone explain in this regard?
    Rgds,
    Balaji

    Hi Balaji,
    If possible, try to repeat the output in the output type messages screen of VA02 and change its dipatch time to '1'(Through further data). Now put the break point in the program assigned to output tye 'ZALT'(You can see this in the TNAPR table) and run the program RSNAST00 through SE38. The program will stop at the break point.
    If its not possible to repeat the output and if you want to check it the first time the output type is processed, ask the functional consultant to change the dispatch time in the condition record that is being retrieved for proposing the output type to '1'. Now run RSNAST00. The program will stop at the breakpoint.
    Thanks,
    Vinay

  • How to create a New user group for AD-HOC

    when i select a work area for ad-hoc i dont find any exisitng user groups...
    i get a blank screen with an error saying no usergroup
    is there a possibility to copy these across clients?
    pls advise
    thanks

    Hi,
    sorry but my english isn't the best so i try an answer again and hope i'm on the right way:
    Step by step guide for example client 100 and 200 on the same system. System 100 has usergroup test001 and client 200 has not.
    1. call sq03 in client 100
    2. pick the transport truck
    3. pick radiobutton [Export] and and radio button [Transport user groups] fill in the field [User groups] with test001.
    4 Execute and write(copy to clipboard) down the transport number
    5 logon to client 200
    6. call sq03
    7.pick the transport truck
    8. pick radiobutton [Import] and radio button [Transport user groups] fill in the field [Dataset with imports] with the transport number.
    9. Execute
    After that your user group should be in client 200.
    If you want to transport between different systems you have export the transport request first.
    Regards
    Bernd

  • HOW TO ASSIGN F4_VALUE_HELP FOR A REPORT OUTPUT FIELD???

    Hi Gurus,
      Can you please help me out in assigning F4_VALUE_HELP for a report output field where it is taking value as the input parameter....... If possible please help me out with some sample code ....
    Regards,
    Santosh
    Intelligroup

    I don't think that you are get the F4 functionality by pressing F4, but maybe if you use a hotspot you could achieve it.  Check this sample.  When you click on a company code in the list, it fires the F4 help defined by the program. 
    report zrich_0001 .
    tables: t001.
    data: begin of it001 occurs 0,
          bukrs type t001-bukrs,
          butxt type t001-butxt,
          ort01 type t001-ort01,
          land1 type t001-land1,
          end of it001.
    start-of-selection.
      select bukrs butxt ort01 land1 into table it001 from t001.
      loop at it001.
        format hotspot on.
        write:/ it001-bukrs.
        hide it001-bukrs.
        format hotspot off.
        write: it001-butxt.
      endloop.
    at line-selection.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
           exporting
                retfield    = 'BUKRS'
                dynprofield = 'BUKRS'
                dynpprog    = sy-cprog
                dynpnr      = sy-dynnr
                value_org   = 'S'
           tables
                value_tab   = it001.
    Regards,
    Rich Heilman

  • The old Apple TV had a port for Analog the new one does not.  Where do I find a (TosLink), Optical to Analog Audio for the Optical Output on the Apple TV so I can run my Analog outside speakers?

    Where do I find a TosLink, Optical to Analog Audio for the Optical Output on the Apple TV 2? 

    click here for information.

  • Running APD for multiple variants of a query

    Hi all,
    I am trying to create an APD with a query as the data source and an ODS as the data target. My requirement is such that i need to run the APD for various values of the characteristic combinations present in the selection screen of the query. I observe that we can only specify a single variant while defining the Data source of type query under RSANWB.
    Is there any way i can use multiple variants with the same query in a single APD , so that the APD runs for different variants of the same query at different run times ?
    Any help would be appreciated !
    Regards
    Snehith

    Hi Snehith,
    As per my knowledge, multiple variants with the same query in a single APD is not possible.
    However you can create different APDs for different combinations of characteristics value and then can use all these APDs in a single process chain to automate the load.
    For Example, Say you have query Q001 whose data you want to load in DSO DSO_001 and then to Cube C_001 for the characteristics combination. Now without filter in your query, you have Controlling Area = IN000,CN000 and Company code IN01,IN02, IN03, CN01,CN02,CN03. Now you want the data for (Controlling Area = IN000,Company code IN01,IN02)and (Controlling Area = CN000,Company code CN01,CN03).
    Create the two APDs with filter conditions between Q001 and DSO_001 as above. Now design the process chain as below:-
    Start varian>First APD>Data load in cube C_001 from DSO_001>Second AP> Data load in cube C_001 from DSO_001.
    Please note that when we execute the APD, old data in data target is deleted.
    Hope it helps.
    Regards,
    Prakash

  • No condition maintained for Order Confirmation output type but still active

    Hi,
    I have NOT maintained any Condition record for Order confirmation Output(BAFX) but still it is generated and Fax instruction is being sent to the Sold to Party. Also i found that NO condition record for Order confirmation output(BA00) is also maintained but still Order confirmation is still being triggered.
    Actually i want that NO Fax instruction is to be sent for Order confirmation for some of the customers.
    Kindly advise.
    Thanks,

    Hi vk@sap,
               Check in the output analysis how the output was determined, so that you can know why they're still determined.
    Thanks,
    Mariano.

  • Idoc numbers for a certain output in Sales Orders

    I have more than hundred Sales Order
    One EDI output was triggered (with a unique partner type) from each of these Sales Orders.
    How to find idoc numbers for all these Sales Order for this particular output?
    I tried WE09 giving Segment and field with value....two issues with this. first is it is not working for me...not records found.
    Secondly It take one value at a time. I can't do this for every Sales Order
    Is there any database table or something else to find these idocs?
    Thanks a lot!

    Hi,
    if this special partner type is the partner type of the IDoc receiver, then you can search for relevant IDocs in transaction WE02.
    If you need a partner type out of the sales order data, then it is stored in table EDID4 "IDoc Data Records".

  • CRM datatargets nog available in BI APD for CRM Update

    Hi collegues,
    I am a bit on a rush job here, so I havent got the time to figure everything out myself. Any help is appreciated.
    I am trying to update Business Partner Routing Attributes (Marketing attributes) via the APD from BI to CRM.
    All is built but i cannot select the data targets in the APD for CRM.
    The error CRM error : Data target BPMKT not known
    Message no. RSAN_MDL022
    Diagnosis
    The following error occurred while attempting to access the CRM system:
    Data target BPMKTnot known
    The message number in the CRM system is: 002CRMBW_ATTR_WRITE.
    same error message as in thread
    CRM error: Data target BPMKT; not known
    I have done the customizing in CRM @
    Define ID for Data Target Adapters
    Release Data Target for Replication from SAP BW
    Maintain Attributes and Select BW Key Figures for Business Partners
    But when i select any BI adapter in the APD for CRM attributes i get the error mesage mentioned above.
    do i have to release anything to BI?
    can anyone give me a hint as how to i can solve it?
    tnx a lot
    rogier

    Hi Rogier, I got same problem.
    How to resolved it?
    Regards.
    Enrique.

Maybe you are looking for

  • BW Steps before and after R3 server migration

    Hi Friends, We are using ECC6 and BW 3.5. My client is going for R3 server migration, yes it's just a migration of server and not any upgrade. This server is quite old so migrating to a higher end server. BASIS will do a system copy during downtime i

  • BAPI for Clients

    Hello... I need a BAPI with functionality of registering and modifying clients on SAP R/3, currently we have SAP XI in our organization but we are only installing Finance and Controlling. Someone know about that? Thank you Alicia

  • Drivers for ProBook 4540s (Microsoft Windows Ultimate)

    As we can see at this HP page for ProBook 4540s drivers, it has not been offered drivers for both 32-bit & 64-bit versions of Microsoft Windows 7 Ultimate. I want to know whether drivers for those versions are available at anywhere &/or is it OK if I

  • Query to calculate the Sales Analysis on OINV table

    Hi All, I have a requirements that will calculate the sales analysis based on A/R Invoice and also considered the Credit Memo applied to Invoice. thanks, vin

  • Pre-loaded Music?

    I just got my iPod nano as a gift and when I took it out of the box, it already had 660 songs on it and 4 games. Are they supposed to come pre-loaed with media?