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

Re: Inserting data into SAP tables via java jco code

$
0
0

HI All,

 

    For the benefit of others. From the analysis done so far, I was able to create new records via JCO code using the BAPI function 'BAPI_CUSTOMER_CREATEFROMDATA1' . Below is the sample code which worked for me. I was able to create new records using the BAPI function BAPI_CUSTOMER_CREATEFROMDATA1 via JCO.

 

public static void insertCustomerData() throws JCoException

    {

    JCoDestination destination  = JCoDestinationManager.getDestination(ABAP_AS_POOLED);

  JCoRepository repository = destination.getRepository();

  JCoContext.begin(destination);

 

  JCoFunction function = repository.getFunction("BAPI_CUSTOMER_CREATEFROMDATA1");

  if(function == null)

            throw new RuntimeException("BAPI_CUSTOMER_CREATEFROMDATA1" + " not found in SAP.");

  System.out.println("BAPI_CUSTOMER_CREATEFROMDATA1 Name from function object: " + function.getName());

  JCoStructure codes = function.getImportParameterList().getStructure("PI_PERSONALDATA");

  codes.setValue("LASTNAME", "John Ray");

  codes.setValue("FIRSTNAME", "John Ray");

  codes.setValue("CITY", "Texsas Vd");

  codes.setValue("LANGU_P", "EN");

  codes.setValue("LANGUP_ISO", "EN");

  codes.setValue("COUNTRY", "US");

  codes.setValue("CURRENCY", "DOLLARS");

  codes.setValue("POSTL_COD1", "103258");

  codes = function.getImportParameterList().getStructure("PI_COPYREFERENCE");

  codes.setValue("REF_CUSTMR", "000014523");

  codes.setValue("SALESORG", "1250");

  codes.setValue("DISTR_CHAN", "20");

  codes.setValue("DIVISION", "20");

  function.execute(destination);

  

  String cusnumber = function.getExportParameterList().getString("CUSTOMERNO") ;

  

  System.out.println("The generated customer number is" + cusnumber);

  

  

    }


Re: How do I refresh just one tab in a workbook and not the whole workbook?

$
0
0

HI Amanda,

 

Please check below thread - Multiple EVDRE

 

Basically you need to select the workbook option - Refresh by sheet.

 

Other way round is to enable it through macro.

 

I thought you were on version 10 and my previous answer corresponded to that.

 

 

 

Regards,

Ashish

Production Order is Not Closing

$
0
0

Hi Experts,

 

We are facing an issue in closing production order, where the complete process for production is completed right from issue to receipt. When we click the status to change from release to close the drop down is not opening. Moreover the other linked documents are closed, but are not able to close production order.

 

Currently we are using version 9 and pl06.

 

Regards

Sudhir Tamilvanan

Re: How to resize the PSAPTEMP

$
0
0

Hello

 

You can shrink the 3 datafiles to 10G

ALTER DATABASE TEMPFILE '/oracle/QAT/temp.data2' resize 10G;

ALTER DATABASE TEMPFILE '/oracle/QAT/temp.data3' resize 10G;

ALTER DATABASE TEMPFILE '/oracle/QAT/temp.data4' resize 10G;

 

Regards

Re: Foreign address in ESS in EHp7

$
0
0

I am unable to zero in on your exact requirement or the problem you are facing but you might find this blog useful.

 

Prashanth

Re: Clicking Submit Button, How data is save in to Ztable in webdynpro

$
0
0

hi

 

I have read all the values .

Now i am concerned how will my values will be save in Z-table.

 

Regards

varun

Re: Operation Data provisioning

$
0
0

Hi Jo,

      This ODQ going to be the Unified technology for data provisioning and consumption.

The major difference when compared to traditional Delta Mechanism:

1)It supports many sources like SLT,HANA Views and BW Objects .If you want to apply the delta extraction mechanism  for any of these sources you can go for ODQ.

2)If you want to extract data from another BW system and you want to apply delta extraction mechanism .You need not to go for export data source or Open Hub option you can choose ODQ.

3)Enables extract once deploy many architectures for sources

4)Unified configuration and monitoring for all provider and subscriber types

5)Time stamp based recovery mechanism for all provider types with configurable data retention periods

6)Highly efficient compression enables data compression rates up to 90% in Operational Delta Queue (ODQ)

7)Quality of service: „Exactly Once in Order“  for all providers

8)Intelligent parallelization options for subscribers in high volume scenarios

Benefits :

Simplified data flow

PSA no longer required

Flexible recovery options

Consumption of ODQ by multiple subscribers

Reduced data latency

ODQ2.PNG

ODQ1.PNG

Hope this helps.

Thanks & Regards

  A.Dinesh

configuring Flexible Benefit Package

$
0
0

Hello Gurus,

 

Can gurus help me to configure the flexible benefits package. I have a few doubts as:

 

Does flexible benefits need a different set of wagetyes?

 

If not than how can we manage the same wagetypes?

 

Pls gurus help me with understanding how this can done

 

 

Regards,


Re: Replacement

$
0
0

Hello Sankar

 

This 3001 and 3000 there are only few employees will have not all.

 

In this case is it the best practise to check the availability of WT 3000 and WT3001 the to process

 

Or BP is as your above PCR

 

 

By

kum

Re: To use Infoprovider restriction at RKF level

$
0
0

HI Shambhu,

 

Thanks for your reply. just to make it clear for my understanding. you are saying, instead of new query for materials, we can achieve this by formula variable.

 

Please advise more, on how to get these materials populated in formula variable using exit.

 


Regards,

Sakthi

Re: How to update the total goods movement status(vbuk-wbstk) of a delivery

$
0
0

Hi C B Reddy,

 

I was also thinking about LSMW.....Recording method.

 

to do LSMW.....we need to do the record the particular transaction vl02n.

 

Based on my knowledge, it is not possible to do recording for enjoy transactions like VL02n.

 

Please correct me, if i am wrong.

Re: Tag Push Button in Work Clearance Management

$
0
0

Hi Chintan,

Also one thing wish to add in post. Have you taken the print of WCD in first screen ?

 

Thanks

Harsh

Re: sap fdr investment account assignment reference

$
0
0

Hello Raju,

 

Please follow below steps.

 

Account assignment reference is assign on the above path. Here I have followed below derivation rule.

For valuation area 1(Its nothing but accounting principle for reporting)

 

Click maintain rule and assigned below example rule. Please note I have use standard setting for this.

 

Regards,

Jain

Re: How to create a "mirrored" bar chart?

$
0
0

Hello,

thanks for the quick reply, this definitely looks worth a try, and then building onwards from it.

Re: pool is configured too small for current demands

$
0
0

Thanks Peter and Jeff,

 

Increasing the device size and then altering the database to increase its size did work. However, the issue we have is that the product using the ASE DB is continuously adding rows to a table. It looks like that single table is taking up most of the space. Interestingly, the table data takes up only 800MB of space, but the index takes up almost 12 GB. Now to figure out how to make this stop.

 

Thanks again.


Re: Delete PSA Req Process issue

$
0
0

Hi,

 

In the Delete Psa Req Process step kindly check the condition that only loaded (Updated to data mart) request to be deleted.

 

If its check than only the requests which are loaded to further targets will be deleted.

 

Regards,

Bhaskar V

Re: Hiding Zoom and Center tools on VBI Maps

$
0
0

Hello Nick,

 

for the feature you require we offer a parameter navControlVisible on the Scene/SceneGeo. You can set it to false and the nav control will not be shown.

Further we provide scene sub node SuppressedNavControlVisibility to control the visibility of the various parts of the nav control, e.g. zoom slider.

Beside this its also possible to restrict the navigation options with sub node NavigationDisablement.


Best regards,

Uwe

Re: PO:Tax code field

$
0
0

What does the status message tell you? I guess: still 5 of 5 to be processed.

And all texts are just proposals as you only see yellow color instead of green color.

in this case click the hammer icon and then click Status A.

I would open a message at SAP, could be a side affect or the same cause as listed in 1596140 - Correction of translation of 'Sales Tax Code' (dtel MWSKZ)

Re: CR2011 - Can we place a Running Total Field in a Header i/o Footer?

$
0
0

Hi Abhilash

 

I am very happy to tell you that your formula works like a charm!

It is exactly what I needed.

 

Thanks a lot and Best Regards

Leon Lai

closing

regarding function changes in sap backend system

$
0
0

Hi Team,

 

I would like to check if we can alter functions and its actions/permissions in SAP back end and transport it across landscape.

 

This is needed as we customize the rule set and its difficult to validate the risk analysis changes directly in production when its made via nwbc.

 

Thanks in advance.

 

Regards,

Anil

Viewing all 8746 articles
Browse latest View live




Latest Images