SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem Automating FPOP

former_member238607
Participant
0 Kudos

Hi,

Iu2019m new to SAP (and BW), so please bear with me. We went live with CRB and BW about four months ago. At that time we could not automate our Sales Statistics and Business Partner data extractors because of various issues. Weu2019ve since resolved those issues and are now attempting to automate these extractors.

Our Basis team is working on getting these two processes automated in Redwood (we had to purchase this scheduling software to resolve some of our CRB issues). The data extractor for Sales Statistics (BW-DQ-SS) works fine, but the extractor for Business Partner (FPOP), for the FICA BP Items Transaction process chain produces an error in Redwood (I have included the error message at the end of this post).

Basis believes the problem is due to the Parallel Processing Object (u2018KEYPPu2019 u2013 3-Character Number) set on the Technical Settings tab, which was selected by the consultants that set up the process. If we select help on the Object field under Parallel Processing Object, it actually mentions u2018GPARTu2019 for business partner in the help text. However, this field is read-only. The process runs fine with this object when we run it manually; it just fails when we try to automate it with Redwood.

Can anyone tell me what they are using for this parameter, and how we can change it (new variant, etc)? Or does anyone have any other suggestions on how we can get this process automated?

Thank you very much for your help!

program rw_macp.

Form rwChangeParameters.

data: h_basics type FKK_MAD_BASICS.

data: h_addons type FKK_MAD_BWOP.

import basics to h_basics from memory id 'FKKMADBASICS'.

import addons to h_addons from memory id 'FKKMADADDONS'.

  • processing field OBJECT

h_basics-TECH-OBJECT = 'KEYPP'.

  • processing field VARI

h_basics-TECH-VARI = 'LESVar2'.

  • processing field USE_LOAD_BALA

h_basics-TECH-USE_LOAD_BALA = 'X'.

  • processing field JOBS_LOAD_BALA

h_basics-TECH-JOBS_LOAD_BALA = 5.

export basics from h_basics to memory id 'FKKMADBASICS'.

export addons from h_addons to memory id 'FKKMADADDONS'.

EndForm.

com.redwood.scheduler.connector.sap.rfc.connection.exception.SapBapiException: BAPI exception while calling /SCJS/ISU_NEW_PARAMETER_SET: E XM 300 {FKKBW,121} Enter an interval distribution [BWOP,,09/23/2011,84T] [, {FKKBW,121}, Enter an interval distribution, [BWOP,,09/23/2011,84T]]

BAPI exception while calling /SCJS/ISU_NEW_PARAMETER_SET: E XM 300 {FKKBW,121} Enter an interval distribution [BWOP,,09/23/2011,84T] [, {FKKBW,121}, Enter an interval distribution, [BWOP,,09/23/2011,84T]]

at com.redwood.scheduler.connector.sap.rfc.jco2.connection.impl.ClientConnectionImpl.checkBapiReturnCode(ClientConnectionImpl.java:789)

at com.redwood.scheduler.connector.sap.rfc.jco2.connection.impl.ClientConnectionImpl.call(ClientConnectionImpl.java:602)

at com.redwood.scheduler.connector.sap.rfc.connection.AbstractRfcConnection$4.doPerform(AbstractRfcConnection.java:296)

at com.redwood.scheduler.connector.sap.rfc.connection.RemoteFunctionCall.perform(RemoteFunctionCall.java:120)

at com.redwood.scheduler.connector.sap.rfc.connection.AbstractRfcConnection.perform(AbstractRfcConnection.java:456)

at com.redwood.scheduler.connector.sap.rfc.connection.AbstractRfcConnection.execute(AbstractRfcConnection.java:289)

at com.redwood.scheduler.connector.sap.rfc.jco2.connection.impl.SapFunctionModuleWrapper.execute(SapFunctionModuleWrapper.java:200)

at com.redwood.scheduler.connector.sap.rfc.jco.AbstractSapFunctionModule.execute(AbstractSapFunctionModule.java:109)

at com.redwood.scheduler.connector.sap.rfc.command.impl.MassActivityRunCommand.doExecute(MassActivityRunCommand.java:110)

at com.redwood.scheduler.connector.sap.rfc.command.impl.AbstractMassActivityCommand.execute(AbstractMassActivityCommand.java:57)

at com.redwood.scheduler.connector.sap.rfc.command.AbstractXbpCommand.doExecute(AbstractXbpCommand.java:85)

at com.redwood.scheduler.connector.sap.rfc.command.AbstractCommand.execute(AbstractCommand.java:56)

at com.redwood.scheduler.connector.sap.rfc.service.SapJobWork.doWork(SapJobWork.java:99)

at com.redwood.scheduler.infrastructure.workqueue.Worker.run(Worker.java:74)

at java.lang.Thread.run(Thread.java:708)

3 REPLIES 3

william_eastman
Advisor
Advisor
0 Kudos

Jeff:

The parallel processing variant KEYPP is the object which is used internally by the system to break up all of the relevant data into more manageable chunks. KEYPP is not related to BP - it is essentially a counter field. See the SE11 documentation for data element KEYPP_KK. The system uses these values to break up the documents by comparing their last 3 digits to that in the intervals.

As to your issue, it is possible that you are not properly using the interval variant within the scheduled process. Maybe you are using a variant that does not exist? If you are trying to run something in parallel without providing a valid parallel variant, then i think that might be an issue.

regards,

bill.

0 Kudos

Hi Bill,

Thanks for your response. I've ran it by our Basis team, but they do not believe this is our issue.

Can anyone tell me what parameters they are using when they automated FPOP?

Thanks again for your help!

raviahuja
Contributor
0 Kudos

Hi,

As Bill suggested, please check the variant used for parallelization and re-generate it.

Thanks.

Ravi