PLA and J2iun
Hi ,
We are working for Service provider Industry and where we need to pay payable Service tax using available Credit of Cenvats and Services taxes.
I have a query regarding J2iun execution in this case .....
If I opted for second radio button option (Pay Service Tax from Cenvats) available at the lower part of j2iun Tocde , system doesn't show PLA balances line ...... as it does if I select first radio button option (Pay Cenvat from Service tax).
As per my understanding , law says , you can't use PLA balances to pay Service tax liability to excise departments and that;s why SAP has not provided the option to Offet Service tax payable using PLA.
But if this is the case then .....
How should I go , if i dont have sufficient balances available in CENVAT / Service tax to Settel Payable Service TAX and I wanted to pay additional amount thru TR6 challan.
Do I need to go for a FI JV ?
Regards
Shrey
Hi
ref the link
PLA PAYMENT
and blw is the J2IUN procedure..
J2IUN u2013 Monthly Utilization
In the selection screen, put following details
Under u201CGeneral Datau201D Tab
u2022 Company Code u2013 6100
u2022 Plant u2013 6105
u2022 Excise Group u2013 05
u2022 ADC Subtransaction Type u2013 IP i.e. SUBTRANSACTION TYPE FOR IMPORTS - ADC
Under u201CExcise Invoice Selectionu201D Tab
u2022 Period -
Under u201CPosting Datau201D Tab
u2022 Business Area u2013 u201CA1u201D
u2022 Fortnightly Payment Posting Date -
Under u201CCross utilization b/w Service tax and CENVATu201D Tab
u2022 Service tax credit account -
u2022 ECESS on ser tax account -
u2022 SECess on ser tax account -
After putting all the necessary Selection Details, Press u201CExecuteu201D button
In the output Screen, select the line of Excise Duty like; BED, ECS and SECess one by one and click on u201CSelect Dutyu201D button to views the relevant Accounts for Excise duties;
Now put the duty amount to be utilized against the u201CACCOUNT NAMEu201D from which you want to utilize.
Same procedure is to be repeated for ECS and SECess also.
Now click on u201CSimulateu201D button to verify the Accounting Entries of Monthly Utilization
System generates FI Entry during Monthly Utilization
CENVAT Payable for BED, ECS & SECess - Dr
CENVAT Receivable for BED, ECS & SECess - Cr
Now u201CSaveu201D the Utilization Document.
After posting the document, system will generate a message as below
Part 2 post and accounting document XXXXXX generated.
Similar Messages
-
CIN - Difference in Balance shown by J2I9 and J2IUN
We are to utilize duties by j2iun for month of April 2010. But the balance shown are much less than the balances shown in J2I9. J2I9 balances tally with the GL banalces. Kinldy help me resolve this issue.
thanks
GurjitDear Rick,
Thanks for your suggestion.
I want to pick the agents during the run time.If I specify like object-agent = 'JSMITH',I suppose only the agent who has the name JSMITH will be selected.Please correct me whether I am wrong.
My RFC destination is configured with WF-BATCH1 user and WF-BATCH user.Whether this could be causing problems?
Thanks and regards,
S.Suresh -
No of physical reads of buffers from disk on PROD and Clone has huge differ
Please help !
I am having a problem interpreting a tkprof report.
I am executing the same statement below in PROD and Clone of PROD.
What I do not understand why the tkprof report shows huge difference in disk reads for same executions from PROD and Clone of PROD. I.e. first execution disk reads = 757187 , second = 6.
I expected to see Similar disk reads in the second execution also.The data it fetches is same in both the Instances.
Statment
SELECT NVL(SUM(RG_OTH.DEBIT),0),NVL(SUM(RG_OTH.CREDIT),0)
FROM
JA_IN_PLA PLA,JAI_RG_OTHERS RG_OTH,HR_ALL_ORGANIZATION_UNITS HOU,
HR_LOCATIONS LOC,JA_IN_HR_ORGANIZATION_UNITS HR_ORG WHERE 1 = 1 AND
PLA.ORGANIZATION_ID = :b1 AND TRUNC(PLA.CREATION_DATE) >= :b2 AND
TRUNC(PLA.CREATION_DATE) <= :b3 AND HOU.ORGANIZATION_ID =
PLA.ORGANIZATION_ID AND LOC.LOCATION_ID = PLA.LOCATION_ID AND
HR_ORG.ORGANIZATION_ID = PLA.ORGANIZATION_ID AND HR_ORG.LOCATION_ID =
PLA.LOCATION_ID AND TRANSACTION_ID = 19 AND INVENTORY_ITEM_ID != 0 AND
NVL(ROUNDING_ID,1) != -1 AND RG_OTH.SOURCE_REGISTER_ID = PLA.REGISTER_ID
AND RG_OTH.SOURCE_REGISTER = 'PLA' AND RG_OTH.TAX_TYPE IN (
'EXCISE_EDUCATION_CESS' )
Tkproff from PROD.
call count cpu elapsed disk query current rows
Parse 1 0.01 0.01 0 0 0 0
Execute 1 0.04 0.03 0 0 0 0
Fetch 1 973.41 1724.95 757187 789442 0 1
total 3 973.46 1725.01 757187 789442 0 1
Tkproff from CLONE of PROD.
call count cpu elapsed disk query current rows
Parse 1 0.06 0.05 1 789 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 0.73 0.72 6 30594 0 1
total 3 0.79 0.78 7 31383 0 1wins wrote:
SELECT NVL(SUM(RG_OTH.DEBIT),0),NVL(SUM(RG_OTH.CREDIT),0)
FROM
JA_IN_PLA PLA,JAI_RG_OTHERS RG_OTH,HR_ALL_ORGANIZATION_UNITS HOU,
HR_LOCATIONS LOC,JA_IN_HR_ORGANIZATION_UNITS HR_ORG WHERE 1 = 1 AND
PLA.ORGANIZATION_ID = :b1 AND TRUNC(PLA.CREATION_DATE) >= :b2 AND
TRUNC(PLA.CREATION_DATE) <= :b3 AND HOU.ORGANIZATION_ID =
PLA.ORGANIZATION_ID AND LOC.LOCATION_ID = PLA.LOCATION_ID AND
HR_ORG.ORGANIZATION_ID = PLA.ORGANIZATION_ID AND HR_ORG.LOCATION_ID =
PLA.LOCATION_ID AND TRANSACTION_ID = 19 AND INVENTORY_ITEM_ID != 0 AND
NVL(ROUNDING_ID,1) != -1 AND RG_OTH.SOURCE_REGISTER_ID = PLA.REGISTER_ID
AND RG_OTH.SOURCE_REGISTER = 'PLA' AND RG_OTH.TAX_TYPE IN (
'EXCISE_EDUCATION_CESS' )
Tkproff from PROD.
call count cpu elapsed disk query current rows
Parse 1 0.01 0.01 0 0 0 0
Execute 1 0.04 0.03 0 0 0 0
Fetch 1 973.41 1724.95 757187 789442 0 1
total 3 973.46 1725.01 757187 789442 0 1
Tkproff from CLONE of PROD.
call count cpu elapsed disk query current rows
Parse 1 0.06 0.05 1 789 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 0.73 0.72 6 30594 0 1
total 3 0.79 0.78 7 31383 0 1
As others have pointed out, this looks like a change in execution plan. At a guess, the PROD database is doing a tablescan somewhere (physical reads is approximately equal to logical reads is a pointer).
There are many reasons why this could happen, continuing with the guesswork - we note that the statement was re-optimised (hard parsed) in the clone, but used an existing cursor in production (logical I/O = 0 in prod, 789 in clone). So the plan you got in the clone was the one that Oracle thought best for the inputs you had supplied. The plan in prod could have been produced as the response to a completely different set of input; since you have two bind variables applied to a range based predicated and one bind variable with equality it's possible that you have a histogram that makes a difference on the equality column, alternatively the range of dates used to generate the original plan was very different from the range used in the test.
Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com
Author: <b><em>Oracle Core</em></b> -
Monthly Excise Duty Debit process
Can anybody explain the process to debit monthly excise duty from PLA and RG23A part II/RG23C part II.
As per my knowledge process is that :
Select J1IH - other adjustment- pop up comes and put data as per pop up- select RG23A/C/PLA any one at the time one then enter go to next page then select header and put duty amount at BED enter - select G/L account and save - excise JV created and account no generated with sr no.
Similarly follow same procedrue for debiting from PLA.
is it correct procedure or any other process in the system ?
please help me. This is most urgent.First you will have to update all your registers i.e RG1,RG23A& RG23C part I. using transaction J1I5,
Then use the J2I5 extract registers to update the value in RG23A & RG23C part II
J2IUN transaction for monthly utilization.
U will see excise payable against which you will see bakances in different registers you can select the register from which you have to utilize the exice duty.
I think you can now utilize the credit taken.
Reward If useful.
Regards -
Hi Experts
can any body send the answers bellow this questions?
CIN Questions
What is excise duty?
What is excise group?
Which business processes are covered under CIN?
Which t-code display CIN menu?
What master data set up is required before CIN customization can take effect?
How many types of registers are there to be maintained in CIN?
How does system know that which register to update during GR?
How the CIN registers are updated?
What do you mean by extraction and printing of Registers?
What is the difference between the tax procedure TAXINJ and TAXINN?
How does system know that which condition types in tax procedure and import pricing procedure are CIN relevant?
How does system differentiate between deductible excise duty and non-deductible excise duty?
What are the purpose of condition types NAVS, JEXS and JEXC in pricing procedure?
What is the purpose of subtotal 5 & 6 in the pricing procedure?
What setting do we need to do so tax code can work during creation of purchase order and sales order?
What are the excise transaction types (ETT)?
What is sub-transaction type?
Which settings determine that during MIGO transaction, excise invoice can be captured (posting of part I entry) or Pos
What CIN settings are required if we have to do STO between two manufacturing plants or between manufacturing an
Why should a STO (stock transport order) have pricing procedure?
Explain domestic procurement at manufacturing unit?
Explain domestic and import procurement at depot plant?
What needs to be done if the Excise Invoice quantity is not equal to GR quantity?
Is the depot plant process applicable to all the industry sectors?
Explain import procurement at manufacturing unit?
Explain STO process from manufacturing unit to Depot Plant
What is the functionality of the rejection code/reason code?
Specify which movement types involve either excise invoices or part 1 entry of register or both
In the subcontracting attributes (CIN IMG) what is the difference between Movement Type Group Issues and Moveme
What are two different possible scenarios for subcontracting process?
How is the recursive BoM scenario (the parent and the child material being the same) handled in subcontracting?
For which of the movements will I run the Quantity Reconciliation for the subcontracting Challan?
How do I delete challans assigned to the Goods Receipts document?
How will you handle sales return from customer?
How will you handle vendor return and GR cancellation?
How does system determine accounts to be posted for CIN registers?
How does fortnightly utilization determine the accounts to be posted?
What is transaction type u2018UTLZu2019 used for?
What will be the accounting entry during GR of raw material, Excise invoice posting and subsequent LIV of material?
What should be accounting entry in subcontracting reversal / Recredit?
What will be the accounting entry during GR of capital material, Excise invoice posting and subsequent LIV of materia
How does the credit of the amount taken which has gone to Cenvat ON Hold account?
Under what circumstances we may need to transfer the credit amount (against a specific invoice) from Cenvat ON Ho
How the accounts are determined when capital goods are procured?
What will be the accounting entry during scrapping of excisable goods?
What will be accounting entry when the materials are stock transferred from manufacturing unit to depot plant?
What will be the accounting entry for sales excise invoice?
What will be accounting entry during PLA entry and utilization?
What is utilization? How do we execute it in CIN?
How do we take utilization against service tax receivable and payable?
What are PLA and TR6C Challan?
What are the number range objects for which number range should be defined?
What is export under bond?
Edited by: madhusap01 on Dec 22, 2011 12:04 PM
Moderator: Why only 30 questions? You should have posted at least 300; otherwise, no answer can be givenWe don't unlock phones here. If your phone came from another carrier and you need it unlocked to work on yours, you can do a search on the internet for people who will unlock your phone.
If you've used up all your attempts to unlock your MEP code, only BlackBerry can help you (we're not BlackBerry employees, we're users like you who volunteer to help out). You'll need to contact your carrier to get access to BlackBerry to perform this function.
And finally, please edit your post and remove your PIN number. Posting it in these forums is not permitted.
Cheers.
- If my response has helped you, please click "Options" beside my post and mark it as solved. Clicking the "thumbs up" icon near the bottom of my response would also be appreciated. -
Help! Cannot browse mp3s by folder after upgrade to OS 4.5.0.110
Help!
After upgrading from (maybe) OS 4.1 to (definitely) OS 4.5, I now have a new media player that, um, I can no longer find my files with. Previously I would download various podcasts onto my phone and put them in the folder music\lectures. Then I would go into my media plaer and open music, then lectures, then find my files.
Now though, I have go into music, and I have to pick how whether to browse by artist, genre, title, etc. All of these key off the metadata in the mp3 though, and I don't always know what the metadata is. In some cases I just can't find my files at all.
Is there an alternate music player that would let me use a simpler (and functional) interface? Is there a way to hack the current one?
I am totally frustrated.Help!
After upgrading from (maybe) OS 4.1 to (definitely) OS 4.5, I now have a new media player that, um, I can no longer find my files with. Previously I would download various podcasts onto my phone and put them in the folder music\lectures. Then I would go into my media plaer and open music, then lectures, then find my files.
Now though, I have go into music, and I have to pick how whether to browse by artist, genre, title, etc. All of these key off the metadata in the mp3 though, and I don't always know what the metadata is. In some cases I just can't find my files at all.
Is there an alternate music player that would let me use a simpler (and functional) interface? Is there a way to hack the current one?
I am totally frustrated. -
How to get the workcentres used in the routing out of 2 alternate routings
Dear All,
I would like to know how to get the workcentres used in the routing out of 2 alternate routings.
I referred PLKO got the Task List Type (PLNTY), Group(PLNNR), Group Counter(PLNAL), Plant(werks).
I passed this in to PLPO, The problem in PLPO is we dont have the distinguishing field Group Counter(PLNAL), so I am getting all the ARBID including both alternates.
How to get the ARBID with respect to Groupcounter 1 alone.
If a get the ARBID , I can get the ARBPL from CRHD.HI,
Use PLAS Table also. you have to use PLKO> PLAS> PLPO.
Pass PLNNR & PLNAL in PLAS and get PLNNR & PLNKN.
Then pass these into PLPO.
work centers from CRHD
Regards,
Krishna Mohan
Edited by: Krishna Mohan N on Jan 31, 2008 12:28 PM -
Urgent: Add field in generic data source
Hi,
Could anyone please help me out in resolving the issue to add field from different table in generic datasource.
How can I add it in R/3 data source when a function module was created in ABAP to generate fields from PLPO table?
Whatz the changes has to be done at BW side to map the added field?
<u>Requirement</u>
1) Need one more field in the extractor. Field name is PLAS-LOEKZ. Initially client wanted me to add PLPO-LOEKZ which I added, now he needs the same fields from both the table (PLAS and PLPO).
2)The name of the extractor/structure is ZBW_ROUTINGS_OPERATION
3)Now, we need to add this field (LOEKZ from PLAS) in the function module as well. FM name is: Z_BW_ROUTE_OPERATION_EXTRACTOR. This will be in a SELECT query. We need to add this field in the SELECT statement.
Testing will be done in following steps
1) Go to Transaction RSA3.
2) Enter the data source Z_BW_OPERATION_ATTR(not sure about the name though, but it should end with OPERATION_ATTR)
3) Enter the following details:
EXTTY I
PLNNR 50000032
PLNTY N
4) Now execute (F8) the transaction.
5) Click on Display List
6) In the output, we should be able to see these 2 columns(PLAS-LOEKZ) and (PLPO-LOEKZ)
Please send your valuable suggestions to resolve the issue ASAP as its damn urgent.Hi,
Here is an overview of the solution -
Use T.Code SE11> ZBW_ROUTINGS_OPERATION. Add your new field (PLAS-LOEKZ) to this table, check, save, activate. Edit your function module, SE37> Z_BW_ROUTE_OPERATION_EXTRACTOR and add your code to look up the correct value of this field LOEKZ from the table PLAS, check, save, activate. (Note that SAP provides a sample function module you can use as a template and customize for your requirements. This sample function module is RSAX_BIW_GET_DATA_SIMPLE.)
Your Generic DataSource Z_BW_OPERATION_ATTR is already created, you dont have to change any settings here. Just regenerate it in RSO2. Now test the extraction for the DataSource in RSA3.
Hope this helps
Sandeep -
Update: Purchase order text
Hi
We would like to use the current long text of a material and update the purchase order text programatically with the same data.
How can i create the P.O. text without using BDC updates?What text do you want to load ( I mean header text or item text )
see the example to save text
report ZMPPC016
no standard page heading
line-size 120.
Constants
constants : c_r type c value 'R', " PLNTY Value
C_X TYPE C VALUE 'X', " Value for dynbegin.
c_tcode like tstc-tcode value 'CA22', " Transaction code
c_mode(1) type c value 'A', " BDC Mode
c_tdformat type tline-tdformat value '*',"Tag column
c_tdid type thead-tdid value 'PLPO', " Text ID
c_tdform type thead-tdform value 'SYSTEM'." Form name
Variables
data : v_date like sy-datum, " date
v_date1(4) type c,
v_date2(2) type c,
v_date3(2) type c,
TNAME LIKE THEAD-TDNAME,
v_mandt(3) type c,
v_matnr(18) type c,
flag type c.
Internal table for file
data : begin of t_file occurs 0,
matnr(18) type c, " Material Number
werks(4) type c, " Plant
vornr(4) type c, " Operation Number
tseq(3) type n, " Line number in the long text
text1(70) type c, " Long text
plnal(2) type n, " Group counter
end of t_file.
data : begin of t_text occurs 0,
matnr(18) type c, " Material Number
werks(4) type c, " Plant
plnal(2) type n, " Group counter
vornr(4) type c, " Operation Number
tseq(3) type n, " Line number in the long text
text1(70) type c, " Long text
end of t_text.
Internal table for MAPl
data : begin of t_mapl occurs 0,
plnnr like mapl-plnnr,
end of t_mapl.
Internal Table for PLAS and PLPO Table
data : begin of t_plpo occurs 0,
mandt like plpo-mandt,
plnty like plpo-plnty,
plnnr like plpo-plnnr,
plnkn like plpo-plnkn,
zaehl like plpo-zaehl,
end of t_plpo.
data t_long like tline occurs 0 with header line.
Work area for t_text Internal table
data : wa_text like t_text.
data: t_header like thead. " long text
Internal table for BDCDATA Structure
data : begin of itab_bdc_tab occurs 0.
include structure bdcdata.
data : end of itab_bdc_tab.
Selection-screen
selection-screen : begin of block blk with frame .
parameter : P_file like rlgrap-filename obligatory.
selection-screen : end of block blk.
initialization.
p_file = 'C:\My Documents\InputFile.txt'.
at selection-screen on value-request for p_file.
F4 value for file
perform file_get.
start-of-selection.
Get file data into Internal Table.
perform get_data.
sort t_text by matnr werks vornr plnal tseq.
Save the long text into CA22 Transaction
perform load_data.
top-of-page.
CALL FUNCTION 'Z_HEADER'
EXPORTING
FLEX_TEXT1 =
FLEX_TEXT2 =
FLEX_TEXT3 =
skip 1.
*& Form file_get
F4 Value for file
FORM file_get.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
DEF_PATH = 'C:\Temp\'
MASK = ',.,..'
MODE = 'O'
TITLE = 'Select File'(007)
IMPORTING
FILENAME = P_file
EXCEPTIONS
INV_WINSYS = 1
NO_BATCH = 2
SELECTION_CANCEL = 3
SELECTION_ERROR = 4
OTHERS = 5.
ENDFORM. " file_get
*& Form get_data
Get file data into Internal Table.
FORM get_data.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
FILENAME = p_file
FILETYPE = 'DAT'
TABLES
DATA_TAB = t_file
EXCEPTIONS
CONVERSION_ERROR = 1
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
OTHERS = 10.
if sy-subrc eq 0.
sort t_file by matnr werks plnal vornr tseq.
delete t_file where matnr = ''.
loop at t_file.
Get the material number from tables ZMSMI_FERR_RAW,
ZMSMI_SNAP_RAW and ZMSMI_SIMP_RAW
perform get_matnr.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = t_file-vornr
IMPORTING
OUTPUT = t_file-vornr.
move : t_file-matnr to t_text-matnr,
t_file-werks to t_text-werks,
t_file-vornr to t_text-vornr,
t_file-tseq to t_text-tseq,
t_file-text1 to t_text-text1,
t_file-plnal to t_text-plnal.
append t_text.
clear t_text.
endloop.
else.
WRITE: / 'Error reading input file'.
stop.
endif.
ENDFORM. " get_data
*& Form call_bdc
BDC Script for CA22 Transaction
FORM call_bdc.
Screen 1010
perform bdc_screen using 'SAPLCPDI' '1010'.
perform bdc_field using 'BDC_OKCODE' '=VOUE'.
perform bdc_field using 'RC27M-MATNR' SPACE.
perform bdc_field using 'RC27M-WERKS' SPACE.
perform bdc_field using 'RC271-VBELN' SPACE.
perform bdc_field using 'RC271-POSNR' SPACE.
perform bdc_field using 'RC271-PLNNR' T_PLPO-PLNNR.
perform bdc_field using 'RC271-AENNR' SPACE.
clear : v_date,
v_date1,
v_date2,
v_date3.
v_date1 = sy-datum+0(4).
v_date2 = sy-datum+4(2).
v_date3 = sy-datum+6(2).
concatenate v_date2 v_date3 v_date1 into v_date.
perform bdc_field using 'RC271-STTAG' v_date .
perform bdc_field using 'RC271-REVLV' SPACE.
perform bdc_field using 'RC271-WERKS' SPACE.
perform bdc_field using 'RC271-PLNAL' WA_TEXT-PLNAL.
perform bdc_field using 'RC271-STATU' SPACE.
perform bdc_field using 'RC271-VAGRP' SPACE.
perform bdc_field using 'RC271-PROFIDNETZ' SPACE.
Screen 5400
perform bdc_screen using 'SAPLCPDI' '5400'.
perform bdc_field using 'BDC_OKCODE' '=OSEA'.
Screen 1010
perform bdc_screen using 'SAPLCP02' '1010'.
perform bdc_field using 'BDC_OKCODE' '=ENT1'.
perform bdc_field using 'RC27H-VORNR' WA_TEXT-VORNR.
Screen 5400
perform bdc_screen using 'SAPLCPDI' '5400'.
perform bdc_field using 'BDC_OKCODE' '=LTXT'.
perform bdc_field using 'RC27X-FLG_SEL(01)' C_X.
Screen 1100
perform bdc_screen using 'SAPLSTXX' '1100'.
perform bdc_field using 'BDC_OKCODE' '=XEIN'.
Screen 0999
perform bdc_screen using 'SAPLWB_CUSTOMIZING' '0999'.
perform bdc_field using 'BDC_OKCODE' '=CONT'.
PERFORM BDC_FIELD USING 'RSEUMOD-GRA_EDITOR' SPACE.
Screen 1100
perform bdc_screen using 'SAPLSTXX' '1100'.
perform bdc_field using 'BDC_CURSOR' 'RSTXT-TXPARGRAPH'.
perform bdc_field using 'BDC_OKCODE' '=TXBA'.
perform bdc_field using 'RSTXT-TXPARGRAPH(03)' '*'.
perform bdc_field using 'RSTXT-TXLINE(03)'
Screen 5400
perform bdc_screen using 'SAPLCPDI' '5400'.
perform bdc_field using 'BDC_OKCODE' '=BU'.
call transaction c_tcode
using itab_bdc_tab mode 'N'
update 'S'.
refresh itab_bdc_tab.
if sy-subrc eq 0 and sy-msgty ne 'E'.
v_mandt = t_plpo-mandt.
CONCATENATE v_mandt
t_plpo-plnty
t_plpo-plnnr
t_plpo-plnkn
t_plpo-zaehl into tname.
commit work.
CALL FUNCTION 'DELETE_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = c_tdid
LANGUAGE = 'E'
NAME = TNAME
OBJECT = 'ROUTING'
SAVEMODE_DIRECT = 'X'
TEXTMEMORY_ONLY = ' '
LOCAL_CAT = ' '
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2
if sy-subrc ne 0.
write:/3 wa_text-matnr,24 wa_text-werks,
30 t_mapl-plnnr,44 wa_text-plnal,48 wa_text-vornr,
60 ' -',
67 'Error Deleting Existing Long Text'.
endif.
else.
write:/3 wa_text-matnr,24 wa_text-werks,
30 t_mapl-plnnr,44 wa_text-plnal,48 wa_text-vornr,
60 ' -',
67 'Error Executing BDC'.
endif.
ENDFORM. " call_bdc
*& Form bdc_screen
BDC Script for Screen fields
-->P_PROG Program name
-->P_SCRN Screen Number
FORM bdc_screen USING p_prog
p_scrn.
clear itab_bdc_tab.
itab_bdc_tab-program = p_prog.
itab_bdc_tab-dynpro = p_scrn.
itab_bdc_tab-dynbegin = c_x.
append itab_bdc_tab.
ENDFORM. " bdc_screen
*& Form bdc_field
BDC Script for Screen fileds
-->P_NAM Field name
-->P_VAL Field value
FORM bdc_field USING p_nam
p_val.
clear itab_bdc_tab.
itab_bdc_tab-fnam = p_nam.
itab_bdc_tab-fval = p_val.
append itab_bdc_tab.
ENDFORM. " bdc_screen
*& Form load_data
Save the long text into CA22 Transaction
FORM load_data.
loop at t_text.
move t_text to wa_text.
at new vornr.
Read the data in MAPL Table
select single plnnr from mapl into t_mapl-plnnr
where matnr = wa_text-matnr
and werks = wa_text-werks
and plnty = c_r
and loekz = space.
if sy-subrc eq 0.
Read the data from PLAS and PLPO Table
select SINGLE a~mandt
a~plnty
a~plnnr
a~plnkn
a~zaehl into t_plpo
from plpo as a inner join plas as b on aplnty = bplnty
and aplnnr = bplnnr
and aplnkn = bplnkn
where b~plnty = c_r
and b~plnnr = t_mapl-plnnr
and b~plnal = wa_text-plnal
and b~loekz = space
and a~vornr = wa_text-vornr
and a~loekz = space.
if sy-subrc eq 0.
perform call_bdc.
else.
flag = 'X'.
write:/3 wa_text-matnr,24 wa_text-werks,
30 t_mapl-plnnr,44 wa_text-plnal,48 wa_text-vornr,
60 ' -',
67 'Matching routing group\Operation not found'.
continue.
endif.
else.
flag = 'X'.
write:/3 wa_text-matnr,24 wa_text-werks,
40 ' -',
45 'Material Does not Exists or Material',
82 'not Available in MAPL Table'.
continue.
endif.
endat.
if flag ne 'X'.
t_long-tdline = wa_text-text1.
t_long-tdformat = c_tdformat.
append t_long.
endif.
at end of vornr.
if flag ne 'X'.
v_mandt = t_plpo-mandt.
CONCATENATE v_mandt
t_plpo-plnty
t_plpo-plnnr
t_plpo-plnkn
t_plpo-zaehl into tname.
T_HEADer-TDOBJECT = 'ROUTING'.
t_HEADer-TDNAME = tname.
T_HEADer-TDID = c_tdid.
t_header-tdform = c_tdform.
T_HEADer-TDSPRAS = 'E'.
Save the text
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
CLIENT = SY-MANDT
HEADER = t_header
SAVEMODE_DIRECT = 'X'
OWNER_SPECIFIED = ' '
LOCAL_CAT = ' '
IMPORTING
FUNCTION =
NEWHEADER =
TABLES
LINES = t_long
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
OBJECT = 4
OTHERS = 5
if sy-subrc eq 0.
CALL FUNCTION 'COMMIT_TEXT'
EXPORTING
OBJECT = t_header-TDOBJECT
NAME = t_header-TDNAME
ID = t_header-TDID
LANGUAGE = t_header-TDSPRAS.
write:/3 wa_text-matnr,24 wa_text-werks,
30 t_mapl-plnnr,44 wa_text-plnal,48 wa_text-vornr,
60 ' -',
67 'Long Text Loaded Successfully'.
else.
write:/3 wa_text-matnr,24 wa_text-werks,
30 t_mapl-plnnr,44 wa_text-plnal,48 wa_text-vornr,
60 ' -',
67 'Error Uploading Long Text'.
endif.
refresh t_long.
else.
write:/3 wa_text-matnr, 24 wa_text-werks,
45 'Long text not uploaded'.
clear flag.
endif.
endat.
endloop.
ENDFORM. " load_data
*& Form get_matnr
Get the material number from tables ZMSMI_FERR_RAW,
FORM get_matnr.
clear v_matnr.
case t_file-werks.
when '0101'.
select single cmatnr from zmsmi_simp_raw
into v_matnr where matnr = t_file-matnr.
if sy-subrc eq 0.
if not v_matnr is initial.
clear t_file-matnr.
t_file-matnr = v_matnr.
endif.
when '0103'.
select single cmatnr from zmsmi_ferr_raw
into v_matnr where matnr = t_file-matnr.
if sy-subrc eq 0.
if not v_matnr is initial.
clear t_file-matnr.
t_file-matnr = v_matnr.
endif.
when '0102' or '0110' or '0111' or '0112' or '0113'
or '0114' or '0115' or '0116' or '0117'.
select single cmatnr from zmsmi_snap_raw
into v_matnr where matnr = t_file-matnr.
if sy-subrc eq 0.
if not v_matnr is initial.
clear t_file-matnr.
t_file-matnr = v_matnr.
endif.
endcase.
ENDFORM. " get_matnr
Reward Points if it is helpful
Thanks
Seshu -
hi,
i tried to downlaod Flash Plaer and i got the message that it
is already installed!!
but the software does not appear in the list of programs in
the Add/Remove.
i'm using Windows Vista Home Premium.
Thank you,
shukiIn IE goto Internet Options, goto the Programs tab, click on
"Manage Add-ons", highlight the "Shockwave Flash Object" and click
delete.
Hopefully this will remove it for you so you can install it
again.
i hope this helps
Troy -
High disk utilization every 24 hours
Hi all,
While troubleshooting an user's complain about slow access to his mailbox on a Windows 2012/Exchange 2013 environment, I came across this interesting behavior:
Disk utilization on the server will increase from 100KBps to 3000KBps (on average) and stay high for a good 10 hours or so. Then disk activity will go down for exactly 24 hours from the time it was up and increase again for another cycle.
Basically, no matter how long it takes to go down, it will increase again 24 hours later. Looking at Perfmon and Resource Manager all I could see during both periods is that store.worker.exe is always on top, and READ has higher values. The issue does not
appear to be related to business hours / backup window / client access to exchange, as it occurs at different times of the day and changes everyday.
I believe it has something to do with an internal maintenance/reporting/monitoring feature of Exchange 2013, as it happens on 3 Exchange environments we manage, completely apart from each other.
Microsoft Exchange Health Manager service has already been disabled as well as scheduled tasks under Microsoft/Windows/PLA and they all proved not to make a difference.
Any ideas out there?
Diego de Azevedo IT Analyst - MCSE, MCITPGood Call. I just spent the last few hours going over 550,000 events.
I reviewed the application log for a 24 hour period and here is what I noticed:
During the high disk queue period there are lots of entries for MsExchangeMailboxAssistants. For each of the 15 mailbox databases.
These only run during the High Disk Queues window.
TopN Words
Store DS Maintenance
Sharing Policy
SharePoint Signal Store
Search Index Repair Time Based
People-centric triage
People Relevance
Managed Folder Mailbox
Mailbox Processor
Mailbox Association Replication
Calendar Repair
People Relevance Feeder
Orphaned Mailbox Purge
Here are the examples of the log entries for Event ID 9017
Service MSExchangeMailboxAssistants. TopN Words Assistant for database *** is entering a work cycle. There are *** mailboxes on this database.
Service MSExchangeMailboxAssistants. Store DS Maintenance Assistant for database *** is entering a work cycle. There are *** mailboxes on this database.
Service MSExchangeMailboxAssistants. Sharing Policy Assistant. for database *** is entering a work cycle. There are *** mailboxes on this database.
Service MSExchangeMailboxAssistants. SharePoint Signal Store Assistant for database *** is entering a work cycle. There are *** mailboxes on this
database.
Service MSExchangeMailboxAssistants. Search Index Repair Time Based Assistant for database *** is entering a work cycle. There are *** mailboxes on this database.
Service MSExchangeMailboxAssistants. People-centric triage for database *** is entering a work cycle. There are *** mailboxes on this database.
Service MSExchangeMailboxAssistants. People Relevance Assistant for database *** is entering a work cycle. There are *** mailboxes on this database.
Service MSExchangeMailboxAssistants. Managed Folder Mailbox Assistant for database *** is entering a work cycle. There are *** mailboxes on this database.
Service MSExchangeMailboxAssistants. Mailbox Processor Assistant for database *** is entering a work cycle. There are *** mailboxes on this database.
Service MSExchangeMailboxAssistants. Mailbox Association Replication Assistant for database *** is entering a work cycle. There are *** mailboxes
on this database.
Service MSExchangeMailboxAssistants. Calendar Repair Assistant for database *** is entering a work cycle. There are *** mailboxes on this database.
There are 3039 of these messages as well:
The people relevance feeder for mailbox *** picked 16 sent items to process. Number of sent items successfully processed 16 and number of sent items failed to be processed 0. Total time taken to process this
mailbox 4539.8548.
It appears the purge of orphaned mailboxes happens only at this time as well .
These run throughout the day and not just 24 hours after the last restart/switchover.
Calendar Sync
Junk Email Options
Probe Time Based
Store Maintenance
Examples of the Event ID 9017
Service MSExchangeMailboxAssistants. Calendar Sync Assistant for database *** is entering a work cycle. There are *** mailboxes on this database.
Service MSExchangeMailboxAssistants. Junk Email Options Assistant for database *** is entering a work cycle. There are *** mailboxes on this database.
Service MSExchangeMailboxAssistants. Probe Time Based Assistant for database *** is entering a work cycle. There are *** mailboxes on this database.
Service MSExchangeMailboxAssistants. Store Maintenance Assistant for database *** is entering a work cycle. There are *** mailboxes on this database.
So how do I get the first group of maintenance tasks to run throughout the day, or at different times, or at least not all at the same time for all 15 databases?
Thanks!!
Well, its all workload based, so I don't think you can readily adjust that.
I'm more inclined to look at the specs of the mailbox servers. Are they up to the task and have they been vetted with the Mailbox Calculator?
Twitter!: Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied. -
Hi,
I have creating manual JV for subsequent credit for that i have created GL accounts under transaction type MRDY. But already they were some GL accounts for PLA and Excise Duty paid so that i have created one sub transaction type and try to post the Jv in J1IH under other adjustment.At the time system generating an error (Licence is not included for the material
Message no. 8I993).Please resolve it.
Regards
R.Manigandanhi mahesh,
pl check this :
Specify Excise Accounts per Excise Transaction - In this IMG activity, you specify which excise accounts (for excise
duty and CENVAT) are to be posted to for the various transaction types. Enter all the accounts that are affected by each transaction type. If you use sub transaction types, enter the accounts for each sub transaction type as well.
Transaction type UTLZ is used for determining accounts only while posting excise JVs and also if the payment of excise duty has to be done fortnightly. The fortnightly CENVAT payment utility picks up the credit side accounts from the transaction types of GRPO, EWPO, and TR6C for determining the CENVAT and PLA accounts. There is no separate transaction type for fortnightly payment.
Example:
- Excise TT DC ind Account name
- GRPO CR CENVAT clearing account
- GRPO CR RG 23 BED account
- GRPO DR CENVAT on hld account
Specify G/L Accounts per Excise Transaction - In this IMG activity, you assign the excise and CENVAT accounts to G/L
accounts. When you come to execute the various transactions, the system determines which G/L accounts to post to by looking at the:
- Excise group
- Company code
- Chart of accounts
Furthermore, if you want separate account determination settings within an excise group, you can also use sub transaction types.
Requirements
You have already:
- Defined the G/L accounts
- Defined the excise groups
- Maintained the transaction accounts
regards
sadhu kishore -
CIN Example with Values..?
Hi all
Can anybody explain me about he CIN process from end to end for below materials
Say for example,
Raw material - 1000 (Excisable) Purchased for RS1000 , and Excise duty as follows,
ED-14% ( Rs 140)
Ecess -2% (Rs 28)
Secess-1%(Rs 14).
Total Excise amount is Rs 182.
Finished goods - 2000(Excisable)
Using 1000 as a RM , FG (2000) is going to produce.
for above process , please explain me with full procedure in SAP with T.codes and with all the registers going to use for this process.
From MM , PP & SD view , in any manufacturing industry what they wil do with above excise amount Rs 182.
Pls explain me with value with registers
Thanks
sap-mmHi,
1. I am procuring the raw material (1000), which is excisable .
Firstr of all maintain J1ID - Excise Master Data for material, vendor, excise tax rates, etc...
Declare Material 1000 as Raw Material and 2000 as RG1 in J1ID.
Transactions: -
1. ME21N - Create Purchase Order with appropriate Tax Code for raw Material 1000
2. MIGO - Goods Receipt > Purchase Order of RM 1000 (Here Part 1 OR Capture OR Capture & Post Excise Invoice, as per requirement)
Accounting Entry:-
(BSX) Stock A/c - Dr - 1000
(WRX) GR/IR Clearing A/c - Cr - 1000
3. J1IEX - Post Excise Invoice (if only captured during MIGO)
Accounting Entry:- From Excise A/c detmn of ETT "GRPO"
CENVAT Receivable A/c (BED) - Dr - 140
CENVAT Receivable A/c (ECS) - Dr - 28
CENVAT Receivable A/c (SECess) - Dr - 14
CENVAT Clearing A/c - Cr - 182
4. MIRO - LIV for PO
Accounting Entry:-
Vendor A/c - Cr - 1182
GR/IR Clearing A/c - Dr - 1000
CENVAT Clearing A/c - Dr - 182
Reports: -
For Excise Invoice;
1. J1I7 - Query Excise invoices (Heresee report for ETT - GRPO)
2. J2I9 - New Monthly Returns Report Rule 57AE
For Excise Registers;
1. J1I5 - Register creation for RG23 (Here Use classification key - ROP and update entry for Raw Material 1000)
2. J2I5 - Extract RG23A Part 1 and 2
3. J2I6 - Print Utility of Excise Registers RG23A Part 1 and 2
2. Using same material , i m going to do produce finsihed product (2000).
After Goods Receipt of FG from Production, follow the below Process;
For Excise Registers;
1. J1I5 - Register creation for RG23A Part 1 and RG1 (Here Use classification key - RMA and update entry for FG 2000 / Use classification key - IIM and update entry for RM
1000)
2. J2I5 - Extract RG1 Register and RG23A Part 1
3. J2I6 - Print Utility of RG1 Register and RG23A Part 1
3. Finally I am selling the material (Also excisable material).
Transactions: -
1. VA01 - Sales Order for FG 2000 of Value 1200
2. VL01N - Delivery and PGI of FG 2000
Accounting Entry:-
(BSX) Stock A/c - Cr - 1100 (Stock Value - MAP or Std. Price)
(VAX) COGS A/c - Dr - 1100
3. VF01 - Billing Document for FG 2000
Accounting Entry:- From Sales A/c detmn (VKOA)
Customer A/c - Dr - 1330
Sales Revenue A/c - Cr - 1200
Excise Receovered (BED) - Cr - 100
Excise Receovered (ECS) - Cr - 20
Excise Receovered (SECess) - Cr - 10
4. J1IIN - Outgoing Excise Invoice for FG 2000
Accounting Entry:- From Excise A/c detmn of ETT "DLFC"
Excise Duty Paid - Dr - 130
CENVAT Payabale (BED) - Cr - 100
CENVAT Payable (ECS) - Cr - 20
CENVAT Payable (SECess) - Cr - 10
Reports: -
For Excise Invoice;
1. J1I7 - Query Excise invoices (Here use ETT - DLFC to see outgoing excise invoice)
2. J2I9 - New Monthly Returns Report Rule 57AE
For Excise Registers;
1. J1I5 - Register creation for RG1 (Here Use classification key - IDH and update entry for Raw Material 1000)
2. J2I5 - Extract RG23A Part 2 and RG1
3. J2I6 - Print Utility of Excise registers RG23A Part 2 and RG1
And J2IUN - For Monthend Utilization for Sales Excise Invoices
CENVAT Payabale (BED) - Dr - 100
CENVAT Payable (ECS) - Dr - 20
CENVAT Payable (SECess) - Dr - 10
CENVAT Receivable A/c (BED) - Cr - 100
CENVAT Receivable A/c (ECS) - Cr - 20
CENVAT Receivable A/c (SECess) - Cr - 10 -
Ios 5 when i answer a phone call, application audio overrides phone call
often an app i used earlier to play audio starts up again when i answer a phone call... It is not actively in use at the time the call comes in, just has to be one of the apps used recently. I have had to manually forcequit app to get it to stop plaing and overwhelming the phone call.
This happens on 3gs as well as 4s. Same ios level.That sounds like a problem with the app it self. What app is it? However, it is possible a reset will fix that. Hold the sleep/wake and home buttons together until you see the Apple logo and then release. This will not affect data in any way.
-
Extract BOM based on Master Recipe status
Greetings,
I'm trying to extract the BOM for all our materials. The problem is that it's not as easy as reading the tables MAST, STKO and STPO because I need to check in the master recipe (Task List) first what is the actual status by looking up the PLKO-STATU field equals to the value 4.
Now, I have absolutely no idea how to link all theses tables together so I can capture the proper information. Like I said, MAST, STKO and STPO is not an issue, it's to link this with PLKO, PLAS and PLPO (if necessary) that I'm wondering how.
Any help would be greatly appreciated. Thanks.
Best regards,
JohnHi,
Use should use function CS_BOM_EXPL_MAT_V2:
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING capid = 'SD01'
datuv = w_dtini
ehndl = '1'
mktls = 'X'
mehrs = ' '
mmory = '1'
EMENG = 1
rndkz = '1'
mtnrv = w_matnr
svwvo = 'X'
werks = 'BR01'
vrsvo = 'X'
Best regards,
Leandro Mengue
Maybe you are looking for
-
MDM iView resultset problem and question about eventing
Hi experts, I created a MDM iView resultset for my main table as search table (comparison is not supported). When I click on preview I get an empty table ("Found <Tablename>: 0 of 10", table contains 10 entries at the moment). I tried the same with a
-
My ipad won't charge with the wall charger
I have been able to charge my ipad and ipod using the wall charger. Now when I plug my ipad in, it won't charge. It also doesn't charge when plugged into the computer.
-
Hi All, I am hoping at all my problems are relateded to a problem I am experancing, when I look into my windows 7 (64bit) event viewer near every time I boot up I get an error regarding the NI Variable Engine which reads. The description for Event ID
-
I would like to change the default location TextEdit file opens at.
I would like a TextEdit file to open on the right hand side of my desktop while keeping my dock on the left side. It always opens next to the dock. Is there a terminal command or any other way to change the default spot TextEdit opens? Thanks, David
-
POWL-Feeder-Class is called twice by class CL_POWL_MODEL
Hi all, we are running sap erecruiting and there's an application called "dashboard" that uses the POWL-Technologie. Now we noticed, that our feeder class is called twice when one particular "query" is called via dashboard: once within method "handle