You can set up the date format using a format style... otherwise it will use the excel default style.
Re: [abap2xlsx] date-fields lose formatting
Re: how to Re Assign existing HU to new OB Delivery
Use t-code LH01 to assign HU to your TO.
Re: NetWeaver AS Java 7.3 EHP1 not starting after a refresh
Hi Deepak, and many thanks for your reply! The link you provided, is a discussion, which contains another link to a document, which describes how to recover from a missing instance.properties file. I do have this file intact and hence I think this is not the solution to my problem.
Re: How to implement ‘Context Sensitive Help’ for Workforce Performance Build Tool.
Hi Sanjiv,
do you you mean expand the Help Menu => Pull Help or do you mean
EPSS => push Help?
in case pull help please tell me exactly which system GUI or EP and version you are using.
many different scenarios are possible.
Tom
P.S. Please take care of the name is Workforce Performance Builder or maybe in-official WPB.
many people ask in the HCM area for help, this is the reason why we do not observe all discussion.
The name in the title will help us to find your questions on time.
Re: Difference between 0FI_AP_30 and 0FI_AP_4 Data source
The difference is explained here Accounts Payable: Line Items - Customer / Vendor Analysis - SAP Library and here Vendor Line Items - Reporting Financials (EhP3) - SAP Library .
Reservation of stock at Storage Type level in Warehouse
Hi Gurus,
My client is currently using ORACLE ERP system and they are migrating to SAP.
In ORACLE there is a flexibility wherein reservation can be activated for warehouse stock.
However, in SAP we are mapping the multiple warehouses present in ORACLE as Storage types.
So, I would like to know whether there is a way to reserve the stocks at storage type level.
According to my analysis direct reservation is possible at plant and storage location level.
However I would like to know from you whether there is a direct way to reserve the stocks in storage type in warehouse or any in-direct way possible to reserve the storage type stock?
Thanks & Regards
Subhasis
Re: NetWeaver AS Java 7.3 EHP1 not starting after a refresh
Hi Reagan and thanks a lot for replying so quickly!!
I have provided the log, that contains the most precise information, though here are some other entries, my exit code is 515, not 508:
dev_bootstrap:
F [Thr 02] Sat Apr 26 21:59:44 2014
F [Thr 02] *** LOG => State changed from 2 (Starting framework) to 3 (Running).
F [Thr 02] *** LOG state real time: 4.895 CPU time: 0.140 sys, 3.740 usr
F [Thr 02] *** LOG total real time: 10.662 CPU time: 0.640 sys, 5.860 usr
F [Thr 02]
F [Thr 02] *** LOG => State changed from 3 (Running) to 5 (Stopping).
F [Thr 02] *** LOG state real time: 0.223 CPU time: 0.010 sys, 0.380 usr
F [Thr 02] *** LOG total real time: 10.886 CPU time: 0.650 sys, 6.240 usr
F [Thr 02]
F [Thr 11] *** LOG => SfCJavaVm: exit hook is called. (rc = 515)
F
F ********************************************************************************
F *** ERROR => Java node 'Instance_bootstrap' terminated with exit code 515.
F ***
F *** Please see section 'Java program exit codes'
F *** in SAP Note 1316652 for additional information and trouble shooting advice.
F ********************************************************************************
F
F [Thr 11] *** LOG => exiting (exitcode 515, retcode 1).
M [Thr 11] CCMS: CCMS Monitoring Cleanup finished successfully.
jvm_bootstrap.out contains exactly the same error:
Error while persisting instance profile for component [Configuration Manager] of type [external]
com.sap.engine.frame.core.configuration.NameNotFoundException: Configuration [ID15603850] not found in [cluster_confi
g/system/instances]
sapcpe_bootstrap.log:
...
ActualizeLocalFile: sap.com~tc~je~offlineconfiguration~impl.jar
ActualizeLocalFileOrDir: sap.com~tc~logging~java~impl.jar (FPM:0x0)
ActualizeLocalFile: sap.com~tc~logging~java~impl.jar
ActualizeLocalFileOrDir: sap.com~tc~sec~secstorefs~java~core.jar (FPM:0x0)
ActualizeLocalFile: sap.com~tc~sec~secstorefs~java~core.jar
Files scanned......: 49 8.43 MB
** All local files, which are available and defined, are up to date. **
Required Time......: 0:00
Copy Errors detected.................: 0
Sync Errors detected.................: 0
Not copied files (UID=0) detected....: 0
Warnings detected....................: 49
And basically, those are all the bootstrap log files, which are most recent...
I have been thinking to uninstall the complete instance and then try target system installation once again, after everything from the previous instance has been cleaned up... What do you think? Of course, no answer to my OSS message, as it is weekend... Thank you!!
Re: SMP3 / Integration:
Aditya Dhulipala wrote:
Thank you very much for answering. So, At this moment, I cant replace NWGW with IG.
In the case of SAP as backend its not mandatory to use IG, if Odata services are available from backend (ex.exposed via NWGW) you can use it in SMP 3 server to develop the apps.ie without changing the existing Odata services still you can develop apps using SMP 3.
Midhun VP
Re: Change of user Id names in production server
Hi Priya,
There must be a posibility for this, according to my logic User ID are unique in nature.
Let us take an example to clarify this:
Employee - X is working with organization from 01.01.2013 - 30.04.2014 and he left, so now company is not going to pay the licence fee for his life time because he is no more a valid user. In the similar way they are many a companies whose attration rate is 20+% percentage of its actual head count on quarterly basis.
If they are going to pay for 100 user licence no one opts SAP. So there must be a way/ solution for which many of us don't know the answer till we actually dig into the reality.
As suggested by Kedar above, You can change the name in SU01 for an User as shown below:
And also check the tab Logon Data where we have fields like valid from & valid to as shown below:
I strongly believe this deals about the Licence period, like RAMYA is valid from 01.01.2013 valid to 30.04.2014 (Delimit licence) from which you can use this licence to another user like HR1.
Check with your basis / security consultant who is a senior you can find a solution for this.
Best Regards,
Srikanth Naidu. A
Re: Master data extraction from SAP ECC
Have you checked if your source system in RSA1 is correct? Are the RFCs working in both directions? Are WE20/WE21 maintained correctly?
Re: Change of user Id names in production server
Only users which are valid and not locked are taken in account for license fees.
Routine between two cubes
Hi ABAP experts
Below you can find a table.
In the source infocube following fields and key figures are provided: CALMONTH, PRODUCT, doc number, ZFC_DIFF, ZFC_BETRH and 0FC_BETRH.
In the target infocube following fields are provided: calmonth, product, ZFC_DIFF, ZFC_BETRH, ZFC_OPEN and 0FC_BETRH. Doc. number is missing here.
In the target structure the key figure ZFC_OPEN must be filled up by the following logic.
If SUM (ZFC_DIFF) over doc. no. is zero then fill up ZFC_OPEN by the values of 0FC_BETRH, in line with the appropriate product.
If not then the fill up should happen by the values of ZFC_BETRH.
I think an expert routine is the best at this place. I have already started, but need the above described logic.
Can anyone help? Do I need two loops?
Thanks.
PROGRAM trans_routine.
*---------------------------------------------------------------------*
* CLASS routine DEFINITION
*---------------------------------------------------------------------*
*
*---------------------------------------------------------------------*
CLASS lcl_transform DEFINITION.
PUBLIC SECTION.
* Attributs
DATA:
*- Rule context
p_curr_rule
TYPE cl_rstran_runtime_exe=>ty_s_rule_context READ-ONLY,
p_check_master_data_exist
TYPE RSODSOCHECKONLY READ-ONLY,
*- Instance for getting request runtime attributs;
* Available information: Refer to methods of
* interface 'if_rsbk_request_admintab_view'
p_r_request
TYPE REF TO if_rsbk_request_admintab_view READ-ONLY.
PRIVATE SECTION.
TYPE-POOLS: rsd, rstr.
* Rule specific types
TYPES:
BEGIN OF _ty_s_SC_1,
* InfoObject: 0FC_BETRH Betrag (DFKKOPK).
FC_BETRH TYPE /BI0/OIFC_BETRH,
* InfoObject: 0LOC_CURRCY Hauswährung.
LOC_CURRCY TYPE /BI0/OILOC_CURRCY,
* InfoObject: 0FC_OPBEL Belegnummer.
FC_OPBEL TYPE /BI0/OIFC_OPBEL,
* InfoObject: 0DOC_DATE Belegdatum.
DOC_DATE TYPE /BI0/OIDOC_DATE,
* InfoObject: 0PSTNG_DATE Buchungsdatum im Beleg.
PSTNG_DATE TYPE /BI0/OIPSTNG_DATE,
* InfoObject: ZZBRARW Branche Rechnungswesen.
/BIC/ZZBRARW TYPE /BIC/OIZZBRARW,
* InfoObject: 0CAMNTRANS Hauptvorgang, definiert mit Teilvorgang de
*n Buchungsvorgang.
CAMNTRANS TYPE /BI0/OICAMNTRANS,
* InfoObject: 0CASUBTRANS Teilvorgang, definiert mit Hauptvorgang d
*en Buchungsvorgang.
CASUBTRANS TYPE /BI0/OICASUBTRANS,
* InfoObject: 0FC_VTREF Vertrag.
FC_VTREF TYPE /BI0/OIFC_VTREF,
* InfoObject: 0GL_ACCOUNT Sachkonto.
GL_ACCOUNT TYPE /BI0/OIGL_ACCOUNT,
* InfoObject: 0CAAPPLK Anwendungsbereich.
CAAPPLK TYPE /BI0/OICAAPPLK,
* InfoObject: 0FC_BLART Belegart.
FC_BLART TYPE /BI0/OIFC_BLART,
* InfoObject: 0FC_STUDT Stundung bis.
FC_STUDT TYPE /BI0/OIFC_STUDT,
* InfoObject: 0NETDUEDATE Nettofälligkeit.
NETDUEDATE TYPE /BI0/OINETDUEDATE,
* InfoObject: 0BPARTNER Geschäftspartner.
BPARTNER TYPE /BI0/OIBPARTNER,
* InfoObject: 0CALMONTH Kalenderjahr / Monat.
CALMONTH TYPE /BI0/OICALMONTH,
* InfoObject: 0CALYEAR Kalenderjahr.
CALYEAR TYPE /BI0/OICALYEAR,
* InfoObject: 0CALMONTH2 Kalendermonat.
CALMONTH2 TYPE /BI0/OICALMONTH2,
* InfoObject: 0CHRT_ACCTS Kontenplan.
CHRT_ACCTS TYPE /BI0/OICHRT_ACCTS,
* InfoObject: ZFC_BETRH Betrag (DFKKOP).
/BIC/ZFC_BETRH TYPE /BIC/OIZFC_BETRH,
* InfoObject: ZFC_DIFF Differenz.
/BIC/ZFC_DIFF TYPE /BIC/OIZFC_DIFF,
* InfoObject: 0BUS_AREA Geschäftsbereich.
BUS_AREA TYPE /BI0/OIBUS_AREA,
* InfoObject: ZZGA_NR GA zuständig.
/BIC/ZZGA_NR TYPE /BIC/OIZZGA_NR,
* InfoObject: ZZBRA3 Branche Spheris.
/BIC/ZZBRA3 TYPE /BIC/OIZZBRA3,
* InfoObject: 0FC_OPUPK Belegposition.
FC_OPUPK TYPE /BI0/OIFC_OPUPK,
* Field: RECORD.
RECORD TYPE RSARECORD,
END OF _ty_s_SC_1.
TYPES:
_ty_t_SC_1 TYPE STANDARD TABLE OF _ty_s_SC_1
WITH NON-UNIQUE DEFAULT KEY.
TYPES:
BEGIN OF _ty_s_TG_1,
* InfoObject: 0CHNGID Änderungslauf ID.
CHNGID TYPE /BI0/OICHNGID,
* InfoObject: 0RECORDTP Satztyp.
RECORDTP TYPE /BI0/OIRECORDTP,
* InfoObject: 0FC_BETRH Betrag (DFKKOPK).
FC_BETRH TYPE /BI0/OIFC_BETRH,
* InfoObject: 0LOC_CURRCY Hauswährung.
LOC_CURRCY TYPE /BI0/OILOC_CURRCY,
* InfoObject: 0DOC_DATE Belegdatum.
DOC_DATE TYPE /BI0/OIDOC_DATE,
* InfoObject: 0PSTNG_DATE Buchungsdatum im Beleg.
PSTNG_DATE TYPE /BI0/OIPSTNG_DATE,
* InfoObject: 0CAMNTRANS Hauptvorgang, definiert mit Teilvorgang de
*n Buchungsvorgang.
CAMNTRANS TYPE /BI0/OICAMNTRANS,
* InfoObject: 0CASUBTRANS Teilvorgang, definiert mit Hauptvorgang d
*en Buchungsvorgang.
CASUBTRANS TYPE /BI0/OICASUBTRANS,
* InfoObject: 0FC_VTREF Vertrag.
FC_VTREF TYPE /BI0/OIFC_VTREF,
* InfoObject: 0GL_ACCOUNT Sachkonto.
GL_ACCOUNT TYPE /BI0/OIGL_ACCOUNT,
* InfoObject: 0CAAPPLK Anwendungsbereich.
CAAPPLK TYPE /BI0/OICAAPPLK,
* InfoObject: 0FC_BLART Belegart.
FC_BLART TYPE /BI0/OIFC_BLART,
* InfoObject: 0FC_STUDT Stundung bis.
FC_STUDT TYPE /BI0/OIFC_STUDT,
* InfoObject: 0NETDUEDATE Nettofälligkeit.
NETDUEDATE TYPE /BI0/OINETDUEDATE,
* InfoObject: 0BPARTNER Geschäftspartner.
BPARTNER TYPE /BI0/OIBPARTNER,
* InfoObject: 0CALMONTH Kalenderjahr / Monat.
CALMONTH TYPE /BI0/OICALMONTH,
* InfoObject: 0CALYEAR Kalenderjahr.
CALYEAR TYPE /BI0/OICALYEAR,
* InfoObject: 0CALMONTH2 Kalendermonat.
CALMONTH2 TYPE /BI0/OICALMONTH2,
* InfoObject: 0CHRT_ACCTS Kontenplan.
CHRT_ACCTS TYPE /BI0/OICHRT_ACCTS,
* InfoObject: ZFC_BETRH Betrag (DFKKOP).
/BIC/ZFC_BETRH TYPE /BIC/OIZFC_BETRH,
* InfoObject: ZFC_DIFF Differenz.
/BIC/ZFC_DIFF TYPE /BIC/OIZFC_DIFF,
* InfoObject: 0BUS_AREA Geschäftsbereich.
BUS_AREA TYPE /BI0/OIBUS_AREA,
* InfoObject: ZZGA_NR GA zuständig.
/BIC/ZZGA_NR TYPE /BIC/OIZZGA_NR,
* InfoObject: ZZBRA3 Branche Spheris.
/BIC/ZZBRA3 TYPE /BIC/OIZZBRA3,
* InfoObject: ZZBRARW Branche Rechnungswesen.
/BIC/ZZBRARW TYPE /BIC/OIZZBRARW,
* InfoObject: ZFC_OPEN Offene Posten.
/BIC/ZFC_OPEN TYPE /BIC/OIZFC_OPEN,
* InfoObject: 0REQUID Request ID.
REQUID TYPE /BI0/OIREQUID,
* Field: RECORD.
RECORD TYPE RSARECORD,
END OF _ty_s_TG_1.
TYPES:
_ty_t_TG_1 TYPE STANDARD TABLE OF _ty_s_TG_1
WITH NON-UNIQUE DEFAULT KEY.
*$*$ begin of global - insert your declaration only below this line *-*
... "insert your code here
*$*$ end of global - insert your declaration only before this line *-*
METHODS
new_record__expert_routine
IMPORTING
log type ref to cl_rsbm_log_cursor_step
source_segid type rstran_segid
source_record type sytabix
target_segid type rstran_segid
EXPORTING
record_new type sytabix.
METHODS
expert_routine
IMPORTING
request type rsrequest
datapackid type rsdatapid
log type ref to cl_rsbm_log_cursor_step
EXPORTING
RESULT_PACKAGE type _ty_t_TG_1
CHANGING
SOURCE_PACKAGE type _ty_t_SC_1.
METHODS
inverse_expert_routine
IMPORTING
i_th_fields_outbound TYPE rstran_t_field_inv
i_r_selset_outbound TYPE REF TO cl_rsmds_set
i_r_universe_inbound TYPE REF TO cl_rsmds_universe
CHANGING
c_th_fields_inbound TYPE rstran_t_field_inv
c_r_selset_inbound TYPE REF TO cl_rsmds_set
c_exact TYPE rs_bool.
ENDCLASS. "routine DEFINITION
*$*$ begin of 2nd part global - insert your code only below this line *
... "insert your code here
*$*$ end of 2nd part global - insert your code only before this line *
*---------------------------------------------------------------------*
* CLASS routine IMPLEMENTATION
*---------------------------------------------------------------------*
*
*---------------------------------------------------------------------*
CLASS lcl_transform IMPLEMENTATION.
*----------------------------------------------------------------------*
* Method expert_routine
*----------------------------------------------------------------------*
* Calculation of result package via expert routine
*----------------------------------------------------------------------*
* -> package of source segments
* <- result package
*----------------------------------------------------------------------*
METHOD expert_routine.
*=== Segments ===
FIELD-SYMBOLS:
<SOURCE_FIELDS> TYPE _ty_s_SC_1.
DATA:
RESULT_FIELDS TYPE _ty_s_TG_1.
*$*$ begin of routine - insert your code only below this line *-*
... "insert your code here
DATA: lt_source1 TYPE _ty_t_sc_1,
lt_source2 TYPE _ty_t_sc_1,
ls_source1 TYPE _ty_s_sc_1, " source structure expert routine
ls_source2 TYPE _ty_s_sc_1,
ls_result TYPE _ty_s_tg_1. " target structure expert routine
lt_source1[] = SOURCE_PACKAGE.
SORT lt_source1 BY FC_OPBEL.
CLEAR ls_result.
LOOP AT lt_source1 INTO ls_source1.
APPEND ls_source2 TO lt_source2.
ENDSELECT.
CLEAR ls_source2.
LOOP AT lt_source2 into ls_source2.
APPEND ls_result TO RESULT_PACKAGE.
ENDLOOP.
CLEAR lt_source2.
ENDLOOP.
*$*$ end of routine - insert your code only before this line *-*
ENDMETHOD. "expert_routine
*----------------------------------------------------------------------*
* Inverse method inverse_expert_routine
*----------------------------------------------------------------------*
* This subroutine needs to be implemented only for direct access
* (for better performance) and for the Report/Report Interface
* (drill through).
* The inverse routine should transform a projection and
* a selection for the target to a projection and a selection
* for the source, respectively.
* If the implementation remains empty all fields are filled and
* all values are selected.
*----------------------------------------------------------------------*
* Customer comment:
*----------------------------------------------------------------------*
METHOD inverse_expert_routine.
* IMPORTING
* i_r_selset_outbound TYPE REF TO cl_rsmds_set
* i_th_fields_outbound TYPE HASHED TABLE
* i_r_selset_outbound_complete TYPE REF TO cl_rsmds_set
* i_r_universe_inbound TYPE REF TO cl_rsmds_universe
* CHANGING
* c_r_selset_inbound TYPE REF TO cl_rsmds_set
* c_th_fields_inbound TYPE HASHED TABLE
* c_exact TYPE rs_bool
*$*$ begin of inverse routine - insert your code only below this line*-*
... "insert your code here
*$*$ end of inverse routine - insert your code only before this line *-*
ENDMETHOD. "inverse_expert_routine
METHOD new_record__expert_routine.
***** IMPLEMENTATION is only visible in generated program *****
ENDMETHOD.
ENDCLASS. "routine IMPLEMENTATION
Re: LSMW_multiple Alternate unit of measure in MM_RMDATIND
Thankx to all of you,
I have resolved the issue...
Re: SAP installation failed phase (Create users for SAP System)
Hi Sam
You installation are in Windows or Unix /Linex OS ? & DB2 version?
BR
SS
Re: Multiple Infoobject with same technical name
Thanks for your reply.
Sorry for the confusion. After i did Insert Infoprovider from info object(0CUSTOMER), the infoprovider is moved from the previous info area to the my current one. I found this only after refreshing the entire tree. This answers the ques 1 and ques 2.
for ques 3: I still find 0customer info object in multiple info areas, why there are multiple entries?
Need logic for a alv report
I have a new alv report .My requirement is in final int. table contains two values , doc type (KTOKK) and no. of days
doc. type Days
ex. ZKOK 365
ZKOK 260
ZKOK 450
ZKOK 1098
ZCVB 230
ZCVB 239
ZKOL 120
ZKOL 678
report output should be :
Doc type less than 180 days (no. of count) less than 450 days and GT 180 days (no. of count)
ZKOK count is = 0 in this case count is = 2
ZCVB count is = 0 count is = 2
ZKOL count = 1 count = 1.
Pl.. let me know how to build this to get the output above???NO hard code require for doc. type ..doc. type may be there more than 26..
Pl..help me ????
Re: offline approval from outook in sap
Hi Rob,
thanks for your reply!!
client want to approve from oultook without loggind into sap.
1) for tha above requiremnet i have created a class with send an email to approver with pdf as attachement to outlook email with approve and reject buttons.
2) when approver clicks on approve button it will go to the offline user with subject as approve.
3) here i am using some inbound processin to process the workflow step . used interface IF_INBOUND_EXIT_BCS in my custom class written code in menthod PROCESS_INBOUND , here calling FM " SAP_WAPI_DECISION_COMPLETE"
My inbound class is not triggering, can any please let me know the settings for inbound processin in scot transaction.
regards
raja
Re: Combine delivery
No, because it limits my options. Let's say I end the picking process with one pallet with just 2 crates, but I have other two pallets that aren't completly full and have room for one crate each (each pallets belongs to a different delivery).
What I want to to, is to split that delivery HU into two, which I can't do in the shipment documents because it only allows consolidation of several pallets into one, not the split of one into two.
Re: Inventory - batches and expiry dates
the items are purchased as a kit as it has a specific manufacturers part number but all the components also have part numbers too... I think some how using a material assembly might work but I don't know enough!
Re: Error in Mini SAP Installation
Hi Sudipata
Kindly create the new thread and paste the SAP_inst log
Regards
Sriram