Call BAPI_REQUISITION_CREATE from EBP.

Hi all,
I have make a copy from BAPI_REQUISITIO_CREATE, in order to call it in test mode to control the R/3 checks, this BAPI makes, before SC is ordered.
Now I have to get the fields to inform the BAPI, somebody knows where the standard process call this function to create a Requisition Purchase to see how it is populated?
Thx,
Su

Hi Suzor,
this is an interesting approach.
Document creation simulation is already existing for GR, IV (in SRM 5.0), PO maybe (BAPI_PO_CREATE1 has a simulation mode), but not for Requisitions.
To implement this, you should use the BADI BBP_DOC_CHECK_BADI, and when IV_SAVE = X, you execute your simulation.
Do execute your simulation (this is where), you will first have to simulate the transfer of SC items, to determine if you create a RS, PR or a PO and how SC items are grouped.
And then for each backend document, you will call your simulation function.
To do this, build your own META driver, and copy the standard document creation flow:
ex for a PR:
SPOOL_RQ_CREATE_DO --> copy to ZSPOOL_RQ_CREATE_SIMULATE
this FM uses SPOOL_RQ_READ_BAPI_EXPORTS to map SC items linked to this doc ID: in your case the SC items are not yet linked to a backend doc (this is done during the real transfer). So you will have to redevelop this logic.
And then call a copy of META_REQUISITION_CREATE --> ZMETA_REQUISITION_SIMULATE, with the driver logic (table BBP_FUNCTION_MAP) where you will finally call your R/3 copy of BAPI_REQUISITION_CREATE in test mode.
And of course return back the R/3 error messages if any.
Rgds
Christophe

Similar Messages

  • Calling BSP from EBP

    Hi ,
    Has anybody called BSP page from EBP/ITS application ?
    How can I call BSP from ITS ?
    Thanks & Regards,
    Sachin S M

    Hi Sachin,
    the easiest way is to call the BSP as a "catalog"
    Just publish your BSP, then you may find under tab properties the copmplete URL for your BSP Application.
    Then just define a catalog in spro
    "Enterprise Buyer->Master Data->Define Catalogs"
    where you define a "catalog" with the URL under catalog application call structure.
    Result:
    You should find an entry under your tab caltalogs with  the description from your entry made in the customizing.
    Regards
    Andreas

  • Employee user not able to access catalogs from EBP

    Hello Seniors,
    We are implementing SRM 4.0 with scenario SSP and CCM 2.0.
    Please note the landscape highlights:
    EBP and CCM component are mounted in the same client and same server.
    CAT and CES are also on same client.
    No XI in picture.
    Catalog upload has been done through CSV format only.
    Please note the activities I have completed:
    Cat_Manager assigned to /CCM/CATALOG_MANAGER role and profile generated.
    Did the customizing for CAT
    Did the customizing for CSE
    Activated the required services
    For the service srm_cse set the log on procedure as "log on data required".
    Maintained a service user "ccm_user" in anonymous log on data.
    Maintained "define external web serices" in SRM img->SRM ->SRM server ->Master data (Here i have a doubt which is explained later)
    Intialized CCM with report.
    Uploaded schema in the master catalog.
    Created supplier ID and catalog.
    Uploaded CSV file for Supplier catalog.
    Mapped Supplier catalog with master catalog
    Published Master cataog.
    maintained entry of master catalog in PPOMA_BBP.
    Now I logged on EBP home page with employee user.
    Went to application shop.
    My master catalog published in CCM component was present there with exact name.
    But when the employee user clicks on the particular catalog link to choose the items from , He is getting an error "" BSP exception: Access to URL /sap/bc/bsp/ccm/srm_cse is forbidden "".
    With this error message immediately the attention goes to the service srm_cse.But there I have maintained a SERVICE user by user ID ccm_user which is existing in SRM SU01.
    In the whole customizing explained above I have two weak points which I want to state now:
    1. The integrated call structure for my particular master catalog was copied from other catalog.
    There i am missing one sr. no. of 70 (ie after 60 , 80 is there).
    But all the values for url, ccm-user, password, sap-client, sap language, locale, catalogID are filled correctly with type as per config guide.
    Do the parameter names should come exactly as per sequence given in guide(In my case it's not so.)
    (If anybody wants to see screenshot for this point pl. give me personal ID.)
    2. I had deleted the entry of my particular master catalog from the external web services to correct the error stated in pt. no 1 .
    But when i tried to create an entry again with the same ID system gave me an error saying that the said catalog is marked for deletion.
    now entry of this particular master catalog is present in table /CCM/D_CTLG_REQ with no x mark in active column.
    But my catalog ID is present in external web services.
    Can point no. 1 and 2 are reasons of the failure to access the catalogs from EBP?
    If it is so then please tell me the procedure to recreate the integrated call structure with same catalog ID.
    Please excuse me for the length of the matter , but i have tried to give every relavant detail so that clarity should be max.
    Best Regards,
    dinesh
    [email protected]

    Hi Dinesh,
    Please see cooments below...
    1. The integrated call structure for my particular master catalog was copied from other catalog.
    There i am missing one sr. no. of 70 (ie after 60 , 80 is there).
    But all the values for url<b>[Adeoye]where did you get your url from? Go to SE80 --> BSP application --> /CCM/SRM_CSE --> Controller -->main.do and check the url</b>, ccm-user, password, sap-client, sap language, locale, catalogID are filled correctly with type as per config guide.
    Do the parameter names should come exactly as per sequence given in guide(In my case it's not so<b>.)[Adeoye] Yes i believe this should be in the satated sequence.</b>
    (If anybody wants to see screenshot for this point pl. give me personal ID.)
    2. I had deleted the entry of my particular master catalog from the external web services to correct the error stated in pt. no 1 .
    But when i tried to create an entry again with the same ID system gave me an error saying that the said catalog is marked for deletion. <b>[Adeoye] Save your deletion first, before trying to create it again.</b>
    now entry of this particular master catalog is present in table /CCM/D_CTLG_REQ with no x mark in active column.
    But my catalog ID is present in external web services.
    I also sent you a cookbook to help with this, hope this helps...
    BR,
    Adeoye

  • Need to understand impact on workflows during upgrade from EBP 3.0 to SRM 5

    Hello experts,
    Greetings to all and a Happy New Year!!
    I am new to the workflow concept, though i have a fair idea of EBP.
    We are using EBP 3.0, classic scenario.  Very soon, we would be upgrading from EBP 3.0 to SRM 5.0. I have a few questions which i need to knw before I take up the upgrade part:
    1) The impact on the worflows like Shopping cart approval, purchase contract approval etc when we upgrade from EBP 3.5 to SRM 5.0...
    2) Does EBP have their own release strategies or are the release strategies defined in R/3 and applied to the shopping cart when it is ordered in EBP? As in classic scenario, POs are created in R/3, then how does the appoval process happen?
    3) What are the necessary things, if any, that I should make sure of before upgrading?
    4) Does all workflows also get upgraded or is there any tool to upgrade the workflow?
    I am not clear with the approval concept in EBP. I know there are workflows that get triggered when a shopping cart is ordered but the approval process in this workflow is something which i want to understand. Please forward me a document, if possible, or a link will also do.
    Please let me know the necessary details.
    Thanks in advance.
    Regards,
    Ayush

    Hi Ayush,
    Most workflows will be the same, but if you have modifications on these workflows' then i'd suggest reverting back to the standards for the upgrade.
    Im not quite sure what you mean about the release strategy. What can be done though, is creating Purchase Requisitions in the R/3 and pass them to the SRM system. From here PO's can be created and the approval process will take place in accordance with your workflow rules in tcode: swb_cond.
    Before upgrading, try to have the system as clean as possible. When i say clean, i mean make sure that users are consistent, SC's, PO's etc arent left hanging. Try to avoid carrying documents over to the new system. I'd suggest archiving anything you can too.
    I don't have any documents to give you but the basic process and transactions are as follows:
    SWB_COND: Your workflow start conditions. Which WF's are on/off (defined by green/red light)
    SWI6: This will let you examine a document and its relevant WF by its object id. (SC No, PO No etc..
    SWUD: Allows for Consistency checks on your workflow and will find any inconsistencies which are occuring. (Use Test Environment and WF Tech Name i.e 14500015)
    SWDD: The workflow builder, will let you build, activate, create new version and modify the worklows in your system.
    Approval itself is simply the chain of approval which a workflow is defined to follow. You need your managers to approve/reject and the conditions for which Managers should be called for approval. Its works from Possible Approvers for workitems and Excluded Approvers for workitems.
    Understanding the WF log is the most essential thing of all. The understanding of BADI is quite important too.
    Hope this info helps you. Check help.sap.com cause everything is documented there too!
    Cheers
    Will

  • EBP SUS scenario ---sending a PO output from EBP to SUS

    Hi All,
    We are working on EBP SUS scenario with SRM 5.0 and ECC6.0 as the backend.
    We are creating a PO in the EBP which is to be sent to SUS for creating a POR in SUS from vendor.
    1) How do we configure the PO output from EBP to SUS system?
    We could see one method call in Set output actions and output format for sending XML purchase orders. How do we configure this to send it to SUS.
    2) Is it possible to have EBP and SUS in one client where from we will create a PO and send it to SUS?
    Thanks in advance.
    Best regards,
    Sridhar.

    hi,
    there is one customizing setting available --> you need to set this in your SRM system
    transaction --> spro ---> supplier relationship Management --> SRM Server --> cross application basic settings -->
    Set output actions and output format --->Condition dependent document output
    in this setting select --> purchase order ---> you can see four actions --->
    for the last action --->Method call ---> Time of processing ---> should be -->Processing when saving document.
    2) it is possible to have SUS and EBP in same client.
    You can refer to few notes available on service market place.
    ---> it is not to be used for productive use --> only for demo purpose.
    one thing i remember is --> the system type in the scenario is EBP_SUS ( One client EBP and SUS )
    Edited by: khan voyalpad usman on Feb 19, 2008 12:59 AM

  • Coudnt create confirmation or Invoice from EBP

    Hi all,
    I am working in SRM 5.0 Classic scenario..The scenario works well when i post goods receipt and invoice in backend and also it getting reflected in EBP...But when i try to create confirmation or invoice from EBP it shows
    confirmations contains error or invoice contains error
    i have done all the necessary ALE settings(the distribution model etc.)
    can anyone help me in this...
    Thanks&Regards,
    Hari.

    Goods Confirmation transferred via IDOCS
    Service Confirmation transferred via RFC
    Check RZ20 for the errors, if not see BBP_PD or else just put a BREAK-POINT at meta_bapi_dispatch and debug to your function module and see what was the error from lt_retun parameter in the RFC function module called from SRM to R3.
    Error will give you a hint for your issue.
    Please reward points if useful.
    Thanks
    Kasee Palaniappan

  • Transfer PO from EBP to SUS (one client)

    Hello,
    We have EBP and SUS in the same client (SRM 5.00 – SRM server 5.5).
    We are trying to transfer PO from EBP to SUS.
    I am searching an answer to the subsequent questions:
    1. How should be started the PO transfer from EBP to SUS? We know that this transfer is made with XI and “PurchaseOrderRequest_Out” – “PurchaseOrderRequest_In” interfaces but what event should start “PurchaseOrderRequest_Out” interface? We know that “PurchaseOrderRequest_Out” interface is also started by EBP output process instead of printing, should we use this functionality to start this transfer?
    2. We have tried to set the process using the output message (instead of printing) but the “PurchaseOrderRequest_In” interface gives us this error:
    An error occured within an XI interface: Exception occurredA:BBP_BUPA:263 -Ordering party has to be a company
    Programm: CX_BBP_BD_ERROR===============CP; Include: CX_BBP_BD_ERROR===============CM002; Line: 57
    We cannot use transaction BBP_SUS_BP_ADM because EBP and SUS are in the same client (we receive this error: “If SUS and EBP are in same client, create the company in EBP”) and in EBP the ordering party business partner is already a company (if we make a search for “Purchasing Company” in transaction “Manage business partners” we can find the ordering party business partner). We have also run BBP_SP_COMP_INI transaction for this purchasing company business partner.
    Any suggestion?
    Thank you for your help.
    Marco.

    Hi
    <b>These are few transactions available in SRM 5.5 system related to SUS.</b>
    Transactions                       Description
    BBP_NUM_SUSASN       Number Range Maintenance: 'SUSASN'
    BBP_NUM_SUSCF        Number Ranges Maintenance: 'SUSPO'
    BBP_NUM_SUSINV       Number Ranges for 'SUSINV'        
    BBP_NUM_SUSPCO       Number Ranges for 'SUSPCO'        
    BBP_NUM_SUSPO        Number Ranges Maintenance: 'SUSPO'
    BBP_SUS_BP_ADM       Manage Business Partners          
    BBP_NUM_SUSPCO       Number Ranges for 'SUSPCO'           
    BBP_NUM_SUSPO        Number Ranges Maintenance: 'SUSPO'   
    BBP_SP_COMP_INI      Replication of Companies and Empl.   
    BBP_SP_SUPP_INI      Download Vendors for Service Portal   (Replicate Vendors)
    BBPPCO_PO            Purchase Order Confirmation: Call PO   
    BBPPO01              Purchaser Cockpit                      
    BBP_CTR_EXT_PO       Display Contract from PO and SOC       
    BBP_NUM_PO           Purchase Order Nr Range Maintenance    
    BBP_NUM_SUSPO        Number Ranges Maintenance: 'SUSPO'     
    BBP_PD_PO_ERRORLOG   Starts Entry Screen for Error Log      
    BBP_POC              Process Purchase Order                 
    BBP_POC_DISPLY       Display Transaction for the PO         
    BBP_POC_EDIT         Change Purchase Order                  
    BBP_PO_ACTION_CONF   Configure Action Conditions            
    BBP_PO_ACTION_DEF    Define Action Profiles                 
    BBP_TRIGG_PO         Output Control Purchase Order         
    <b>Please try them out.</b>
    When you are facing the problem, please elaborate with steps ?
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

  • Calling report from form. Need PDF output

    I am calling a report from a form using RUN_PRODUCT. I need to display the form in PDF format. When the user clicks the button in the form to run the report, acrobat reader should open up and the report displayed there. Please help.
    Thanks

    Thanks for the response. The first part worked. I am able to get the output in PDF format. In the 2nd part where I want to open acrobat and display the output, I am having some trouble with the code. When I compile, it says
    win_api_environment.read_registry must be declared. Is there some package I need to attach?
    Also, in the After reports trigger, how do I pass vFile (I am assuming this is the PDF file name)?
    Thanks
    The first thing you'll want to do is pass parameters to the report IE DESTYPE, DESNAME and DESFORMAT where these could be FILE, 'c:\temp\report' and PDF.
    Then, you can try this piece of code I wrote (with some help from other people at Metalink and here) sometime back. Now, I call it from forms, but in your case, you'd have to run it in the after report trigger. Since with RUN_PRODUCT you don't know when the report is finished, if you did it from the form, it wouldn't work correctly.
    PROCEDURE OPEN_PDF(vFile IN VARCHAR2)
    IS
    vcServerApp varchar2(40);
    vcServerTag varchar2(600);
    vcCommand varchar2(2000);
    iArgPos pls_integer;
    dummy NUMBER;
    BEGIN
    -- 1 get the Server App for .PDF files
    vcServerApp := win_api_environment.read_registry('HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\.PDF','',true);
    -- 2 get the executable
    vcServerTag := 'HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\'||
    vcServerApp||'\SHELL\OPEN\COMMAND';
    vcCommand:= win_api_environment.read_registry(vcServerTag,'',true);
    -- 3 Sort out how to specify the Filename
    iArgPos:= instr(vcCommand,'%1');
    if iArgPos = 0 then --no substitution Var on the command line
    vcCommand := vcCommand||' '||vFile;
    else
    vcCommand := substr(vcCommand,1,(iArgPos-1))||
    vFile||substr(vcCommand,(iArgPos+2));
    end if;
    -- 4 Run using Winexec (or Host if preferred).
    win_api_shell.winexec(vcCommand);
    EXCEPTION
    when no_data_found then
    abortt('Acrobat Reader was not found! Please consult with your help desk to install it and try again.','N');
    END;
    Chad
    I am calling a report from a form using RUN_PRODUCT. I need to display the form in PDF format. When the user clicks the button in the form to run the report, acrobat reader should open up and the report displayed there. Please help.
    Thanks

  • Contact name not showing in call/sms log even when I call/sms from my address book.

    Two things have changed on my phone recently.
    1. I ran the latest update 4.3.2
    2. My phone was not showing all the contacts in my address book that is in my Mobile Me account. Mobile me had 166 contacts. The iPhone 4 had 136. I I unchecked the syncing of my contacts on my phone. This removed all the contacts from my phone. Then I check the syncing options again. All 166 appeared on the phone.
    I'm not sure which of the two caused the issue but now anytime someone who calls their name does not appear on the display or log, just their number. I can even call people from my address book and the display shows that I am calling them with their name and photo on display. However, in the call log the name does not show just their number.  This applies for text messages. I send a message directly from within the contact card in the address book and in my text log it shows only the number and not the name.
    I've turned the phone off and on a couple of times.
    I would appreciate any advice.
    Cheers

    Thanks iraghib,
    In the end I reset my phone to factory settings. I created a back up of my address book and ical. Reset the phone and did a sync again. This fixed it all. I didn't need to use the backups but is was nice to know they were there. I felt entering the various passwords for all my installed apps was a much better deal than adding the international area code to the 166 contacts I have in my address book.
    Good luck. And thanks for the post.

  • How can I access my Call Handlers from outside line (outside district)

    CISCO VoIP System Info:
    Cisco Unity Connection version: 8.6.2ES25.21900-25
    CM Admin System version: 8.6.2.21900-5 on C200M2 Servers
    Our engineer setup our Call Handlers so that in our to change the recordings on them, you diall 7800 from a phone inside the office, or as he put it in the procedures, from within the district.  Once you dial, you need to enter the user code, password, then the extension of the Call Handler, and we have no problems recording/changing any Call Handlers.  However, due to possible inclement weather approaching in the next few weeks, I was asked how we cna change them from an outside line (manager's home, etc.).  We cannot access from an outside line.  7800 is not a DID, it is simply the extension he assigned to access the call handlers.  I even went so far as to setup a dummy phone and forward it to 7800, but this does not work either.  It forwards to the extension's voicemail.  Is there a way we can access the Call Handlers from an outside line?  Any help would be gretaly appreciated.  Thank you in advance.

    Hey Joseph,
    Go Flames ....errrrrrrrrrrrrrrrrrr maybe not so much
    What you are trying to get to is really just the Greetings Administrator
    conversation and there are multiple ways to get there.
    For example, you can set up a Caller Input off any mailbox (Press 1-9) let's say 7 to
    go to Conversation> Greetings Administrator. So you could set this on the managers mailbox
    and when he calls his own number from home once his greeting
    kicks in he can press 7 to link to the Greetings Administrator conversation
    or
    You could set up a DID DN xxx-xxx-2345 as a CTI-RP and set Call Forward All to reach Unity Connection.
    In this case you will need to use the Forwarded Routing Rules = xxx-xxx-2345 route to
    Greetings Administrator. Make sure to move this rule to the bottom of the list!!
    Cheers!
    Rob
    "Why do the best things always disappear " 
    - The Band

  • Call tcode from alv report and passing  group of values

    hi all .
    i want to call tcode from alv report and passing an internal table or group of values to a selection option of that t code ? how
    ex. passing group of GL to fbl3n and display the detials of all .
    thank you

    Dear,
    You have done a small mistake
    --> rspar_line-option = 'EQ'.
         rspar_line-HIGH = PDATE-HIGH.
    u r passing "high" value and in "option u r passing "EQ" so how it will work!!!
    So if u r passing only 1 date or more dates like 01.01.2010 , 15.02.2010 , 10.03.2010 then pass
    rspar_line-selname = 'SO_BUDAT'.
    rspar_line-kind = 'S'.
    rspar_line-sign = 'I'.
    rspar_line-option = 'EQ'.
    rspar_line-LOW = PDATE-HIGH.
    APPEND rspar_line TO rspar_tab.
    or if u r passing low & high date means in range like 01.01.2010 to 30.01.2010, then pass
    rspar_line-selname = 'SO_BUDAT'.
    rspar_line-kind = 'S'.
    rspar_line-sign = 'I'.
    rspar_line-option = 'BT''.
    rspar_line-LOW = PDATE-LOW.
    rspar_line-HIGH = PDATE-HIGH.
    APPEND rspar_line TO rspar_tab.
    try above code , hope it helps...
    i think u cannot use "call transaction using bdcdata" in ur case bcoz as u said in ur 1st post u want to display the details of all but still if u want to use then u should pass all parameters in  loop.
    PROGRAM
    DYNPRO
    DYNBEGIN
    FNAM
    FVAL
    ex:-
    LOOP AT GT_TEMP INTO GS_TEMP.
    CLEAR bdcdata_wa.
    bdcdata_PROGRAM = 'SAPXXXX'.
    bdcdata_DYNPRO = '1000'.
    bdcdata_DYNBEGIN = 'X'.
    bdcdata_wa-fnam = '''.
    bdcdata_wa-fval = ''.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_PROGRAM = ''.
    bdcdata_DYNPRO = ''.
    bdcdata_DYNBEGIN = ''.
    bdcdata_wa-fnam = 'SD_SAKNR'.
    bdcdata_wa-fval = GS_TEMP-GLACCOUNT.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_PROGRAM = ''.
    bdcdata_DYNPRO = ''.
    bdcdata_DYNBEGIN = ''.
    bdcdata_wa-fnam = 'BDC_OKCODE'.
    bdcdata_wa-fval = 'XXX'.
    APPEND bdcdata_wa TO bdcdata_tab.
    ENDLOOP.
    try above code if u r using call transaction...
    Edited by: mihir6666 on Jul 9, 2011 3:10 PM
    Edited by: mihir6666 on Jul 9, 2011 3:11 PM
    Edited by: mihir6666 on Jul 9, 2011 3:13 PM

  • I cannot log onto the App Store, the page appears when I call it from the dock or the Apple menu. I can call the log-in box from the menu bar, but on signing in the spinning icon just keeps spinning,(not the beachball). Any suggestions? Using 10.6.7 and u

    I cannot log onto the App Store, the page appears when I call it from the dock or the Apple menu and I can call the log-in box from the menu bar, but on signing in the spinning icon just keeps spinning,(not the beachball).  Using 10.6.7 and up-to-date on all software. Any suggestions?

    Could be a third party app preventing you from being able to login.
    Mac App Store: Sign in sheet does not appear, or does not accept typed text
    If it's not a third party issue, follow the instructions here.
    Quit the MAS if it's open.
    Open a Finder window. Select your Home folder in the Sidebar on the left then open the Library folder then the Caches folder.
    Move the com.apple.appstore and the com.apple.storeagent files from the Caches folder to the Trash
    From the same Library folder open the Preferences folder.
    Move these files Preferences folder to the Trash: com.apple.appstore.plist and com.apple.storeagent.plist
    Same Library folder open the Cookies folder. Move the com.apple.appstore.plist file from the Cookies folder to the Trash.
    Relaunch the MAS.

  • Calling Report from Menu (Oracle Forms 10g)

    We have the applications in Forms6i & Reports 6i (Client Server) and migrating to Forms 10g and Reports 10g. We have the menu, from that menu we are calling all the forms and Reports. For especially Reports earlier we user RUN_PRODUCT but now 10g it is not working. How can call the report using RUN_REPORT_OBJECT
    Important things we have some dynamic parameters (input) to the each report. That means when i called the report from the menu i need to get first parameter form to take the parameters and then can be run the report.

    Here is the code to call report from menu in 10g
    DECLARE
    pl_id ParamList;
    repid REPORT_OBJECT;
    v_rep varchar2(100);
    v_server VARCHAR2(100);
    rep_status varchar2(100);
    v_host VARCHAR2(100);
    BEGIN
         select rep_server into v_server from reports_data;
         select machine into v_host from reports_data;
    pl_id := Get_Parameter_List('tmpdata');
         IF NOT Id_Null(pl_id) THEN
         Destroy_Parameter_List( pl_id );
         END IF;
         pl_id := Create_Parameter_List('tmpdata');           
    Add_Parameter(pl_id,'P_C_CODE',TEXT_PARAMETER,:GLOBAL.COMPANY);
    Add_Parameter(pl_id,'P_B_CODE',TEXT_PARAMETER,:GLOBAL.BRANCH);
         repid := find_report_object('REPORTOBJ');
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,getpath||'E_VOUCHER_ENTRY.RDF');
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'htmlcss');
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,v_server);
              v_rep := RUN_REPORT_OBJECT(repid, pl_id);
              rep_status := REPORT_OBJECT_STATUS(v_rep);
              WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
                   LOOP
                        rep_status := report_object_status(v_rep);
                             message('Running');
                   END LOOP;
              IF rep_status = 'FINISHED' or rep_status is NULL THEN
                   --Display report in the browser
                   WEB.SHOW_DOCUMENT('http://'||v_host||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server='||v_server,'_blank');
              ELSE
                   null;
         END IF;
    END;

  • Want to call transactions from ALV list output

    Hi Guru's,
    I have a report which displays Open PR's, open PO's n their details with respect to material. wat i want to do is call transactions from this out put i.e i want a interactive output. if i click on particular PR i want the system to call that PR screen. how can i do this?? Plz help.

    REFER THIS
    EXPORTING
      I_INTERFACE_CHECK              = ' '
      I_BYPASSING_BUFFER             =
      I_BUFFER_ACTIVE                = ' '
      I_CALLBACK_PROGRAM             = ' '
      I_CALLBACK_PF_STATUS_SET       = ' '
      I_CALLBACK_USER_COMMAND        = 'USER_COMMAND '
      I_STRUCTURE_NAME               =
      IS_LAYOUT                      =
      IT_FIELDCAT                    =
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
      IT_SORT                        =
      IT_FILTER                      =
      IS_SEL_HIDE                    =
      I_DEFAULT                      = 'X'
      I_SAVE                         = ' '
      IS_VARIANT                     =
      IT_EVENTS                      =
      IT_EVENT_EXIT                  =
      IS_PRINT                       =
      IS_REPREP_ID                   =
      I_SCREEN_START_COLUMN          = 0
      I_SCREEN_START_LINE            = 0
      I_SCREEN_END_COLUMN            = 0
      I_SCREEN_END_LINE              = 0
      IR_SALV_LIST_ADAPTER           =
      IT_EXCEPT_QINFO                =
      I_SUPPRESS_EMPTY_DATA          = ABAP_FALSE
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER        =
      ES_EXIT_CAUSED_BY_USER         =
    EXCEPTIONS
      PROGRAM_ERROR                  = 1
      OTHERS                         = 2
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
      TABLES
        T_OUTTAB                       =
    IF SY-SUBRC <> 0.
    ENDIF.
    AND THEN
                     rs_lineinfo type slis_lineinfo.
    FORM user_command5 USING r_ucomm LIKE sy-ucomm
                      rs_selfield TYPE slis_selfield.
    data : lv_date type char4.
    CLEAR : LV_DATE .
    CASE r_ucomm.
    WHEN '&IC1'.
          IF rs_selfield-fieldname = 'BELNR'.
        read table it_e into wa_e index rs_selfield-tabindex.
        if sy-subrc = 0.
        lv_date = wa_e-budat(4).
        endif.
        SET PARAMETER ID 'BLN' FIELD rs_selfield-value.
        SET PARAMETER ID 'BUK' FIELD s_bukrs-low.
        SET PARAMETER ID 'GJR' FIELD lv_date.
        call TRANsaction 'FB03' AND SKIP FIRST SCREEN.
        endif.
        ENDCASE.
    ENDFORM. "user_comm

  • How to call servlet from jsp

    i m trying to call it from jsp using
    <a href="../purchaseP?orderno=<%=pno%>"><%=pno%></a>
    but its giving error..
    type Status report
    message HTTP method GET is not supported by this URL
    description The specified HTTP method is not allowed for the requested resource (HTTP method GET is not supported by this URL).

    i m trying to call it from jsp using
    <a href="../purchaseP?orderno=<%=pno%>"><%=pno%></a>
    but its giving error..
    type Status report
    message HTTP method GET is not supported by this URL
    description The specified HTTP method is not allowed
    for the requested resource (HTTP method GET is not
    supported by this URL).Are you implementing the doGet or doPost method in your servlet? If you are calling from a hyperlink then it needs to be implementing the GET method. To access the POST method use a html form.

Maybe you are looking for

  • Recordings on DVR Expander not displaying

    I have 2 FIOS DVR expanders that are connected to my FIOS DVR. The DVR model number QIP 7232 2.  The expanders are the approved ones form Western Digital.  I connect one of the DVR expanders at a time through the eSATA cable, and I disconnect and con

  • Using Ipod as a HD without Itunes.

    Is it possibile to use Ipod as and external Hard Disk, connecting it with a device (for example an LCD tv with USB port) that hasn't Itunes installed? In other words, a device needs Itunes to recognize the Ipod as an external Hard Disk ? I hope that

  • Excel upload in SRM 4.0

    HI All, Can we upload data from excel sheet in SRM 4.0? It seems, it is accepting only text file. Can you please advise, if there is any FM that can recongnize excel sheet in case of upload programs? Thanks, Arun

  • Decrease Datafile Dimension

    Hi experts. I'm using ORACLE 10g and Enterprise manager. I need to decrease a datafile dimension (4,5 GB) to 600 MB. For normal extent it's ok.... but decreasing datafile can give me some problem. I need a coalesce? or coalescing is automatically don

  • Movie Meta Data in the Info Tab

    I've imported a couple of movies into iTunes, but there's no place to put the meta data for them. Is there any way to change "Artist" to "Director" and "Album" to "Stars"-or something like that?