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

Blocking

$
0
0

I have 1 2 company code,single P.org  &  2 plants.I am blocking the vendor in xk05 for specific co.cd, total block.But when i raise PO the system is allowing to create PO, even when the vendor is blocked  for the co.cd.I cannot block for the p.org because the other plant is using the same vendor.

 

P.org is not assigned to co.cd.P.org is assigned to plant.

 

So how to overcome this issue?


Re: Personas - webRFC - Special characters

$
0
0

The result string that your WebRFC must return is as I posted above. Your result is exactly the same as it was before (no change) so of course it will fail.

You have to incorporate logic in your WebRFC based on the DEMO_ESCAPE program which encodes any special characters. The proper encoding for æ is \u00E6 - I tested this to work fine with a WebRFC so I know it is correct.

Capture.JPG

 

Edit: Upon further investigation, it appears that the escape function doesn't work for JSON like the documentation would imply. So here is some quick Mickey Mouse code to perform the encoding. Never mind the not exactly sophisticated exception handling; hopefully this won't be necessary anyway.

txt_in is the original text, result is the encoded string to be returned by the WebRFC.

 

DATA: txt_in    TYPE        string VALUE 'Dampfærgevej+17,2100',
      chr       TYPE        char1,
      strlength TYPE        i,
      offset    TYPE        i,
      icode     TYPE        i,
      hcode     TYPE        syhex02,
      ccode     TYPE        char4,
      result    TYPE        string,
      gr_error  TYPE REF TO cx_root.

strlength = strlen( txt_in ).

DO strlength TIMES.

  offset = sy-index - 1.
  chr = substring( val = txt_in off = offset len = 1 ).

  TRY.
      icode = cl_abap_conv_out_ce=>uccpi( chr ).
    CATCH cx_root INTO gr_error.
      icode = 32.
  ENDTRY.

  IF icode < 32 OR icode > 126.
    ccode = hcode = icode.
    CONCATENATE result '\u' ccode INTO result.
  ELSE.
    CONCATENATE result chr INTO result.
  ENDIF.

ENDDO.

WRITE / result.

 

Message was edited by: Tamas Hoznek Added ABAP code snippet

Changing Webi Report Data Provider With Prompt

$
0
0

Hi All,

 

 

I am trying to change Data Source of a Webi Report using RESTful Web Services. Fo this I have referred code on Changing Dataproviders for a Webi Report using RESTful Web Services Post.

 

I am able to change data source for Webi Reports without Prompts but it is not working for Webi Reports with Prompts.

 

Can anybody help me??

 

Thanks & Regards

Swapnil Kulkarni

Re: Depreciation method change

$
0
0

Hi Sridevi,

 

You can change it AFAMA for the dep.key. But do you want to change the dep.rate for it, if yes then have you defined a multi level method in AFAMS. After creating it, you have to create a new depreciation key for decline balance method and use this multi level method along with other methods.

 

Regards,

Mukthar

Re: How to suppress mandatory prompt warning.

$
0
0

Hi Parag,

 

yes you can suppress.

Re: Clearing Intercompany payable and receivable accounts

$
0
0

Hi

May i ask you what is the relationship between these two company codes? is they inter-company transaction or two related parties companies?

its depending on the accounting definition of this relation between two companies, this balance would be netted against each other out of books while preparing consolidated financial statement only in case of inter-company relationship..

in case of related parties relationship this balance would be disclosed under current Asset/Liability in section related parties. as every company and its subsidies would issue a separate financial statement, 

so in my opinion no accounting JV would be posted to settle this balance between two companies till one of them pay to another her debt..

Regards

Mahmoud El Nady

Re: Database Search in SAP MDG Vendor & Customer

$
0
0

Hi RaghuRam,

 

As you mentioned, the same is configured already.Is there any other config needed?

 

Thanks,

Jyothi

Re: Lookup_ext function not working in validation transform

$
0
0

Dear All

 

  Thanks for your valuable information. But i found the solution myself. Inside the validation transformation if you use lookup function it cannot return other than success or fail message or Null or NOT Null. In the quary transformation only the required output from the lookup function can be achieved. I resolved the issue by using the below code inside the validation transform.

 

ifthenelse(kunnr = qry.kunnr and sales_org = qry.sales_org and division = qry.division and dist_chan = qry.dist_chan,1,0) = 1

 

  This result will give 2 one for success and another for fail. Based on that i filled by template table. The issue got resolved.

 

Thanks and Regards

Vijay Mukunthan


UWL tasks are not working in the ESS role

$
0
0

Hi experts,

 

We have requirement where the the users will have UWL iview in the ESS role in portal to approve the leave req etc.Inorder to achieve that i have copied the standard UWL iview into my custom folder and assigned it to the ESS role, the issue when i click on any task of the leave request in the UWL i am getting the portal runtime error

Capture.JPG

I have checked the trace in the NWA below is the detailed errorr

 

But when i apply the ESS&MSS role to the same user i am able to launch the leave request application to approve/reject , i am getting the error when i assign the ESS role i am getting the above errror

 

Can anyone help on this ???

 

THanks,

Anil

Re: API to replicate Portal search functionality

$
0
0

Hi Goyal,

 

Please check this once.

Enable the Search Field

At runtime, the Search field in the masthead provides portal users with access to the search providers and search suggestions that you have configured.

  1. Go to Start of the navigation pathContent AdministrationNext navigation stepPortal DisplayNext navigation stepFramework Page ConfigurationEnd of the navigation path.
  2. In the Masthead section, locate the Enable Quick Launch property.
  3. Select the checkbox to enable search using search providers and search suggestions.
  4. Save your changes.

 

Check this below help data may me help you.

Configuring Search Providers - Portal - SAP Library

 

Search Results in Same Window

 

Developing a Search Component for KM Search iView

 

How to display search results in content area

 

 

 

BR,

Durga

Re: Error in SQL query

$
0
0

hi monissha

 

select stmt can return single scalar values for int/nvarchar

Re: Interest calculation error

$
0
0

Hi Juhi,

 

At the time of executing F.52, do not maintain any value in the date of last interest run. Keep it blank and execute it. However, have you maintain GL account properly in OBV2.

 

Regards,

Mukthar

Need TN to Block Sales Quotation, If not Based on Sales Opportunity

$
0
0

Dear Experts,

 

I Need TN to Block Sales Quotation, If not Based on Sales Opportunity.

 

Scenario:

 

I would like to block the user from creating a sales quotation directly, instead the user should create a quotation from sales opportunity.

 

Appreciate a quick reply.

 

 

Thanks & Regards,

Navanath Gore

Re: MIRO for Custome duty

$
0
0

Thanks for reply.

Pl note that these MIRO entry is for Custom duty payment for Import PO

 

Below is the status of my entries from MB5B report.

 

Document No. 1451010297 is 1st Cstum Duty entry MIRO FI Document

Document No. 1451010307 is Credit memo for Previous MIRO Document

Document No. 1451010311 is another Custom Duty entry MIRO FI Document

Document No. 1449018256 is Issue entry FI Document

 

I have problem with Document No. 1451010297 & 1451010307

 

Pl check Posting Date, Entry date and  Entry time for all Documents.

 

 

Re: Release an order

$
0
0

thank' for your attention

it's kind of internal order


Re: PR with L Item Category from PS

Special Prices object creation via SDK bug , create date missing in DB

$
0
0

Hi everyone,

I have some problem with Special Prices object creation via SDK , when i create this object using SDK in DB (ospp table) create data and update date is null  . Because of this sometimes SAP isn't  see this object .

Someone can help me please with this issue?

 

SAP 9.0 , PL : 09

 

code for creation  sp

 SAPbobsCOM.SpecialPrices sp;
 sp = SapCon.getInstance.oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oSpecialPrices);
sp.CardCode = ip.cardCode;                        sp.ItemCode = ip.itemCode;                        sp.PriceListNum = Convert.ToInt32(ConfigurationManager.AppSettings["recomPriceListNum"]);                        sp.Price = ip.price;                        errCode = sp.Add();                        if (errCode != 0)                            throw new Exception("Can't add Special prices for card code [" + ip.cardCode + "] , and item code [" + ip.itemCode + "]" +                         ". sap err code is [" + errCode + "] and err desc is [" + SapCon.getInstance.oCompany.GetLastErrorDescription() + "]");

 

DB screenshot

 

Capture22.JPG

Re: Public holiday quota on a Saturday is

$
0
0

Hi Rajarshi,

 

Check any custom PCR has been inserted in the Schema due to this it's genrating quota for holiday's if it's falls in weekday's or weekends and specific time type is using to generate the Holiday quota in IT2006. Change that PCR according your currect requirement.

 

Regards,

Sankarsan

Re: Trash Can and Deletion flag set CJ20N

$
0
0

Hi Prema,

 

Can you please describe your requirement ?

 

Are you planning to restrict access to these two trash can and deletion flag.

 

Regards

Terence

Re: Using SET / GET parameter in BW transformation

$
0
0

Hi Suhas,

 

Thanks...............I guess SET/GET parameter will not work for me then.

 

I will write the code and insert directly into the Active table of the DSO from the SE38 program. I will love to use BW functionality (DTP, Transformation etc) but seems that i will not be able to use them in this situation.

 

Thanks

Viewing all 8545 articles
Browse latest View live


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