Custom OM infotype issue in Quality Server
Hi,
I created a custom infotype in PPCJ. Its working fine in development server.
We transport the request to Quality server and created a record in PO13 t-code for the custom infotype.
There i am getting a success message that 'Record is created'. If i check in tables HRP9009 and HRT9009
can't able to see the datas which are created.
Its working fine in development server, but not in Quality. Have anybody faced this type of issue?
Please provide some solution on this.
Hi Santosh,
Thanks for your reply....
I have done cache refresh and also crosschecked all the objects comparing with DE system but i am wondering how i am getting file payload in jdbc channel and jdbc payload in file channel after transporting from DEV to QAS.
Thanks in advance...
Naveen.
Similar Messages
-
Addition of new fields to existing Infotype: Error in Quality Server.
Hi Experts,
I have added new fields by adding custom include to Infotype 4000 using t-Code PM01. It is working perfectly fine in DEV. But, in QLT, the custom Include is not attached to the P4000 structure. Independently, CI_P4000 exists in QLT.
I have checked all the Transport Requests, nothing is missing. However, The structure of P4000 is not getting modified as per requirement. What should I do?Hi Experts,
The Error was coming with Infotype 4000. I tried adding the same field by updating Infotype 4001 and it worked. So, I have used that only, and my requirement is fulfilled.
But, I am still not sure if we can add field in similar way in Infotype 4000.
Thanks to all for providing me with possible solutions!!
Regards,
Shruti Gupta. -
Hi Experts,
I have an interface with IDOC to file and JDBC (two recievers) which works fine in DEV system.
I have transported the same objects to QAS and activated the ID objects in QAS system.
i am wondering that the interface works fine in DEV and when i test the same in QAS i am getting file payload into JDBC reciever channel and JDBC payload to File channel.
I have tried swapping in interface determination ....but my doubt is what might be the reason that the interface is working in DEV but the same is not working in QAS.
Please suggest....
Thanks in advance,
Naveen.Hi Santosh,
Thanks for your reply....
I have done cache refresh and also crosschecked all the objects comparing with DE system but i am wondering how i am getting file payload in jdbc channel and jdbc payload in file channel after transporting from DEV to QAS.
Thanks in advance...
Naveen. -
How to upload data in a custom table in quality server
Hi All,
I want to upload data in custom table in quality server.
I forgot to tranfer TMG into QA. I also don't send any upload program to QA.
Is there any way to upload data directly to table in quality server i.e. by use of debugging.
Regards,
NarendraHi Narendra,
As suggested by Jorge you can create data through T-code SM30 (for this you need to have table maintainence generator in development) and get it tranported to Quality and production and maintain the data through it or else to can create a request for data creation through SM30 in development and get it transported to quality and production.
Thanks,
Chinmay -
Field selection issue in dev & quality server for PO
Dear All,
I have an issue regarding PO field setting in development and quality server.
Requirement was that PO can not be created without PR (means PR is mandatory) for a particular document type ZDOM.
So i have created new field selection filed by copying NBF field selection and assigned with document type ZDOM.
So when i am testing this scenario in DEV server it is working fine but after transporting to Quality server, it is not working in q system.
Again i reimpoted the same request but still it is not working. So what could be the reason?
Pls refer the attached screen short.I don't know how your development is working..
I have done the same settings in my development client. But I can still create PO without reference PR.
Then I have tried parameter EFB. Then its working perfect..
Use buyers authorization in OMET..
Check the settings..
Here untick the option W/o Reference..
Then assign the profile to user id in SU3.
Then try to create PO without PR.. You will receive a authorization error...
But the problem is its user level not at client level..
Test and revert back.. -
Transport of Customizing from Dev Server to Quality Server
Hai ,
After release of change request using SE10,How we can transfer from one server to another .
Regards,
MohanrajuHi !!
After release fo request from SE10 go to quality serevr in STMS transaction there you will observe your request in the Quality server que . Selct your request there and click on a import icon on the application menu . Its icon is a truck with empty corner .
Your Basis person should help you out. -
Issue on transport to quality server
Hi all,
my basis guy has released all the transport requests to the quality server. But i cld not see any condition tables or access sequence copied in my quality server.
in SE10 there is only request on Pricing Procedure, there fore the pricing is been copied in quality but with descriptions of condtion types, access sequence and condition types .
plz suggest me what shld i do now in this case.
thanks in advance.
kumarHi Anil,
The transports pertaining to pricing procedure are client dependent ones whereas the ones related to condition table are client independent(Table creation)
So first check the objects of the transport which is now in Quality server in the previous server itself. Mostly it will not have any Atables (Atables are the condition tables).
First pls check whether the transport mechanism for client dependent and client independent tports are same or different.
If same, and if the objects are there in the transport in the first server, then check its log while transporting to quality server.
If different, please follow the procedure for client independent tports and move the condition tables .
I think access seq is again client dependent. So take care of condition tables and access sequences in different transports to take care of the scenario.
In our project the tport mechanisms are different for client dependent and client independent tports and hence we follow separate procedure for condition table and access seq(in 2 different transports)
Pls assign reward points if it helps. Let me know if you need further info. -
Issue : In retransporting Smartforms in Quality server
Dear All,
In retransporting Smartforms in Quality server ,Smartforms is
not executing from outside, but if i m going in display mode and
executing from inside then i m able to execute it.But its getting executed when i transport the smartform with different name.
While debugging in Function Module SSF_FUNCTION_MODULE_NAME ,
L_FP_UDAT is getting updated from table d010sinf and L_SF_UDAT is
getting updated from table stxfadm.
L_SF_UDAT should less than L_FP_UDAT or if it is equal then L_FP_UTIME
should greater than L_SF_UTIME as per debugging.
then it is calling FB_GENERATE_FORM and in that it is checking for
Smart Form name and it is going for message.
if i_formname = space.
message e206 raising no_name.
endif.
During generating message it is going on infinite loop.
Regards
VinayThanks for the response.
I have declared a variable of type TDSFNAME. and passing my smartform name in this variable. and in Function Module SSF_FUNCTION_MODULE_NAME, I am passing this variable. but again same problem is coming , and not able to generate SmartForm .
Thanks & Regards,
Vinay sharma
09223255156 -
How to run the payroll in Quality server..Unable to exit the payroll record
HI Experts,
In my Quality server the current payroll period is 6 ---2006.
For testing purposes i want to run the payroll for next periods.
Here i am unable to exit the payroll.It is showing message that payroll has not been run successfully for all personnel numbers.I have struck up here.
How can run the payroll for the next period.
Please advice me to run the payroll for later periods...
Thanking U.
Sairam.Hi Vicky,
That is ur master data and time data is not correct, the rejected personnel no. should with the correction flag.these personnel no are stored in too called matchcode W, so u have to change the master data and time data fot that perticular personnel no. and agian release for payroll.
if any changes required in customizing tables rather than ur infotypes then let me know.
Hope this will give u an idea
reward points if helpful
Srinivas -
Development and Quality server using different screen color setting
Hi,
I want to differentiate the Development and Quality server using different screen colors,
How can I set different color logon screen for the different kinds of servers.
Thank You.
Best Regards,
M.Thirumoorthi
[email protected]Hi Thiru moothi,
Please check these links :
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/ep/modifyingtheLogon+Page&
Custom Password Change Page
Custom Portal Logon Page
Reward points if handy!
Cheers,
Sandeep
Edited by: Sandeep Tudumu on Mar 26, 2008 7:41 PM -
Error while transporting the badi from dev to quality server
Dear Freinds
Iam getting the error " Method Execution 21.11.2007 11:55:03 (8) Ended with errors "
i expended the error (with return code as 8) and i found th below errors
Multiple active implementations for definition HRECM00_CALCBASE
Errors occurred during post-handling AFTER_IMP_SXCI for SXCI L
AFTER_IMP_SXCI belongs to package SECE --- what does this mean??
The errors affect the following components:
BC-DWB-CEX (Customer Enhancements)
What exactly this error iam not able to trace . Before releasing the object from the
development server i have see any error's are there the extended check hasnt given me any errors either.
The help for this error says that
"Procedure
Deactivate the implementations active for this BAdI definition one by one until not more collisions occur.
You should use transaction SE18 (Utilities -> Adjustment -> Multiple-use interfaces) to solve thes conflicts systematically."
i have did what sap has said ............. i can see that in the quality server a custom badi
of FI module has been in error. Will this be a reason for my badi ...which doesnt have any error..
any one have idea on this error pleae let me know.
regards
saymala r.hi Raju,
i tried after giving full access but again same error:-
please see the error log below:-
Start of the after-import method UJT_TLOGO_AFTER_IMPORT for object type(s) AAPS,AMBR ( )
Member formula expanded for imported master data
Start of data checker messages for Appset PETFAS
Possible Dead File/Dir:
Possible Dead File/Dir:
Possible Dead File/Dir:
Possible Dead File/Dir:
Error occurs when checking member formula use on other dimensions
No access to environment 'PETFAS'
No access to environment 'PETFAS'
No access to environment 'PETFAS'
No access to environment 'PETFAS'
No access to environment 'PETFAS'
No access to environment 'PETFAS'
No access to environment 'PETFAS'
No access to environment 'PETFAS'
No access to environment 'PETFAS'
No access to environment 'PETFAS'
No access to environment 'PETFAS'
InfoObject catalog /CPMB/PETFAS_CHAR is not available in version A
BPF: Error reading master data
No access to environment 'PETFAS'
End of data checker messages for Appset PETFAS
End of after import methode UJT_TLOGO_AFTER_IMPORT (Aktivierungsmodus) - runtime: 00:00:
Starting after import method UJT_TLOGO_AFTER_IMPORT for object type(s) AAPS,AMBR in dele
End of after import methode UJT_TLOGO_AFTER_IMPORT (Löschmodus) - runtime: 00:00:00
Errors occurred during post-handling UJT_AFTER_IMPORT for AAPS L
UJT_AFTER_IMPORT belongs to package UJT
The errors affect the following components:
EPM-BPC-NW-TRA (Transport)
any suggestion..
thanks,
Ambika -
'Screen does not exist' error after transported to Quality server.
I have a report program which is working fine in development server. It is transported to quality server and when executed it throws dump. There is a CALL SCREEN statement in the program and the dump shows screen 1001 does not exists. I checked the program on quality server and when i double clicked on the screen number, it tells screen 1001 does not exist and do you want to create??. I rechecked the program in Development server and confirmed everything is active and have been catched in the transport request. When I checked with the basis guy, he said there was a component conflict error with the request while transporting and he overrided it.
Please tel me what should I do to solve this issue. Its very urgent. Please help.
Thanks
JohanHi
You seem to have run into some trouble with transports. Did someone perhaps develop this report in the QA server?
I would suggest this:
In SE80. display your report. Then in the hierarchy on the left, right click on your report and select 'write transport entry' . This option will ask you to create a new transport for your report and all objects inside it. Take that transport to the QA server. It should include the entire report, including screens.
If you have trouble importing into the QA server, please provide the transport logs here. -
Custom HRP Infotype for e-Recruiting
I am trying to create a custom HRP infotype to be used in our e-Recruiting system. I want to be able to update the infotype using the SAP standard RH_INSERT_INFTY and like function calls. However my entry in table t777d won't let me change the Update type to anything other than blank (No update via personnel planning update task). I also am having issues which I am not sure if this stems from that problem or not but when I try to use the RH_INSERT_INFTY I get a short dump when it tries to do an insert with a vtask of D because the data doesn't appear to be mapped to the correct fields. My input table type is of type p9xxx and it seems to be mapped correctly until the last stage when it actually tries to insert the line into the table. Any suggestions for what might be wrong? I have checked to make sure that the p9xxx and hrp9xxx have the same structure and they appear to match correctly
You could search/post this question in the HR forum...
-
I am having issues creating a custom OM Infotype. I created my HRI9000 structure in SE11 and then went to transaction ppci to create the infotype when I follow the steps to do this the screens and table entries are not getting populated automatically. I couldn't find any documentation on how to get it to do it automatically so I decided to create the screens and table entries myself. Now however, if I go to po13 to add this infotype to a position when I hit the save button nothing is happening. Any help on fixing this issue or the original issue of why the entries are not creating by themselves would be greatly appreciated.
PS I saw a previous article from a few years ago on this same issue of the screens not getting created but it was never answered.
StephanieHi,
First delete the infotype from PPCI. Then click on Check and see if ALL the entries are deleted. You can delete the Table entries manually. If you are having trouble deleting the TADIR entries, follow these steps:
To delete the TADIR entries, Go to SE03 --> object Directory --> Change Object Directory Entries. Here Check all options and put the name of the corresponding TADIR entries that you want to delete in the right hand side boxes. Then execute.
After they are deleted one more time delete Infotype from PPCI. then when you check, all the TADIR entries should be non-existing.
Lastly delete the HRI9000 structure. Once all is deleted, create the Infotype from scratch. -
Dump is coming after Moving the request to Quality server.
Dear All,
Dump is coming in a ABAP code after moving the same to quality server.
Kindly refer the attached screenshot.
Kindly suggest.
Thanks and Regards
Jaisee the below code,
I have changed the value of l_age1 TYPE bsid-dmbtr to l_age1 TYPE p LENGTH 10 DECIMALS 2.
*& Report ZFIRDEBAGEING
* 1. Program Name:ZFIRDEBAGEING 2. Creation Dt:18/03/2013 *
* 3. Module Name :FI 4. Modified Dt:2/04/2013 *
* 5. Developer Name: Kallol Chakrabarty 6. Modified By: *
* 7.Background / Online :Online 8. Trans Code : ZCAGE *
* 9. Frequency : Regular *
* Request Number : - Created *
* Remarks : Customer Ageing Report *
REPORT zfirdebageing.
TYPE-POOLS : slis.
TABLES: bsid,bseg.
TYPES : BEGIN OF tt_bsid,
belnr TYPE belnr_d,
gjahr TYPE gjahr,
bukrs TYPE bukrs,
dmbtr TYPE dmbtr,
kunnr TYPE kunnr,
budat TYPE budat,
zfbdt TYPE dzfbdt,
zterm TYPE dzterm,
zbd1t TYPE dzbd1t,
shkzg TYPE shkzg,
END OF tt_bsid,
BEGIN OF tt_bseg,
belnr TYPE belnr_d,
gjahr TYPE gjahr,
bukrs TYPE bukrs,
werks TYPE werks_d,
prctr TYPE prctr,
segment TYPE fb_segment,
END OF tt_bseg,
BEGIN OF tt_faglseg,
langu TYPE spras,
segment TYPE fb_segment,
name TYPE text50,
END OF tt_faglseg,
BEGIN OF tt_cepct,
spras TYPE spras,
prctr TYPE prctr,
ltext TYPE ltext,
END OF tt_cepct,
BEGIN OF tt_final,
kunnr TYPE kunnr,
segment TYPE fb_segment,
name TYPE text50,
prctr TYPE prctr,
ltext TYPE ltext,
name1 TYPE name1_gp,
ort01 TYPE ort01_gp,
age1 TYPE dmbtr,
age2 TYPE dmbtr,
age3 TYPE dmbtr,
age4 TYPE dmbtr,
age5 TYPE dmbtr,
age6 TYPE dmbtr,
age7 TYPE dmbtr,
total TYPE dmbtr,
total1 TYPE dmbtr,
total2 TYPE dmbtr,
zfbdt TYPE dzfbdt,
zterm TYPE dzterm,
zbd1t TYPE dzbd1t,
budat TYPE budat,
END OF tt_final,
BEGIN OF tt_kna1,
kunnr TYPE kunnr,
name1 TYPE name1_gp,
ort01 TYPE ort01_gp,
END OF tt_kna1.
DATA : wa_bsid TYPE tt_bsid,
it_bsid TYPE TABLE OF tt_bsid,
wa_bseg TYPE tt_bseg,
it_bseg TYPE TABLE OF tt_bseg,
" wa_tmp1 TYPE tt_bseg, "Commented by ++KC 18.03.2013 after extended check
it_tmp1 TYPE TABLE OF tt_bseg,
wa_faglseg TYPE tt_faglseg,
it_faglseg TYPE TABLE OF tt_faglseg,
wa_cepct TYPE tt_cepct,
it_cepct TYPE TABLE OF tt_cepct,
it_tmp TYPE TABLE OF tt_bsid,
wa_final TYPE tt_final,
it_final TYPE TABLE OF tt_final,
wa_final1 TYPE tt_final,
it_final1 TYPE TABLE OF tt_final,
wa_kna1 TYPE tt_kna1,
it_kna1 TYPE TABLE OF tt_kna1.
*& ALV Data Declaration *
DATA: it_fieldcat TYPE slis_t_fieldcat_alv,
wa_fieldcat TYPE slis_fieldcat_alv,
is_layout TYPE slis_layout_alv,
wa_event TYPE slis_alv_event,
it_event TYPE slis_t_event.
SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS : s_kunnr FOR bsid-kunnr.
PARAMETERS : p_bukrs TYPE bseg-bukrs OBLIGATORY,
p_dateon TYPE bsid-budat DEFAULT sy-datum OBLIGATORY.
SELECTION-SCREEN : END OF BLOCK b1.
SELECTION-SCREEN: BEGIN OF BLOCK b2 WITH FRAME TITLE text-003.
SELECT-OPTIONS : s_werks FOR bseg-werks,
s_sgmnt FOR bseg-segment,
s_prctr FOR bseg-prctr.
SELECT-OPTIONS : s_umskz FOR bsid-umskz.
SELECTION-SCREEN : END OF BLOCK b2.
DATA: v_days TYPE string,
v_date1 TYPE bsid-budat,
v_date2 TYPE bsid-budat,
v_date3 TYPE bsid-budat,
v_date4 TYPE bsik-budat,
v_date5 TYPE bsik-budat,
v_date6 TYPE bsik-budat,
v_date7 TYPE bsik-budat,
* l_age1 TYPE bsid-budat,
* l_age2 TYPE bsid-dmbtr,
* l_age3 TYPE bsid-dmbtr,
* l_age4 TYPE bsid-dmbtr,
* l_age5 TYPE bsid-dmbtr,
* l_age6 TYPE bsid-dmbtr,
* l_age7 TYPE bsid-dmbtr,
l_age1 TYPE p LENGTH 10 DECIMALS 2,
l_age2 TYPE p LENGTH 10 DECIMALS 2,
l_age3 TYPE p LENGTH 10 DECIMALS 2,
l_age4 TYPE p LENGTH 10 DECIMALS 2,
l_age5 TYPE p LENGTH 10 DECIMALS 2,
l_age6 TYPE p LENGTH 10 DECIMALS 2,
l_age7 TYPE p LENGTH 10 DECIMALS 2.
CONSTANTS : v_age1(4) TYPE c VALUE 15 ,
v_age2(4) TYPE c VALUE 30,
v_age3(4) TYPE c VALUE 45,
v_age4(4) TYPE c VALUE 90,
v_age5(4) TYPE c VALUE 180,
v_age6(4) TYPE c VALUE 360,
v_age7(4) TYPE c VALUE 360.
INITIALIZATION.
sy-title = 'CUSTOMER AGEING'.
*--------------- S-T-A-R-T O-F S-E-L-E-C-T-I-O-N ----------------------*
START-OF-SELECTION.
PERFORM get_data.
PERFORM process_data.
PERFORM alv_display.
*& Form GET_DATA
* text
* --> p1 text
* <-- p2 text
FORM get_data .
SELECT belnr
gjahr
bukrs
dmbtr
kunnr
budat
zfbdt
zterm
zbd1t
shkzg
FROM bsid INTO TABLE it_bsid
WHERE kunnr IN s_kunnr
AND bukrs = p_bukrs
* AND zfbdt <= p_dateon
AND budat <= p_dateon
AND umskz IN s_umskz.
SELECT belnr
gjahr
bukrs
dmbtr
kunnr
budat
zfbdt
zterm
zbd1t
shkzg
FROM bsad APPENDING CORRESPONDING FIELDS OF TABLE it_bsid
WHERE kunnr IN s_kunnr
AND bukrs = p_bukrs
AND augdt > p_dateon
AND umskz IN s_umskz.
IF it_bsid[] IS NOT INITIAL.
it_tmp[] = it_bsid[].
DELETE ADJACENT DUPLICATES FROM it_tmp COMPARING kunnr.
SELECT kunnr
name1
ort01 FROM kna1 INTO TABLE it_kna1
FOR ALL ENTRIES IN it_tmp
WHERE kunnr = it_tmp-kunnr.
SELECT belnr
gjahr
bukrs
werks
prctr
segment
FROM bseg INTO TABLE it_bseg
FOR ALL ENTRIES IN it_bsid
WHERE belnr = it_bsid-belnr
AND gjahr = it_bsid-gjahr
AND werks IN s_werks
AND prctr IN s_prctr
AND segment IN s_sgmnt
AND umskz IN s_umskz.
IF it_bseg[] IS NOT INITIAL.
it_tmp1[] = it_bseg[].
SORT it_tmp1 BY segment.
DELETE ADJACENT DUPLICATES FROM it_tmp1 COMPARING segment.
SELECT langu
segment
name
FROM fagl_segmt INTO TABLE it_faglseg
FOR ALL ENTRIES IN it_tmp1
WHERE langu = 'EN'
AND segment = it_tmp1-segment.
REFRESH it_tmp1.
it_tmp1[] = it_bseg[].
SORT it_tmp1 BY prctr.
DELETE ADJACENT DUPLICATES FROM it_tmp1 COMPARING prctr.
SELECT spras
prctr
ltext
FROM cepct INTO TABLE it_cepct
FOR ALL ENTRIES IN it_tmp1
WHERE spras = 'EN'
AND prctr = it_tmp1-prctr.
ENDIF.
ENDIF.
ENDFORM. " GET_DATA
*& Form PROCESS_DATA
* text
* --> p1 text
* <-- p2 text
FORM process_data .
v_date1 = p_dateon - v_age1. " 15 days " Cnanges made by Jaiprakash
v_date2 = p_dateon - v_age2. " 30 days " Cnanges made by Jaiprakash
v_date3 = p_dateon - v_age3. " 45 days " Cnanges made by Jaiprakash
v_date4 = p_dateon - v_age4. " 90 days " Cnanges made by Jaiprakash
v_date5 = p_dateon - v_age5. " 180 days " Cnanges made by Jaiprakash
v_date6 = p_dateon - v_age6. " 360 days " Cnanges made by Jaiprakash
v_date7 = p_dateon - v_age7. " 360 days " Changes made by Jaiprakash
IF NOT it_bseg IS INITIAL.
* DELETE it_bseg FROM wa_bseg WHERE segment = ''.
DATA: lv_add TYPE i.
DATA: lv_date TYPE sy-datum.
LOOP AT it_bsid INTO wa_bsid.
wa_final-zterm = wa_bsid-zterm.
wa_final-zbd1t = wa_bsid-zbd1t.
CLEAR wa_bseg.
READ TABLE it_bseg INTO wa_bseg WITH KEY belnr = wa_bsid-belnr.
IF sy-subrc EQ 0.
wa_final-segment = wa_bseg-segment.
wa_final-prctr = wa_bseg-prctr.
IF wa_bsid-shkzg = 'H'.
wa_bsid-dmbtr = -1 * wa_bsid-dmbtr.
ENDIF.
CLEAR wa_faglseg.
READ TABLE it_faglseg INTO wa_faglseg WITH KEY segment = wa_final-segment.
IF sy-subrc EQ 0.
wa_final-name = wa_faglseg-name.
ENDIF.
CLEAR wa_cepct.
READ TABLE it_cepct INTO wa_cepct WITH KEY prctr = wa_final-prctr.
IF sy-subrc EQ 0.
wa_final-ltext = wa_cepct-ltext.
ENDIF.
* Calculation for the age buckets of <15, <30, <45, <90, <180 , <360 and >360 days
* IF wa_bsid-zfbdt <= p_dateon AND wa_bsid-zfbdt > v_date1.
* l_age1 = wa_bsid-dmbtr + l_age1.
* ELSEIF wa_bsid-zfbdt <= v_date1 AND wa_bsid-zfbdt > v_date2.
* l_age2 = wa_bsid-dmbtr + l_age2.
* ELSEIF wa_bsid-zfbdt <= v_date2 AND wa_bsid-zfbdt > v_date3.
* l_age3 = wa_bsid-dmbtr + l_age3.
* ELSEIF wa_bsid-zfbdt <= v_date3 AND wa_bsid-zfbdt > v_date4.
* l_age4 = wa_bsid-dmbtr + l_age4.
* ELSEIF wa_bsid-zfbdt <= v_date4 AND wa_bsid-zfbdt > v_date5.
* l_age5 = wa_bsid-dmbtr + l_age5.
* ELSEIF wa_bsid-zfbdt <= v_date5 AND wa_bsid-zfbdt > v_date6.
* l_age6 = wa_bsid-dmbtr + l_age6.
* ELSEIF wa_bsid-zfbdt <= v_date7.
* l_age7 = wa_bsid-dmbtr + l_age7.
* ENDIF.
IF wa_bsid-zfbdt <= p_dateon AND wa_bsid-zfbdt > v_date1.
l_age1 = wa_bsid-dmbtr + l_age1.
ELSEIF wa_bsid-zfbdt <= v_date1 AND wa_bsid-zfbdt > v_date2.
l_age2 = wa_bsid-dmbtr + l_age2.
ELSEIF wa_bsid-zfbdt <= v_date2 AND wa_bsid-zfbdt > v_date3.
l_age3 = wa_bsid-dmbtr + l_age3.
ELSEIF wa_bsid-zfbdt <= v_date3 AND wa_bsid-zfbdt > v_date4.
l_age4 = wa_bsid-dmbtr + l_age4.
ELSEIF wa_bsid-zfbdt <= v_date4 AND wa_bsid-zfbdt > v_date5.
l_age5 = wa_bsid-dmbtr + l_age5.
ELSEIF wa_bsid-zfbdt <= v_date5 AND wa_bsid-zfbdt > v_date6.
l_age6 = wa_bsid-dmbtr + l_age6.
ELSEIF wa_bsid-zfbdt <= v_date7.
l_age7 = wa_bsid-dmbtr + l_age7.
ENDIF.
wa_final-kunnr = wa_bsid-kunnr.
CLEAR wa_kna1.
READ TABLE it_kna1 INTO wa_kna1 WITH KEY kunnr = wa_bsid-kunnr.
IF sy-subrc EQ 0.
wa_final-name1 = wa_kna1-name1.
wa_final-ort01 = wa_kna1-ort01.
ENDIF.
lv_add = wa_final-zbd1t.
* lv_add = wa_final-zbd1t.
CLEAR:lv_date.
CALL FUNCTION 'FKK_ADD_WORKINGDAY'
EXPORTING
i_date = wa_final-budat
i_days = lv_add
* I_CALENDAR1 =
* I_CALENDAR2 =
IMPORTING
e_date = lv_date
* E_RETURN =
wa_final-age1 = l_age1.
wa_final-age2 = l_age2.
wa_final-age3 = l_age3.
wa_final-age4 = l_age4.
wa_final-age5 = l_age5.
wa_final-age6 = l_age6.
wa_final-age7 = l_age7.
wa_final-total = wa_final-age1 + wa_final-age2 + wa_final-age3 + wa_final-age4 + wa_final-age5 + wa_final-age6 + wa_final-age7.
* wa_final-age1 = l_age1.
* wa_final-age2 = l_age2.
* wa_final-age3 = l_age3.
* wa_final-age4 = l_age4.
* wa_final-age5 = l_age5.
* wa_final-age6 = l_age6.
* wa_final-age7 = l_age7.
* wa_final-total1 = wa_final-age1 + wa_final-age2 + wa_final-age3 + wa_final-age4 + wa_final-age5 + wa_final-age6 + wa_final-age7.
* wa_final-age1 = l_age1.
* wa_final-age2 = l_age2.
* wa_final-age3 = l_age3.
* wa_final-age4 = l_age4.
* wa_final-age5 = l_age5.
* wa_final-age6 = l_age6.
* wa_final-age7 = l_age7.
* wa_final-total1 = wa_final-age1 + wa_final-age2 + wa_final-age3 + wa_final-age4 + wa_final-age5 + wa_final-age6 + wa_final-age7.
IF p_dateon GT lv_date.
wa_final-age1 = l_age1.
wa_final-age2 = l_age2.
wa_final-age3 = l_age3.
wa_final-age4 = l_age4.
wa_final-age5 = l_age5.
wa_final-age6 = l_age6.
wa_final-age7 = l_age7.
wa_final-total1 = wa_final-age1 + wa_final-age2 + wa_final-age3 + wa_final-age4 + wa_final-age5 + wa_final-age6 + wa_final-age7.
ELSE.
wa_final-age1 = l_age1.
wa_final-age2 = l_age2.
wa_final-age3 = l_age3.
wa_final-age4 = l_age4.
wa_final-age5 = l_age5.
wa_final-age6 = l_age6.
wa_final-age7 = l_age7.
wa_final-total2 = wa_final-age1 + wa_final-age2 + wa_final-age3 + wa_final-age4 + wa_final-age5 + wa_final-age6 + wa_final-age7.
ENDIF.
APPEND wa_final TO it_final.
CLEAR: wa_final,l_age1,l_age2,l_age3,l_age4,l_age5,l_age6,l_age7.
ENDIF.
ENDLOOP.
ENDIF.
IF it_final IS NOT INITIAL.
SORT it_final BY kunnr segment.
LOOP AT it_final INTO wa_final.
MOVE wa_final TO wa_final1.
wa_final1-prctr = ''.
wa_final1-ltext = ''.
wa_final1-segment = ''.
wa_final1-name = ''.
wa_final1-zterm = ''.
AT END OF name1.
SUM.
wa_final1-total = wa_final-total.
wa_final1-total1 = wa_final-total1.
wa_final1-total2 = wa_final-total2.
wa_final1-age1 = wa_final-age1.
wa_final1-age2 = wa_final-age2.
wa_final1-age3 = wa_final-age3.
wa_final1-age4 = wa_final-age4.
wa_final1-age5 = wa_final-age5.
wa_final1-age6 = wa_final-age6.
wa_final1-age7 = wa_final-age7.
COLLECT wa_final1 INTO it_final1.
CLEAR wa_final1.
ENDAT.
ENDLOOP.
ENDIF.
ENDFORM. " PROCESS_DATA
**& Form ALV_DISPLAY
** text
** --> p1 text
** <-- p2 text
FORM alv_display .
DATA : v_col TYPE i VALUE 1.
CLEAR wa_fieldcat.
v_col = v_col + 1.
wa_fieldcat-col_pos = v_col.
wa_fieldcat-seltext_m = 'Customer Code'.
wa_fieldcat-fieldname = 'KUNNR'.
wa_fieldcat-tabname = text-002.
wa_fieldcat-key = 'X'.
wa_fieldcat-outputlen = 14.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-col_pos = v_col.
wa_fieldcat-seltext_m = 'Customer Name'.
wa_fieldcat-fieldname = 'NAME1'.
wa_fieldcat-tabname = text-002.
wa_fieldcat-key = 'X'.
wa_fieldcat-outputlen = 14.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
v_col = v_col + 1.
wa_fieldcat-col_pos = v_col.
wa_fieldcat-seltext_m = 'City'.
wa_fieldcat-fieldname = 'ORT01'.
wa_fieldcat-tabname = text-002.
wa_fieldcat-key = 'X'.
wa_fieldcat-outputlen = 35.
APPEND wa_fieldcat TO it_fieldcat.
*** CLEAR wa_fieldcat.
*** v_col = v_col + 1.
*** wa_fieldcat-col_pos = v_col.
*** wa_fieldcat-seltext_m = 'Payment Term'.
*** wa_fieldcat-fieldname = 'ZTERM'.
*** wa_fieldcat-tabname = text-002.
*** wa_fieldcat-key = 'X'.
*** wa_fieldcat-outputlen = 14.
*** APPEND wa_fieldcat TO it_fieldcat.
* CLEAR wa_fieldcat.
* v_col = v_col + 1.
* wa_fieldcat-col_pos = v_col.
* wa_fieldcat-seltext_m = 'No. Of Days'.
* wa_fieldcat-fieldname = 'ZBD1T'.
* wa_fieldcat-tabname = text-002.
* wa_fieldcat-key = 'X'.
* wa_fieldcat-outputlen = 14.
* APPEND wa_fieldcat TO it_fieldcat.
* CLEAR wa_fieldcat.
* v_col = v_col + 1.
* wa_fieldcat-col_pos = v_col.
* wa_fieldcat-seltext_m = 'Baseline Date'.
* wa_fieldcat-fieldname = 'ZFBDT'.
* wa_fieldcat-tabname = text-002.
* wa_fieldcat-key = '
Maybe you are looking for
-
How to load a java class at server start-up
Hi, I have one custome java class that is being referenced by all the applications deployed in OC4J container. How can I load that class automatically and be evailable in the path at server start-up time. Is there an option available to give the clas
-
Can't sync iPhone/iPod to iTunes after update?
After the latest iTunes update and I am not clear on how to sync my iPhone or iPod to iTunes. When I plug either of them in they charge but do not start up in iTunes at all. I have automatic syncing turned on but nothing happens. In the previous vers
-
Custom field in BP_PDBGP table not getting updated
Hi, i am working in Contract management in SRM 7.0 Pack 6. I have aadded a custom field in partner table which appears in the partner table of contract header. It is a checkbox. when i check it the value gets saved in BBPPDBGP table for the first tim
-
Lumia 520 music player gets stopped with headphone...
Hi folks I have a problem with my nokia lumia 520. When I am playing music with my headphones the music gets paused. It has been happening for the last week. It works fine on speakers but not with headphones. I have tried several headphones, did a so
-
Alternative for "FND FLEXSQL" in PLSQL
Hi All I have a requirement to created a PLSQL based report for GL data, with range of GL CC as parameter. This could be achived in Oracle reports through user exit FND FLEXSQL. But is there an alternative for FLEXSQL to be used in PLSQL. I came acro