Quantcast
Channel: SCN: Message List
Viewing all 8746 articles
Browse latest View live

Re: UDO Error

$
0
0

Hello Eric,

 

Thanks for the help bcos now it works after inspection every object creation one by one to release the the unrelease objects.

 

Regards


Re: Welcome page?

$
0
0

Hi Victor,

Yes, we did offer this several years ago, as part of a Best Practices kit. This is no longer supported.

We now have home pages (WD Page Builder-based) delivered with 11 Business Suite roles (see here for details: SAP NetWeaver Business Client: Sample Roles .

They look like this:

Customers_PB.png

They are made up of building blocks, called chips. We have 160 pre-delivered chips; you can also create your own - however, there is not much documentation. Have a look at this as a first step:

NWBC: Side Panels, POWLs and Web Dynpro ABAP .

Best wishes,
Julie.

Program for PFCG Role Creation

$
0
0

Hi Guys,

 

I have a requirement for creating a program that will automate the Role Creation (Transaction PFCG)

 

I have the following Questions.

 

Is it Really possible via Program.

 

The expectation is in selection screen user will give the Standard and Derived Role after execution he expect the role to be created.

 

If anybody have experience in the same scenario kindly share me.

 

Regards,

Vijay.

Re: Sales Analysis Report per Sales Employee with BP Reference No

$
0
0

Thank you for your assistance!  After googling a few pages I came across this query.  I adjusted it to comply to my needs.

Herewith query if you guys are interested:

 

SELECT

T0.DocNum AS 'Invoice Nr',

T0.NumAtCard AS 'Customer Ref Nr',

T1.SlpName AS 'Salesperson',

--T0.SlpCode AS 'SP Code',

T0.DocDate AS 'Posting Date',

T0.CardCode AS 'Customer Code',

T0.CardName AS 'CustomerName',

 

 

'Credit Memos' AS 'Doc Type',

((T0.DocTotal) * -1) AS 'Total Docs',

(((T0.DocTotal - T0.VatSum) - T0.TotalExpns) * -1) AS 'Product Sales',

((T0.GrosProfit) * -1) AS 'Gross Profit',

CASE

WHEN (((T0.DocTotal - T0.VatSum) - T0.TotalExpns) * -1) = 0.00 THEN 0.00

ELSE (((T0.GrosProfit) * -1)/(((T0.DocTotal - T0.VatSum) - T0.TotalExpns) * -1)) * 100

END AS 'Gross Profit %',

((T0.PaidToDate) * -1) AS 'Paid To Date',

((T0.DocTotal - T0.PaidToDate) *-1) AS 'Open on Docs'

 

 

 

FROM ORIN T0

INNER JOIN OSLP T1

ON T0.SlpCode = T1.SlpCode

WHERE

(T1.SlpName LIKE '%%[%0]%%' OR '[%0]' = ' ')

AND T0.TaxDate >= '[%1]'

AND T0.TaxDate <= '[%2]'

 

 

UNION

SELECT

T0.DocNum AS 'Invoice Nr',

T0.NumAtCard AS 'Customer Ref Nr',

T1.SlpName AS 'Salesperson',

--T0.SlpCode AS 'SP Code',

T0.DocDate AS 'Posting Date',

T0.CardCode AS 'Customer Code',

T0.CardName AS 'CustomerName',

 

 

'Invoices' AS 'Doc Type',

(T0.DocTotal) AS 'Total Docs',

((T0.DocTotal - T0.VatSum) - T0.TotalExpns) AS 'Product Sales',

(T0.GrosProfit) AS 'Gross Profit',

CASE

WHEN (((T0.DocTotal - T0.VatSum) - T0.TotalExpns)) = 0.00 THEN 0.00

ELSE ((T0.GrosProfit)/((T0.DocTotal - T0.VatSum) - T0.TotalExpns)) * 100

END AS 'Gross Profit %',

(T0.PaidToDate) AS 'Paid To Date',

(T0.DocTotal - T0.PaidToDate) AS 'Open on Docs'

 

FROM OINV T0

INNER JOIN OSLP T1

ON T0.SlpCode = T1.SlpCode

WHERE

(T1.SlpName LIKE '%%[%0]%%' OR '[%0]' = ' ')

AND T0.TaxDate >= '[%1]'

AND T0.TaxDate <= '[%2]'

 

Thanks again for the replies!

Re: Workitem getting into reserved status

$
0
0


Hi Gurang

 

How is the user setup? I mean, in SU01, how do you see it , with leading 'US' or without that?

 

Normally, using SWIA, we will forward to the user name, that is if user id is MGUPTA, we send to MGUPTA and not USMGUPTA.....pls confirm this with the user.

 

also, can you please explain your line:

It is not possible to forward workitem to a user that does not exist in workflow

 

As far as I know , we can forward to any dialog user as long as they exists in the system (and are valid) and not restricted by the Excluded Agents/Possible agents list of the workitem.

 

Regards,

Modak

Re: Report opens in "Design" mode and throws error

$
0
0

Thanks Jawahar !!

 

Actually, the report was always opening in "Design" mode.

I logged in from the user account and went to Preferences > Web Intelligence. For "View" option nothing was selected, so I checked HTML option and now the report opens in "Reading" mode without throwing an error

.

 

 

Thanks,

Anupam

CSRF token validation failed

$
0
0

Hi Experts,

 

 

I am getting "CSRF token validation failed " error in post method, in OData.request .

 

our architecture is

Gateway server is common for CRM and ECC

Netweaver Gateway-->CRM,ECC

 

The POST method is working for CRM services, and it is not working for case of ECC services.

But GET method is working for both CRM services and ECC services.

 

I tried by passing 'X-CSRF-Token' , but still same problem.

 

Note : IN SICF for corresponding all service i mentioned ~CHECK_CSRF_TOKEN = 0 in both systems CRM and ECC.

I also tried as per the index.html document in section Cross-Site Request Forgery (CSRF) of the link

Getting Started with Kapsel - Appendix D -- Security but still same problem

Daniel Van Leeuwen




Thanks in advacne

Suresh

Re: How to fetch ABAP STACK value


Re: Browser based pi sheets

$
0
0

Hi,

Browser based PI sheets are purely functional..here no need of ABAP....and these are completely developed by functional consultants...

but it requires lot of configuration and master data set up...

 

Hope this helps..

 

Thanks

Kumar

Re: VF04 issue

$
0
0
where business not want to create PROFORMA invoices, we donot need to show them in VF04

 

 

Already suggestion is given to execute VL_Complete

 

 

 

G. Lakshmipathi

Re: Access control 10.0 Firefighter terms

$
0
0

Dear Venkat,

 

as this thread is closed I suggest to to open a new one with your question/problem.

 

Basically I can also answer the question if this is all you want to know:

- Firefighter ID : the user id which is defined as firefighter. This user account is type of service.

- Firefighter : we call the user who is using a Firefighter ID as Firefighter.

 

If you need more please open a new thread with your question.

 

Thanks and regards,

Alessandro

Re: Some data is missed with Delta InfoPackage

$
0
0

Hi Alberto,

 

Have you verified that there is no filter or routine on the delta infopackage?

Have you done the correct mapping for the missing fields, please verify your transformation.

 

Regards,

Ashvin

Re: COPA transfer pricing configuration

$
0
0

Hi Ravi,

 

you have to specify the only one value field in KEAD01, In User Exit you have give the logic based on the valuation.

 

Check the Enhancement: COPA0002

Function Module: EXIT_SAPLKEAB_001

Include: ZXKKEU03

 

Regards

Srinu

Re: advantage of sapui5?

Re: SAP Afaria Free Trial Cloud


Re: Next planned counter for single counter plan

$
0
0

Maheswaran,

Does my response make it more clear?

 

Vlad

Re: High Update Response Time

$
0
0

Hi Carlos,

 

Goto St03 and in that goto transaction profile.

Then click on task type and select update from drop down

 

Cheers,

Divyanshu

Array in WSDL

$
0
0

Hi there,

 

I have a Proxy->PI->SOAP scenario.

The third-party WSDL contains an array, which is unfortunately not supported by PI.

 

 

The complex type looks as following:

 

<xs:complexType name="EmployeeInfo">  <xs:sequence>  <xs:element name="ID" type="xs:string"/>  <xs:element name="Name" type="xs:string"/>  <xs:element name="Qual" type="ns1:QualItems"/>  ...</xs:sequence></xs:complexType>

 

 

This is the array structure:

 

<xs:complexType name="QualItems">  <xs:complexContent>  <xs:restriction base="soapenc:Array">  <xs:sequence/>  <xs:attribute xmlns:n1="http://schemas.xmlsoap.org/wsdl/"
 ref="soapenc:arrayType" n1:arrayType="ns1:QualRec[]"/>  </xs:restriction>  </xs:complexContent></xs:complexType><xs:complexType name="QualRec">  <xs:sequence>  ...  <xs:element name="QualPos" type="xs:string"/>  ...  </xs:sequence></xs:complexType>

 

 

 

Ive tried to change the WSDL in the following way:

 

<xs:complexType name="EmployeeInfo">  <xs:sequence>  <xs:element name="ID" type="xs:string"/>  <xs:element name="Name" type="xs:string"/>  <xs:element name="Qual" type="QualRec" minOccurs="1" maxOccurs="unbound"/>  ...  </xs:sequence></xs:complexType>

 

But the field "QualPos" is not filled in the thir-party application.

 

 

 

I now asked them to send me a proper payload for the web service.

It looks like that:

 

 

<Qual href="#id2" />
...<soapenc:Array id="id2" xmlns:q4="urn:XXX" soapenc:arrayType="q4:TSAPQualRec[1]">  <Item href="#id3" /></soapenc:Array><q5:QualRec id="id3" xsi:type="q5:TSAPQualRec" xmlns:q5="urn:XXX">  <QualPos xsi:type="xsd:string">XYZ</QualPos></q5:QualRec>

 

 

How can I achieve that in PI?

Do I have to use XSLT mapping?

Could you please give me an example?

 

Thanks in advance!

Re: Query Inventory Rotation

$
0
0

I edited myqueryusingtheSAPOINMview, nowthe result is correct(without Stock Transfer):

 

 

SELECT OINM.ItemCode, SUM(OINM.OutQty) 'OutQty'

FROM OINM

WHERE OINM.DocDate >= DATEADD(day, -365, GETDATE()) AND OINM.TransType <> 67  GROUP BY ItemCode



Thecurrent stockof an itemI cangetfrom the fieldOITM.OnHand.

Now Ineed to calculate thenumerator, ie the sumof the stockper itemfor allwarehousesfor thelast365days: is there a way todo this?

sql_exp - sql_string not possible with NUMC columns?

$
0
0

In the ABAP 7.40 documentation ist says:


"sql_exp - sql_string


Syntax

... operand1 && operand2  [&& operand3 ... ] ...

Effect

Character string expression in Open SQL. The operator && chains the character strings in two adjacent operand to a single character string. The operands can have the following data types:

  • Dictionary types CHAR, DATS, CLNT, CUKY, LANG, NUMC, TIMS, and UNIT for columns of database tables or views.
  • ABAP type c, n, d, and t for host variables.
  • Text field literal of type c. Empty text field literals cannot be specified.

The operator && can only be used to chain the elementary operands stated above. Any other expressions cannot be chained."

 

But when I try to concatenate two database columns with type NUMC the syntax check say, that only type CHAR is allowed for string concatenation.

 

Horst Keller, what did I do wrong?

 

Thank you in advance,

 

Peter

Viewing all 8746 articles
Browse latest View live




Latest Images