Variants functionality for a custom made report

Hello everybody,
i want to integrate the variant functionality we all know from reports in a custom made report (Dynpro). Is there any kinda generic functionality available you can hook up with? Like FMs or something?
best regards,
Markus

Hello,
maybe i should start from the very beginning. I am developing an application/report which has besides standard input fields a table (editable Grid Control) as selection fields.
I started off using the selection-screen functionality and integrated the Grid Control as a subscreen. Working great. But as it come to developing the functionaility "variant saving" i went into a problem. The standard input field were covered by the SAP standard functionalities, but not the table (grid control).
What i managed to implement using the possibility of custom code at the standard events AT SELECTION-SCREEN and AT SELECTION-SCREEN OUTPUT was when you click on the save button in a report to save my table content in a own database table with the link to the name of the standard variant. (Systemfield VARI hold the data). I even was able to load my saved table data, when loading a variant. This worked only on the first run (event initialization), as clicking on the load variant button in a report does NOT give me any return-code, like pressing the save button. It just raises the event PBO, as does pressing the enter button. So my problem is, i do not have the info at runtime, whether someone has pressed the load variant button and selected a variant or whether someone just pressed the return key, both do invoke PBO and i cant tell the difference.
So i had the idea of instead of using a report, developing a own dynpro application (Module pool).
best regards,
Markus

Similar Messages

  • Function module to give all partner functions for given customer

    Can anyone tell me function module name which gives all partner functions for a customer. For ex if we give customer number and sales area then it should give the list of all partner functions of this customer.
    I know 'CUSTOMER_PARTNERFS_GET' function module. But I want other than this.

    Hi,
    U can join VBAK and VBPA table and get the parrtners of the customer..
    Regards,
    Nagaraj

  • Partner functions for SAP Customer Master

    I am in the MDM solution definition phase for SAP Customer Master at one of our Cients place. The requirement is to set up a central master data scenario where creation & modification of any customer record will be done via MDM. The following components of Netweaver are in the landscape - SAP MDM, EP, XI.
    I need clarification on the following points -
    -  Is it possible to set up the partner function in MDM, if so, how?
    -  Need to replicate the standard SAP functionality where the system can be configured to create Ship To, Payer, Bill To automatically when a Sold To record is created. Is this possible? Are there any work arounds?
    Regards
    Arvind

    Hi,
    Hi Arvind,
    -  Is it possible to set up the partner function in MDM, if so, how?
    Partner Function comes under Condition Technique in SAP ECC.here some config has to be done.
    For mapping it in MDM, First create a Qualified Table - Partner Function.Determine the Non-Qualifiers and Qualifiers.Then as said by Suresh, u need Java API stuff to complete this task and frontend being EP.
    - Need to replicate the standard SAP functionality where the system can be configured to create Ship To, Payer, Bill To automatically when a Sold To record is created. Is this possible? Are there any work arounds?
    It can be done using EP as front end and Java API to dertermine the partner based on the account group.
    Thanks,
    Felix
    Edited by: Felix on May 9, 2008 1:38 PM

  • Funsctional Spec for AR Customer Tolerance report

    Hi Folks i need to write a Func, Spec for Customer Tolerance report in AR. Can someone share me a sample Fucntional spec for a report or provide some input. Appreciate your help.
    Best Regards
    Shine

    Hi Kittu,
    I got the answer using @section command.
    Below are the complete syntax in my case.
    Form field         --Xml Tag
    If Data Found --<?choose@section:?><?when:count(G_SETUP)!=0?>
    Group G_SETUP  --<?for-each@section:G_SETUP?>
    Group G_STATEMENT --<?for-each-group@section:G_STATEMENT;STATEMENT_DATE?><?for-each-group@section:current-group();SEND_TO_ADDRESS_ID?>
    Its working for me.
    Let me know if you required more information.
    Regards,
    Dasarath

  • Variant Functions for PP Routings

    Hello,
    is it possible with the "Variant Functions" to call in a super routing a FM to get some values from a ZTABLE to use this values
    in the object dependency syntax to changes values in the routing?
    kind regards,
    Bernhard

    Dear,
    In order to grab sales order to the formula for work center selection or value you have to use another characteristic with a reference tables assigned to it. You are correct,  you will need another Characteristic, which is called a reference characteristic with "Not Ready for Input',. Go to the Additional Data Tab for that Characteristic and you can then specify the Table Name as VBAP and then enter in the Proper Field Name for the Quantity from VBAP.
    Characteristic Value based upon your Reference Characteristic. Also, the possibility of a Variant Function to set the Value of a Characteristic to sy-unam.
    Please try and come back.
    Regards,
    R.Brahmankar

  • Any Best Practices for developing custom ABAP reports for Portal?

    Hello,
    The developers on our project are debating the best way to develop custom reports and make them available on the portal.  Of these options that we can think of, can you give any pros & cons, or experiences, or other options?
    - Web-enabled Abap report programs
    - WebDynpro for Abap
    - WebDynpro for Abap using ALV
    - Adobe forms
    Does a "Best Practices" document or blog exist on this topic?
    Thanks,
    Colleen

    Re: Using p_trace=YES

  • SUM function for a column made 'on the fly'

    I have access to a database, however only SELECT statements can be run on the database. Basically the database lists switches, these switches can have up to 20 computers connected to them but some do not. I need to know the switches which contail less than 20 computers so I know where there is space for more computers (I've wrote the code for this already). I also need something to keep a tally/total for the number of spare spaces left so I can run the script and go 'ok we have a total of 20 spare places for computers theres 10 on this switch and 10 on this one'.
    I just need to get the sum funtion working for the column that I've created 'on the fly', the column revealing the number of spare slots, heres the code I've got so far:
    SELECT switch, COUNT(*) as "Servers", 20 - COUNT(*) as "Spare slots"
    from dedicated_servers
    where switch like 'rs%'
    GROUP by switch
    HAVING COUNT(switch) < 20
    order by Servers;
    Which gives the following:
    | switch | Servers | Spare slots |
    | rsj14-1.dc | 12 | 8 |
    | rsj12-1.dc | 15 | 5 |
    | rsi2-2.dc | 16 | 4 |
    | rsj13-1.dc | 16 | 4 |
    | rsi2-1.dc | 16 | 4 |
    Just need something at the end saying TOTAL=25

    OK I'll have to make em up though, but they are something like this for one switch:
    INSERT INTO dedicated_servers (switch, server_number, switch_socket)
    VALUES (rsj-1.dc, 100, 18)
    On switch rsj-1.dc there can be upto 20 servers (the server_number is the primary key)
    Message was edited by:
    slowpoke115

  • Intellectual Property Management - Business Functions for SAP Customer Relationship Management - SAP Library

    To add a comment, please log in or register on the top of this page and choose Reply. Please write your comment in English.
    You can also go back to the SAP help page.

    Hi,
    It is a CRM Addon: Desktop Connection for SAP CRM – SAP Help Portal Page
    Best Regards,
    Sigrid

  • Utilities - Business Functions for SAP Customer Relationship Management - SAP Library

    To add a comment, please log in or register on the top of this page and choose Reply. Please write your comment in English.
    You can also go back to the SAP help page.

    Hi,
    It is a CRM Addon: Desktop Connection for SAP CRM – SAP Help Portal Page
    Best Regards,
    Sigrid

  • Transaction code thro' SAP Query for customer spefific report

    hi experts,
    how to create transaction code (using SE43-) for the sap query created on own??
    I have created the following required for a customer specific report
    1.Infoset thro sq02
    2.user group thro sq03 and assigned it to infoset
    3.query thro sq01 and saved it with text
    earlier i have used logical database PNPCE ( relevant for PA and payroll modules reports)
    using sq01 , go to basic list , selected required infotypes and fields and
    then selected, SAP List viewer for viewing and i get the report.
    Now my question is how to create a separate transaction code for this sap query which i created
    should i use SE43( area menu maintenance and area class???_)
    should i create a variant and go to SE43??
    advice solicited
    snr

    Hello
    when you excecute the query in right han side corner  you can get the program name
    go to se80 select program & type this name and then you can create a tcode for that prog in SE80
    reward points if helpful.
    the prog name will be something like : AQZZ/SAPQUERY/* " ur query name
    you can search for the name also in this manner

  • Hi masters, want bapi for customer balance report

    HI Masters,
                   please can any one give reply about bapi whch one is using for developing customer balance report in webdynpro java
    I want to see the customer balance report in portal through developing webdynpro java application only. for developing , i need bapi regarding customer balance report. Customer when he login the portal he has to view his ledger balance in portal.please  give reply about the bapi to see customer ledger balance . we can do by transactional iview. but i need only through webndynpro java application
    reply will appreciated.

    Hi surya,
    The tcode for customer balance report is FBL5N
    BAPI_AR_ACC_GETKEYDATEBALANCE -
    >Customer account balance at a key date .
    Regards,
    srikanth

  • FM call from Variant Function in JAVA SCE

    Hello,
    I have an issue with Variant Configuration in CRM WEB UI / WebShops.
    We have created a variant function in ECC to read/pull a customer master value (KNVV table).  This is working fine in ECC & got the desired result.
    Now we need replicate the same in CRM. For this we need to create KB, Version & write a variant function in Java class in SCE. In that variant function we need to call a function module and get the customer master / Business partner value as similar to ECC process described above.
    But we see that the SAP standard is not supporting FM calls from VF in Java. i.e. we are unable to call the JCO call to a CRM function module from SCE.  The package for User defined classes "com.sap.sce.user" and the method inside it public boolean execute(fn_args args, Object obj) { ..... } has no option to make a FM call.
    Has anyone faced the similar requirement and has any resolution for this? 
    Thanks,
    Surya.

    Hi Eric,
    You sound quite familiar with the variant functions. I am also working on IPC-SCE
    variant functions for few years now.
    We have a situation where I am building some debug logs in one java variant function and want to display it to the web UI at some condition.
    Is there any object(like context etc.) that IPC server-side and Webapps share?
    I can write that log to a text file and read it from web ui ... but I wanna avoid that.
    Is there any other way you know of???
    Regards,
    Ruchika

  • English Fonts appearing wrong in custom PDF reports

    Hie All,
    I am facing an issue that when we run any custom made report (pdf) in eng language the output is coming some other weired langauge other then english seems to be russian character.
    My environment is 12.1.3 fresh installed
    OS: OEL 5.5
    please provide me some guide / tips / help so i can fix this issue
    will be greatful for the help
    regards
    HASSAN

    Please see these docs.
    How To Print Concurrent Requests in PDF Format [ID 333504.1]
    Text Report Output with Greek Characters Prints Garbage Characters [ID 437862.1]
    How To Change The Font Size When Using PASTA to Generate Postscript Reports [ID 211690.1]
    How To Generate And Print Reports In PDF Format From EBS With The UTF8 Character Set [ID 443778.1]
    PASTA 3.0 Release Information [ID 239196.1]
    Pasta Overview [ID 420019.1]
    Arabic Postscript Reports Generate Garbage Fonts Using PASTA in Oracle Applications 11i [ID 209293.1]
    Thanks,
    Hussein

  • Variant functions in CRM

    hi all,
    i want to know how to implement variant functions for CRM
    please help me
    Thanks and Regards
    shanto aloor

    1.Can we write new functions or we have to modify the existing one?
    You will write the Java functions based on the custom VC functions in the R/3 system. You will closely work with the R/3 Variant Configuration team and get the details of the custom functions that are developed in the design time VC model for supporting their runtime VC. This runtime environment is not available in CRM. Only the design time information is downloaded as knowledgebase.
    Hint:
    SAP provides the Java code for all the standard VC functions in R/3.
    In R/3 see function group CUPR for the standard VC functions)
    In R/3 one uses transactions
    cu65,
    cu66 and
    cu67
    to maintain the interface definition of custom  variant functions. Here they desgin and develop
    FUNCTION - read access to the KB and
    PFUNCTION - read and write access to configuration and more.
    You will actively work with your R/3 VC team to get the full design details of these functions.
    2.how our custome functions are linking to SAP ,means if we create java user exit we will register that by giving full path of the class and finally we use that in pricing procedure or somewhere. Is there any these type of procedures are needed for VC?
    Variant Configuration is the other face of the IPC and should not be confused with any of the pricing features of IPC. The SCE ( configuration engine) deals with the configurable products. The design time confguration of configurable products are downloaded as kowledgebase in R/3.
    Since the design time (KB) is available to IPC, during runtime the reference to pfunctions and functions are known to IPC and IPC by design will look for the instances for the classes for these Variant functions.

  • System (AGE3) 'Customer Aging Report' does not print BP Ref. No.

    Hi Experts!
    I have a question about the PLD for the Customer Aging Report (AGE3 = Collection Report). This system print layout does not print the BP Ref. No. in that field.
    And when I went into the PLD, that field (and the other repetitive fields) are text fields. How do I get the BP Ref. No. to print in the field?
    Any help would be greatly appreciated.
    Marli

    Hi Marli,
    If the PLD is of System report , then you have to heck that in ocrd table what is the field name of BP ref no. and try to convert that text field into database field and give the ref of ocrd BP ref no.
    However the chnces of working fine for the above sol. is very low  as we will not prefer to change the system report.
    You should go for QLD or Crystal report  for that .
    Rgds,
    Premraj

Maybe you are looking for

  • How to connect a mac wirelessly to a pc?

    My husband's pc is currently hooked up to the internet using a cable modem. I'd like to wirelessly connect my G4 imac but can't seem to figure out how to do that. Does his computer need a router and mine needs an airport card? Thanks for any suggesti

  • How do i go backwards with iWeb?

    I built and posted four different web sites using iWeb - great product, I love it. I published to my hard drive then uploaded using Fetch. Like a goof I then crashed my hard drive without a backup. Can I go backwards from what lives on the web sites

  • Can i sync 2 iphones to the same Itunes?

    Hi There I have my own iphone with itunes on, but have downloaded most of the music from Itunes Wifi on my mobile.  Is it easy to get it back onto my pc into the itunes library?  Also i am using my mums old iphone to go travelling (instead of taking

  • Using Bind Variable in Select List

    Hi I am using Jdev 11.1.1.5 . I am trying to create a view object with select column being populated using the bind parameter. Below is the code that i am using for creating View-Object as i want the parameter that user is passing while executing the

  • Formula Variables for Key Figure Rolling Averages 3/6 months

    Dear BEx guru! I need dynamic (user selectable range from select options) 3, 6 month averages for Sales, Inventory  Key Figures. I used variable offset alone and I am not getting the results. Mar/06 = 120 EACH, Apr/06 = 150 EACH and May/06 = 180 EACH