Quantcast
Channel: SCN : All Content - All Communities
Viewing all 3485 articles
Browse latest View live

Using Append in GUI_DOWNLOAD in format DBF

$
0
0

Hi,

 

  We want to use DBF format so we could have leading zeros in few fields. Also, we need to combine 2 different internal table into single excel for which we used 'Append' in GUI_DOWNLOAD. But it seems Append does not work in DBF format with filetype as CSV or XLS.

 

Please help.

 

CONCATENATE FILENAME '.CSV' into filename.

 

   PERFORM Header_data.

 

   CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD

     EXPORTING

       FILENAME                = filename

       FILETYPE                = 'DBF'

       WRITE_FIELD_SEPARATOR   = 'X'

           append = 'X'

      FIELDNAMES              = H_DATA1[]

     CHANGING

       DATA_TAB                = WT_EMP[] "I_DATA1[]

     EXCEPTIONS

       FILE_WRITE_ERROR        = 1

       NO_BATCH                = 2

       GUI_REFUSE_FILETRANSFER = 3

       INVALID_TYPE            = 4

       NO_AUTHORITY            = 5

       UNKNOWN_ERROR           = 6

       HEADER_NOT_ALLOWED      = 7

       SEPARATOR_NOT_ALLOWED   = 8

       FILESIZE_NOT_ALLOWED    = 9

       HEADER_TOO_LONG         = 10

       DP_ERROR_CREATE         = 11

       DP_ERROR_SEND           = 12

       DP_ERROR_WRITE          = 13

       UNKNOWN_DP_ERROR        = 14

       ACCESS_DENIED           = 15

       DP_OUT_OF_MEMORY        = 16

       DISK_FULL               = 17

       DP_TIMEOUT              = 18

       FILE_NOT_FOUND          = 19

       DATAPROVIDER_EXCEPTION  = 20

       CONTROL_FLUSH_ERROR     = 21

       NOT_SUPPORTED_BY_GUI    = 22

       ERROR_NO_GUI            = 23

       others                  = 24.


Assignment No field population with sort key 014

$
0
0

Hi,

 

Good evening.

 

I have one query w.r.t assignment no. field population with sort key 014.

 

We have got Balance sheet account - 152070       Goods Rcpt/Invoice Rcpt Clearing - Cenvat with sort key - 014  - Purchase order Numb.

 

When posting happens to this GL during J1IEX, system properly populates the Assignment column (ZUONR) with value of only corresponding underlying Purchase Order No. Accounting document for part II posting shows GL 152070 with assignment column having only PO Num.

 

 

But for same transaction  when vendor bill is posted through MIRO, system populates the Assignment column (ZUONR) with value of corresponding underlying Purchase Order No.concatenated with Line Item no. Accounting document for MIRO posting shows GL 152070 having PO Num and PO line item concatenated and stored in Assignment column.


OB16 shows Field1  as EBELN for sort key 014.

 

Also note that, till mid august'15, we didnot face any issue. But we upgraded to SP level patch 25 on 16/08/15. After that the problem started occuring.

 

Kindly advice.

 

I also read 'Sort Key Functionalities ' written by Mr. G. Ajit Kumar which gave a very good insight into usage of sort key. But could not find out the reason for above mentioned issue.

 

Table TZUN shows Sort key 014 has got field Name1 with value EBELN and field Name2 as EBELP. Why it is so?

 

Pl. revert as automatic clearing is not happening andusers are facing difficulty in manual clearing.

 

Regards

Ratna Palit

Casual Leave Is not Getting Deducted from Casual leave Quota

$
0
0

Dear Guru's,

 

I have Facing an Issues, I dont know whether I can call it as Issue.

 

For some Employees Casual Leave is not getting Deducted from Casual leave Quota.

 

I have Checked all the groupings and Config and Cross verified in Dev and PRD everything is fine.. and even created test data in Dev and it is working Perfectly ..

 

need your Suggestions to solve this.

 

Please have a look it below Screen shots and Help me on this.

 

Below is the Screen Shot for IT2001 and Casual leaves are highlighted in Yellow Colour.

 

IT2001.PNG

 

Below is the Screen Shot for IT2006..Employee has applied 5 Casual leaves But in deduction Period it is showing 0.

 

IT2006.PNG

 

Need your Expert solution to overcome this.

abap2xlsx -> bind_table without header line (field catalog)

$
0
0

I use bind table method.  I do not want to show field catalog (first row - header row) .

 

Is it possible?

 

I could not find any option.

 

Alternatively, I also searched for deleting rows from excel. Is it possible?

Simple Finance

$
0
0

Dear Experts,

 

I have doubt , Recently i have join as SAP FI CO consultant ,i have good knowledge present SAP but i am hearing Simple Finance will take over Ecc 6.0 its pulling me down , should i go for training Simple finance again? or should stick to ECC 6.0 please advice

 

Regards

 

Hidyath

SIT Hyderabad 2015 - Technology Development

$
0
0

http://scn.sap.com/community/events/inside-track/blog/2015/11/06/sap-inside-track-join-us-for-sap-inside-track-hyderabad-on-12th-dec-2015

 

Part of SAP Inside track Hyderabad Following 6 topics presented under technology development thread. 1. SAP and Internet of things 2. Expose multiple O data services through single service 3. Extending Success factors with SAP HANA Cloud platform 4. SAP HCI - Strategy , Licensing, use cases and Roadmap 5. Cloud & HCP - Overview , uses cases and Roadmap 6. SAP's IoT platform: An overview for HCP IoT services On the  SAP and internet of things, speakers talked about what is IoT and its relevance to current world. In addition we got to know SAP HANA cloud platform IoT services . It was great to  see a working demo on how the real time oil level can be used to trigger replenishment order. On the SAP HCP we got insight into different services available and what we can do from customer and partner perspective . On the HCI speaker talked about when it can be used and what SAP is doing on the Process orchestration front. Overall participants got insight into latest happenings on the SAP and IoT, HCI and HCP , where and how we can use these solutions/applications and road map for next few years.

SAP Screen Personas 3.0

$
0
0

Presenter: Gurupreet Chabda and Raghuram Kapaganty

 

1. SAP UX Strategy

 

     a. Un-Learn, Learn and Re-skill

     b. New, Renew and Enable

     c. New is about new applications for end users

     d. Personas fall into Enable area

 

2. What is Screen Personas?

     a. Its browser based simple ui interface for SAP GUI screens

     b. Allows personalizing SAP GUI screens without any ABAP programming but yes with some scripting skills

 

3. If we want to customize standard SAP GUI using traditional ways in SAP its lot of efforts. With Personas this becomes easy and better looking

 

4. SAP Personas 2.0 Vs 3.0 ??

 

     a. Technology dependency - 3.0 is Silverlight Independent, 2.0 is dependent on Silverlight

     b. Web Technology - 3.0 is lot faster

     c. Scripting - has debugging features for scripts in 3.0

     d. Performance enhancement - 3.0 has lazy loading, 2.0 is working on pre-fetch principle

     e. Architecture

 

5. Personas is based on Internet Transaction Server - key aspect - something that can be installed by Basis Team, its license free.

 

6. Basis can install and configure it for us to get started, its ECC based component.

 

7. Personas is accessible as a URL but it is not yet capable to run on Mobile Browsers. Its more for Desktop browsers.

 

8. It’s more for end users who have daily transactions to do in SAP system to ease their accessibility and provide better user interface and experience for the end users to work on their SAP screens

 

9. Personas is a rendering technology, so there might be some load on the server however overall the performance provided is on par with traditional SAP GUI transactions

 

10. Ex: Create Quotation Demo

     a. Saving efforts for user, he doesn’t need to remember the tabs where in his fields of data entry lie

     b. He need not be bothered about some other fields which are either default or he need not enter data

     c. Saving number of clicks for the user

     d. The navigations within this is based on workflow concept, like each screen is a step

 

11. Benefits of Personas

     a. Reduce number of screens by up to 25%

     b. Reduce number of tabs by up to 100%

     c. Number of clicks can be reduced by up to 25%

     d. Number of fields by up to 15%

 

12. Personas is user group driven. Depending on what he needs to work with on the SAP transactions, we can provide them either simplified UI or the standard GUI

 

13. Key Features -

 

14. Theme Manager

     a. Themes provide look and feel for the UI.

     b. Standard SAP Delivered themes available like Screen personas theme, SAP Corbu based theme

     c. Once theme is created several options available to set up the look and feel of each element of the UI

     d. We can have centralized settings for across projects/user groups and then customize it on top of this for specific user group needs

 

15. Tab Merging

 

16. Scripting

     a.  3.0 provides more powerful java scripting compared to 2.0.

     b. Need not write end to end script code, there is script generated with TO-DO sections once we record a transaction flow

     c. Its not mandatory to have screen with java script, its optional

 

17. Administrative settings

     a. Flavor maintenance - to maintain the flavors

     b. Resource Maintenance - place where we upload all our images/logos, sits in repository

     c. Theme Maintenance

     d. User Profile - To assign users and roles

 

18. Personas can be migrated from System A to B using Transport request OR also a XML File that’s easily downloaded and uploaded

 

19. Browser Compatibility is provided by SAP. 3.0 supports all the latest browser versions

 

20. Process and Teams

     a. Need people with Personas Knowledge, design skills and Business Process expertise

     b. Identify the processes

     c. Simplify the processes

     d. Analyze data requirements

     e. Build screens

     f. Automate wherever applicable

 

21. When to use??

     a. For enhanced user experience without major investment or shift in technology.

     b. SAP provides cost effective way of providing user experience

     c. Specific user group perform repeated tasks

     d. Users are desktop based and not requiring all functionalities

     e. Streamline business processes by simple and faster completion of transactions

     f. Simpler SAP screens

 

22. Return on Business scenarios

     a. Improved user productivity

     b. Reduced cost of screen simplification and personalization

     c. Increased data quality

     d. Decreased training costs

 

23. Key lessons learnt

     a. Follow Agile

     b. Focus on performance and efficiency

     c. Align with the technical updates happening in this product

     d. Personas Version and support available

     e. Upgrade and Testing - Upgrade to more complete version always

 

And with this we end our session on SAP Screen Personas. I believe after reading this through some of us can confidently talk about this and suggest to our clients if there is an applicable use case.

 

Cheers,

Swapna Priya

Additional Fields for MCBE

$
0
0

Hi all,

I want to see coverage profile information (MRP2 - MARC-RWPRO field) on MCBE report.

Is there any way for this?

 

Thanks.


Adding Custom Tab And Fields to the transaction ME51N/ME52N/ME53N At Header Level

$
0
0

Hi All,

 

Hope you all doing great,

 

I have a requirement where in I have to add a custom tab and add custom fields to the tab and update those fields to the table EBAN whenever user creates and changes the data. I have added the tab and fields as well and it is updating the table whenever we create a PR through ME51N, but now the problem I am facing is the created using ME51N is not being displayed when ever I open the transaction in Display or Change Mode. As there is no such standard enhancement(EXIT or BADI) given by SAP , I tried it by implementing the implicit enhancement to the function group MEGUI, where i have added the implicit enhancement to the FM "MEGUI_BUILD_REQ_HEADER_PLUGIN" to add the custom tab and created a custom screen and added fields in SE51. and also i have add the implicit enhancement to the include LMEGUICIX . Kindly suggest what more do I need to follow.

Please let me know what else i need to do to display the custom fields in Change and display mode.


Please help find the solution for the above requirement.


Thanks in Advance.


Best Regards,

Mohammed Farooq.

How to display the Document in the Web Application instead of Hyperlink to the Document

$
0
0

Purpose:

How to display the Document in the Web Application instead of Hyperlink to the Document.

 

Overview:

What steps need to be followed to display the Document in a Web Application instead of Hyperlink to the Document.

 

Steps to be followed in this regard:

Execute a Web Template for example: ZANALYSIS_PATTERN and in the resultant page, select one of the line of the report and create a document and
save it. Then, it is noticed that the Hyperlink to the Document is seen in the Web Application instead of displaying Document in the Web Application.

 

1)Go to Web Application Designer and open the Web Template ZANALYSIS_PATTERN


2)Go to the Web Item SINGLE_DOCUMENT_ITEM_1 inside this Web Template ZANALYSIS_PATTERN


3)Go Web Item Parameters of this Web Item SINGLE_DOCUMENT_ITEM_1(on the left side of the page) -> Internal Display -> Check the value set for parameter Display Within Web Application [IS_INPLACE]

 

picture 13.png

 


Here, you will see that the value for this parameter Display Within Web Application [IS_INPLACE]  is set to Off  and so,  Hyperlink to the Document will be seen in the Web Application


4) Set the value for this parameter Display Within Web Application [IS_INPLACE]  to On

picture 14.png

 

 

 

5)Now, execute the Web Template ZANALYSIS_PATTERN and you should be able to see the  Document in the Web Application instead of Hyperlink to the Document.

 

Please DO NOT make any changes in Default/Standard Web Template [Analysis - 0ANALYSIS_PATTERN].

Passing parameter to Open Document URL

$
0
0

Hi All,

 

How can I pass parameter value to Open Document URL without defining any prompt?

Suggest me, send me some sample code.

 

 

Regards,

TypeError: dragTarget.hammer is not a function

$
0
0

Hi All,

 

I'm having a problem creating an SDK using DS1.5, the JS script I'm trying to implement is using jquery-1.10.2.js

and when I'm calling one of its function I'm getting the following error:

 

TypeError: dragTarget.hammer is not a function

 

Why is this method id missing from Design studio?

 

please advice

Thanks

Amit

Bill Print Out of Balance Issues

$
0
0

Hi,

Can someone please explain me about this Out of balance issue in ISU Bill Print.

 

What are the different types of Out of Balance issues?

 

Is this only related to accounting  issues of mismatched Dr & Cr items or this is also related to the MR consumption?

 

Thanks in advance.

 

 

 

Ricky

Not able to activate the odata service

$
0
0

Hi,

 

I have SAP Hana studio installed in my machine and navigated to SAP HANA Development perspective. Created a local repository under 'Repositories' tab. Created a new project and mapped to the repository created in previous step. Now, I have access to odata services created by our team under a specific package. But I am not able to activate it.

 

Could any of you please help me know the reason why I am not able to activate it. I have all the privileges assigned to my username. I am not able to figure out why activate option is disabled for me for odata service.


Please have a look at the below screenshot.


PS recovery plan

$
0
0

Dear PS experts,

 

     the scenario of the customer is after making the project will take the approval from the project management team the project will be stopped from rescheduling and if the project delay happened we will make a recovery plan and make approval on the recovery plan after that how can i manage this scenario through SAP PS ??

is any Ideas ?


Creating IT subtype records in the background

$
0
0

Hi

 

While creating Infotype subtype (1) from ESS, it should also create another subtype (2) of the same infotype in the background copying the same (subtype 1) information.

 

We tried using HRPAD00INFTYBL which is for validations before creating/modifying IT records. Not sure if there are any other options we have which can be used after IT record is created.

 

Appreciate inputs.

 

Thanks

"Show All Values” is always seen when using a Dropdown Box in a Web Template

$
0
0

Purpose:

How to correct the issue regarding"Show All Values” is always seen in the Dropdown Box appearing the resultant page while executing a Web Template although

the option "Display ALL Entry” is  "Off" in the parameters of the Dropdown Box Web Item of the Web Template.

 

Overview:

You are using a Web Item Dropdown Box in a Web Template, displaying characteristic values from a Data Provider (query).

While executing this Web Template (containing Dropdown Box as Web Item),  in the Dropdown Box appearing in the resultant page "Show All Values” is always seen although the option "Display ALL Entry” is "Off" in the parameters of the Dropdown Box Web Item.

This issue is relevant for SAP Business Warehouse Release 7.00, 7.01,7.02, 7.30

 

picture 15.png

 

In Result page ‘Show All Values’ is seen in Dropdown Box:

image2.png

 

Solution:

The display in the Dropdown Box does not affect the result, it only shows the current filter state in the Data Provider. The ALL-value can only be suppressed initially, in case there is an initial filter value defined in the related query/data provider for questionable characteristic/structure.

 

As long as there is no such filter the user gets "ALL" data and therefore the entry is correctly displayed and marked. As soon as a specific filter value is selected, the entry "ALL" should be removed because of the parameter ALL_VALUES_ENTRY_INCLUDED="". The described behavior corresponds with the concept of this value.

 

> Set an initial filter, if you don´t want to avoid the unfiltered query state.

>Use parameter ALL_VALUES_ENTRY_INCLUDED

(by going to Web Application Designer -> Relevant Web Template -> Double click on Web Item Dropdown Box -> Web Item Parameters (on the left side of the page) -> Data Binding : CHARACTERISTIC_SELECTION -> Here, look for the parameter Display ALL Entry)i.e. set the parameter Display ALL Entry to Off if entry "Show All Values" should be disabled. This only works in case an initial filter value was defined in the related query/Data Provider for questionable characteristic/structure. Else, entry

"Show All Values" is shown until a filter was set.

 

In the Result page, ‘Show All Values’ is not getting displayed in Dropdown Box when initial filter value was set:

image3.png

Please also check the following link with regard to Data Binding Type CHARACTERISTIC_SELECTION :

http://help.sap.com/saphelp_nw70/helpdata/en/43/e7460656b60a29e10000000a11466f/frameset.htm

Time management Over Time Scenario

$
0
0

Hi All,

 

My client has a requirement where the employees are eligible for Over Time, the rates of the OT are given below,

 

The OT is deals weekly and paid monthly,

eg, 1st week Emp worked for 10 hours (6hr+30% and 4hr+60%) or (1st 6 hrs is paid as 30% and after 6 hours paid as 60%

          2nd week-worked 5 hr (5hr+30%)

          3rd week- worked 8hr (6hr+30% and 2hr+60%)

          4th week- worked 4hr (4hr at 30% rate)


and,  100% (2 times Salary) for the work on resting days or holidays

         


Can you please guide me how to write a PCR for the above requirement.




Regards

Anju

APP

$
0
0

Hi

SAP Guru's

Hi have a scenario kindly help me

Vendor invoice posted in INR Currency(Indian currency),  now the user want to make payment through automatic payment program in USD Dollar.

 

Is it possible, if it's possible what steps  i need to follow.

 

Thank in advance

 

Regards,

Ramesh

.ADI index gets corrupted when deleting large amounts of records

$
0
0

We have a rather large table (93 fields, 25 indexes), which I can consistently corrupt an index on by deleting a large amount of records.

 

I currently have a table of 459938 records.

If I attempt to delete 426744 of these using SQL (delete from TABLE1 where FIELD1>='8'), I get the message "poQuery: Error 7200: AQE Error: State = HY000; NativeError = 7017; [iAnywhere Solutions][Advantage SQL][ASA] Error 7017: Corrupt .ADI, .CDX or .IDX index."

 

Running a further select statement I can see only 2825 records were removed before the error occurred. Retrying the delete query results in one further record being deleted every time the query is run before getting the error again.

 

Deleting and recreating the indexes will fix the problem until the delete query is run again.

The problem can be reproduced on various servers using ADS 11.10.0.10 but I am currently using WindowsServer2008R2.

 

I can also reproduce a very similar problem by simply highlighting all the records in Arc32 and pressing the "Delete current or selected records" button.

Viewing all 3485 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>