Batch-input FB05 Cost Center -A mode - N mode
Hello,
When i execute a FB05 batch-input in mode A (visible) , the program post every document right , but when i try to execute in mode N a error message return in the messanges internal table.
"No batch input data for screen & & "
So i´ve checked many times the screen where i inform the Cost Center , and everything seems right. I suspect that it is a pop-up , and the program could not read properly this screen in N mode .
Anybody has passed for this situation ? What i need to do to make this work in N mode .
Ps: i´ve tried play with many option on the call transaction options ,
like :
T_CTU_PARAMS-UPDMODE
T_CTU_PARAMS-RACOMMIT
T_CTU_PARAMS-DEFSIZE
T_CTU_PARAMS-NOBINPT
T_CTU_PARAMS-NOBIEND
thank a lot
best regards
follow
SELECT BUKRS KUNNR BELNR BUZEI
INTO TABLE T_BSID
FROM BSID
FOR ALL ENTRIES IN T_BATCH_AUX
WHERE BUKRS EQ T_BATCH_AUX-BUKRS
AND KUNNR EQ T_BATCH_AUX-KUNNR.
IF SY-SUBRC = 0.
LOOP AT T_BATCH INTO WA_BATCH.
T_BSID_AUX = T_BSID.
DELETE T_BSID_AUX WHERE KUNNR NE WA_BATCH-KUNNR.
READ TABLE T_BSID_AUX INTO WA_BSID
WITH KEY BUKRS = WA_BATCH-BUKRS
KUNNR = WA_BATCH-KUNNR
BELNR = WA_BATCH-BELNR
BUZEI = WA_BATCH-BUZEI.
MOVE SY-TABIX TO W_TABIX.
PERFORM ZE_MOVER_BDC USING:
'X' 'SAPMF05A' '0122' ,
' ' 'BDC_CURSOR' 'RF05A-XPOS1(02)',
' ' 'BDC_OKCODE' '=SL',
' ' 'BKPF-BLDAT' WA_BATCH-DTA_DOCTO,
' ' 'BKPF-BLART' WA_BATCH-TP_DOCTO,
' ' 'BKPF-BUKRS' WA_BATCH-BUKRS,
' ' 'BKPF-BUDAT' WA_BATCH-DTA_LCTO,
' ' 'BKPF-MONAT' WA_BATCH-PERIODO,
' ' 'BKPF-WAERS' WA_BATCH-MOEDA,
' ' 'BKPF-XBLNR' WA_BATCH-REFERENCIA,
' ' 'BKPF-XBLNR' WA_BATCH-TXTCAB,
' ' 'BKPF-BKTXT' WA_BATCH-TXTCAB,
' ' 'RF05A-AUGTX' WA_BATCH-TXTDESC.
' ' 'FS006-DOCID' '*'.
PERFORM ZE_MOVER_BDC USING:
'X' 'SAPMF05A' '0710' ,
' ' 'BDC_CURSOR' 'RF05A-XPOS1(03)',
' ' 'BDC_OKCODE' '=PA',
' ' 'RF05A-AGBUK' WA_BATCH-BUKRS,
' ' 'RF05A-AGKON' WA_BATCH-KUNNR,
' ' 'RF05A-AGKOA' 'D',
' ' 'RF05A-AGUMS' WA_BATCH-CDRZE,
' ' 'RF05A-XNOPS' 'X',
' ' 'RF05A-XPOS1(03)' 'X'.
PERFORM ZE_MOVER_BDC USING:
'X' 'SAPMF05A' '0731' ,
' ' 'BDC_CURSOR' 'RF05A-SEL01(01)',
' ' 'BDC_OKCODE' '=PA',
' ' 'RF05A-SEL01(01)' WA_BSID-BELNR.
PERFORM ZE_MOVER_BDC USING:
'X' 'SAPDF05X' '3100' ,
' ' 'BDC_OKCODE' '=OMX',
' ' 'BDC_SUBSCR' 'SAPDF05X',
' ' 'BDC_CURSOR' 'DF05B-PSSKT(01)',
' ' 'RF05A-ABPOS' '1'.
PERFORM ZE_MOVER_BDC USING:
'X' 'SAPDF05X' '3100' ,
' ' 'BDC_OKCODE' '=Z-',
' ' 'BDC_SUBSCR' 'SAPDF05X',
' ' 'BDC_CURSOR' 'DF05B-PSSKT(01)',
' ' 'RF05A-ABPOS' '1'.
PERFORM ZE_MOVER_BDC USING:
'X' 'SAPDF05X' '3100' ,
' ' 'BDC_OKCODE' '=OSU',
' ' 'BDC_SUBSCR' 'SAPDF05X',
' ' 'BDC_CURSOR' 'DF05B-PSSKT(01)',
' ' 'RF05A-ABPOS' '1'.
PERFORM ZE_MOVER_BDC USING:
'X' 'SAPDF05X' '2000' ,
' ' 'BDC_CURSOR' 'RF05A-XPOS1(01)',
' ' 'BDC_OKCODE' '=GO',
' ' 'RF05A-XPOS1(01)' 'X'.
PERFORM ZE_MOVER_BDC USING:
'X' 'SAPDF05X' '0731' ,
' ' 'BDC_CURSOR' 'RF05A-SEL01',
' ' 'BDC_OKCODE' '=GO',
' ' 'RF05A-SEL01(01)' WA_BSID-BUZEI.
PERFORM ZE_MOVER_BDC USING:
'X' 'SAPDF05X' '3100' ,
' ' 'BDC_OKCODE' '=OMX',
' ' 'BDC_SUBSCR' 'SAPDF05X',
' ' 'BDC_CURSOR' 'DF05B-PSSKT(01)',
' ' 'RF05A-ABPOS' '1'.
PERFORM ZE_MOVER_BDC USING:
'X' 'SAPDF05X' '3100' ,
' ' 'BDC_OKCODE' '=Z+',
' ' 'BDC_SUBSCR' 'SAPDF05X ',
' ' 'BDC_CURSOR' 'DF05B-PSSKT(01)',
' ' 'RF05A-ABPOS' '1'.
PERFORM ZE_MOVER_BDC USING:
'X' 'SAPDF05X' '3100' ,
' ' 'BDC_OKCODE' '=KMD',
' ' 'BDC_SUBSCR' 'SAPDF05X ',
' ' 'BDC_CURSOR' 'DF05B-PSSKT(01)',
' ' 'RF05A-ABPOS' '1'.
PERFORM ZE_MOVER_BDC USING:
'X' 'SAPMF05A' '0700' ,
' ' 'BDC_CURSOR' 'RF05A-NEWKO',
' ' 'BDC_OKCODE' '/00',
' ' 'BKPF-XBLNR' WA_BATCH-REFERENCIA,
' ' 'BKPF-BKTXT' WA_BATCH-TXTCAB,
' ' 'RF05A-NEWBS' WA_BATCH-CH1,
' ' 'RF05A-NEWKO' WA_BATCH-CTA.
PERFORM ZE_MOVER_BDC USING:
'X' 'SAPMF05A' '0300' ,
' ' 'BDC_CURSOR' 'BSEG-WRBTR',
' ' 'BDC_OKCODE' '/00',
' ' 'BSEG-WRBTR' WA_BATCH-VALOR,
' ' 'BSEG-VALUT' WA_BATCH-DTA_LCTO.
PERFORM ZE_MOVER_BDC USING:
'X' 'SAPLKACB' '0002' ,
' ' 'BDC_CURSOR' 'COBL-KOSTL',
' ' 'BDC_OKCODE' '=ENTE',
' ' 'COBL-KOSTl' WA_BATCH-CENTR.
PERFORM ZE_MOVER_BDC USING:
'X' 'SAPMF05A' '0300' ,
' ' 'BSEG-WRBTR' WA_BATCH-VALOR,
' ' 'BDC_OKCODE' '=BU'.
PERFORM F_EXECUTA_TRANSACAO.
PERFORM F_MENSAGEM.
CLEAR: INT_BDC, T_BDCMSG, W_TABIX, W_POSICAO.
REFRESH: INT_BDC, T_BDCMSG.
ENDLOOP.
Form f_executa_transação
Call-Transaction parameters
CLEAR T_CTU_PARAMS.
A: show all dynpros E: show dynpro on error only
N: do not display dynpro
T_CTU_PARAMS-DISMODE = P_MODE.
S: synchronously A: asynchronously L: local
T_CTU_PARAMS-UPDMODE = 'S'.
T_CTU_PARAMS-RACOMMIT = 'X'.
T_CTU_PARAMS-DEFSIZE = 'X'.
T_CTU_PARAMS-NOBINPT = 'X'.
T_CTU_PARAMS-NOBIEND = 'X'.
*Executa a transação
CALL TRANSACTION W_TRANS USING INT_BDC
OPTIONS FROM T_CTU_PARAMS
MESSAGES INTO T_BDCMSG.
ENDFORM. " f_executa_transacao
Similar Messages
-
Automatic input of cost center in MIRO
Hy everybody,
I've done a substitution maintenance for automatic cost center input depending on the store of the purchase order and/or the store of inbound delivery. Everything is allright.
Now when I go to the tc MIRO and I've a different amount between the purchase order and the bill : I'can automatically input the cost center.
Thanks for helpThanks for your answer,
the amount I want to input to the cost center when I've done the MIRO, is the recording of the new value of the stock, generated by the new price.
The final issue is I want to have a stock valuation by Store witch are the profit center. So I use the cost center to do that, maybe I'm wrong ?
stéphane
Message was edited by:
PARISIS Stéphane -
Batch input - FB05 - How to fill LIFNR if I post on GL account.
Hi, our company normaly use IDOCs (FIDCCP02) for posting FI documents (accrual intercompany FI documents) and there we can fill LIFNR and it is saved in BSEG-LIFNR. But now I created batch input for transactin FB05 and I cannot fill LIFNR anywhere on screen by FI document posting on GL account. Is there any option how to fill LIFNR in batch input when i post on GL account?
ThanksI would check field status group assigned to your account and check which fields are enabled in this group (in SPRO under Financial Accounting -> Financial Accounting Global Settings -> Document -> Line Item -> Controls -> Maintain Field Status Variants)
-
Input cost center in Goods Issue
Can I input the cost center in Goods Issue or Goods Receipt transaction? I cannot find the cost center field in the forms setting?
Many thanks for the kind advice in advance?Vijay Kumar,
Our version is 2005. According to Julie Jamieson's advice, in version 2007, thie field "Distr. Rule" = "Cost Center". Is it really impossible for version 2005 to input the cost center in Goods Issue or Goods Receipt? Your kind advice will be highly appreciated.
Ada -
GL account and cost center field appearing for Goods issue movt type 201
Hi SAP Gurus
We are trying to post goods issue in ecc6 . The problem is that the GL Account and cost center fields are available fields .The cost center field is logical but why the GL account field is avaiable .
How we can grey out the same field as it is going to be picked up from the valuation class setting in GBB - VBR ? Any ideas
Regards
HiteshHi Ravi
You think that its ok we have to input the cost center .
But if you allow the users to input the GL then you are overriding the whole purpose of defining the valuation class and offsetting entries ? What is your opinion ?When you input the material in the goods issue screen the offsetting entry needs to be picked from the GBB -VBR .Although even if you do not enter the GL the system posts the Godds issue document .But from the control perspective this needs to be suppressed .
What do you think ?
I have also posted the same in Logistics forum .
Once again many thanks for your help .In case you find some solution this would be of great help
Regards -
Hallow I doing an batch input and in the search term it bring the word just with 10 cahr and the word larger then that the search term is empty did anyone have an idea how to solve it because it work with word less then 10 letter this is my batch input
CALL FUNCTION 'YHR_VENDOR_BI'
EXPORTING
CTU = 'X'
mode = 'A'
UPDATE = 'S'
GROUP =
USER =
KEEP =
HOLDDATE =
NODATA = '/'
lifnr_001 = itab-company_code
ktokk_002 = 'Z001'
anred_003 = 'Company'
name1_004 = itab-company_name
sortl_005 = itab-company_name
land1_006 = 'IL'
spras_007 = 'HE'
stceg_008 = itab-osek_morsh
IMPORTING
subrc = sucsses_messege
TABLES
messtab = returen_messege.
PERFORM write_message.
ENDLOOP.
Any suggestion ?thankes for your timewhat is the BDC field u are using ?
<b>G_SUCH_STRING</b> is what ?
Regards
Prabhu -
Budgeting on account & cost center level
Hi ALL, My company is planning to implement SAP in the near future and I'm taking the SAP course now. According to what SAP instrcutor said, budgeting cannot be done on account & cost center level. In my company, our current practice is to record all budget figures under account & cost center level and for every expense (invoice or journal) input, account & cost center would be the mandatory fields so that budgeting can be monitored in such level.
Can anyone tell me how this can be handled in SAP?HI
DONT TRUST that type of words.
i hope that your instructer is not a real time guy.
we have to do Budgeting at cost center lavel in Cash Budget management. why because that is (Cost Centyer)Orgnisational level Responsibility Area
and item level in Funds mangement.
But for every expence you want do the budget you have to implement Funds mange ment Module.
then your item level budgeting will be solved.
Thanks & Regards
Mala K Reddy. Vundela -
Substitution for deriving Profitcenter from Cost center
Hi SAP Gurus,
I want a detail substitution steps for deriving the profit center for cost centeres. One PC is assigned to more than one cost center.
Thanks In Advance.
CHEERSI am talking about the cost center in settelment rule.
my problem is while setteling the order in ko88
--- for some order , for manual input of cost center system is capturing profit center automatically
--- for some order, system is not deriving the profit center automatically.
all cost center master data is having profit centers.
for the second case system is not allowing me to settele the order in ko88.
Edited by: NITIN on Mar 26, 2009 1:42 PM -
Function Area derive from cost center
Hi, here is a question.
The function area was input in the cost center master data. Cost center A ( Function area 1000), Cost center B (Function area 2000)
Then creat a PO with Account Assignment Category(K), Item Category (B), input the cost center A in the PO.
When I do MIRO, I change the cost center (A TO B), but the function is still 1000, not change to 2000. But if I delete the Function area in MIRO first, then change the cost center, the function area update to 2000.
There is no default function area in GL account and cost element, also no substitution.
Is it standard in SAP? I want the Function area can be updated with the cost center. Any method?Here is what SAP help says about this.
Functional area field for postings - ready for input?
You can enter the functional area directly when entering G/L account postings, provided the "Functional area" field is shown in the field status group of the G/L account.
SAP recommends that you do not show the "Functional area" field in the field status group of the G/L account, but rather that you have the system determine the functional area of the account assignment. This eliminates the risk of the user entering incorrect functional areas.
You said you have functional area in cost center master data. When you post documents, do you get func. area from the cost center automatically or not? -
when we create expense PO, the user wrongly input wrong cost center, after goods receipt, we realize that wrong cost center is entered during po, the number of affected PO is over 50, and some even finished invoice vorification., how to reallocate to correct cost center, we don't want to reverse goods receipt. thanks
Hi ,
Your FI Account is right ( GR/IR account and offsetting expense accounting is correct ). So , your FI Route is correct .
In CO.. Cost Center is only incorrect ... so use KB21N for manual reposting of costs .
FI/CO reconiclliation will remain correct as the values from FI has correctly being transferred to CO. KB21N effects CO only.. FI is not affected.In FI keep on doing all the activities you are doing .. no need to reverse or correct them..
Only in CO.. correct the cost center to be posted using KB21N .
Please revert back for any further clarifications.
Regards
Sarada -
How to change cost center in Asset Master record ?
Hi SAP Gurus,
My client is asking me to change cost centers in Asset Master records using LSMW. Currently, the field cost center is in display mode. In order to change the cost center, the field cost center must be in change mode while recording in LSMW. I have changed screen layout rule for Asset Master data. I have selected radio button "Optional" for cost center in screen layout for Asset Master data. But still cost center field is in display mode in Asset Master record. It must be changeable.
Please suggest me how I can resolve the issue.
Regards,
K.S.KHi Saravana,
We can change the cost center for AuC Investment measure at WBS element level. For that purpose we need to go to AuC Investment measure Asset master record and check WBS element under Origin Tab. Double click on WBSE and then check the cost center under Assignment tab. And also check the cost center in Asset master record for the same. Now you can go to T.Code CJ12 (Change WBS Element) and change the cost center for the same. Once you make changes system automatically change the cost center in asset master record for the same.
Note: - Now you have to identify all the AuC Investment measure Assets and the WBS Element for the same. Then change the cost center in WBS Element record. And the corresponding changes will be done in relevant Asset master record automatically.
But before making the change please check with the PS/PM consultant regarding changes in WBS element. Means where it will effect?
With Regards
Ravinder Kaushik -
Change of Cost Center in Asset Master for Investment measure (AuC) Assets.
Hi,
We have an asset class 4001 which has been maintained as an investment measure for AuC. I want to change cost center for all the assets that are maintained in the asset class 4001. The system is showing cost center field in display mode in change transaction of the asset AS02 for all the assets in the asset class. I want to replace the old cost center with new cost center in the asset master record. How can I make the cost center field changeable ?
Can anyone help me ?
Regards,
K.S.KHi Kattula,
We can change the cost center for AUC with Investment Measure. To do this you need to identify the relevant WBS element assigned to your asset. You can find the WBSE in Origin tab of your asset master record.
Then go to the change WBS element Transaction CJ12 and change the cost center. Once you change the cost center of the WBSE, the change would automatically get reflected in the correspondind asset master record.
This would solve your issue.
Thanks & Regards
FICO GSupport team.
RK & IK. -
Error: No batch input data for screen SAPLSTRD 0300 for BDC OB52
Hello,
I have created one program, where i am just calling transaction OB52 using batch input.
CALL TRANSACTION 'OB52' USING bdcdata
MODE input_method
UPDATE 'S'
MESSAGES INTO itb_msg.
When I run my program in background the it is giving me Error "No batch input data for screen SAPLSTRD 0300 ", but I am changing the MODE to 'A' in foreground then it is working perfectly without any Errors.
Can you guide me why i am getting the above error only when i am executing the program in MODE = 'N'...
Regards,
Sujeet MishraHello,
Actually recording is perfect and it was working fine earlier on production server. now the error i am getting is related to transport request. like when we do the changes in transaction OB52 online is will ask you for transport request, but in my recording we are not taking care of this transport request pop-up screen, but it was working fine earlier.
the code which was working fine is written below:
LOOP AT itb_type.
PERFORM bdc_dynpro USING 'SAPL0F00' '0065'.
PERFORM bdc_field USING 'BDC_OKCODE' '=POSI'.
* Ecran Positionner, fonct Suite
PERFORM bdc_dynpro USING 'SAPLSPO4' '0300'.
PERFORM bdc_field USING 'SVALD-VALUE(01)' p_bukrs.
PERFORM bdc_field USING 'SVALD-VALUE(02)' itb_type-mkoar.
PERFORM bdc_field USING 'SVALD-VALUE(03)' itb_type-bkont.
PERFORM bdc_field USING 'BDC_OKCODE' '=FURT'.
* Ecran principal, fonction Sauvegarde
PERFORM bdc_dynpro USING 'SAPL0F00' '0065'.
* Période 1
IF ( p_etape1 = 'X' ).
* Si Jour J+1
PERFORM bdc_field USING 'V_T001B-FRPE1(01)' s_sppe1-low.
PERFORM bdc_field USING 'V_T001B-TOPE1(01)' s_sppe1-high.
PERFORM bdc_field USING 'V_T001B-FRYE1(01)' s_spye1-low.
PERFORM bdc_field USING 'V_T001B-TOYE1(01)' s_spye1-high.
ELSEIF ( p_etape2 = 'X' ).
* Si Jour J+6
PERFORM bdc_field USING 'V_T001B-FRPE1(01)' s_frpe1-low.
PERFORM bdc_field USING 'V_T001B-TOPE1(01)' s_frpe1-high.
PERFORM bdc_field USING 'V_T001B-FRYE1(01)' s_frye1-low.
PERFORM bdc_field USING 'V_T001B-TOYE1(01)' s_frye1-high.
ENDIF.
* Période 2
PERFORM bdc_field USING 'V_T001B-FRPE2(01)' s_frpe1-low.
PERFORM bdc_field USING 'V_T001B-TOPE2(01)' s_frpe1-high.
PERFORM bdc_field USING 'V_T001B-FRYE2(01)' s_frye1-low.
PERFORM bdc_field USING 'V_T001B-TOYE2(01)' s_frye1-high.
* Gpe d'autorisation
PERFORM bdc_field USING 'V_T001B-BRGRU(01)' itb_type-brgru.
PERFORM bdc_field USING 'BDC_OKCODE' '=SAVE'.
ENDLOOP.
PERFORM bdc_dynpro USING 'SAPL0F00' '0065'.
PERFORM bdc_field USING 'BDC_OKCODE' '=BACK'.
* Appel de la transaction OB52
CALL TRANSACTION 'OB52' USING bdcdata
MODE input_method
UPDATE 'S'
MESSAGES INTO itb_msg.
Regards,
SUjeet -
No profit center posting when posting to GL (only cost center documents)
Hi, to all
When we are creating any financial document for any student and we input the Cost center, the system brings an error which says that the cost center we are trying to use is blocked for actual revenue. I had to access the master data of the cost center and disable the check of Actual revenues, to allow the posting in FICA to be done. I though that was enough. But after transferring the reconciliation key which contains the document I can not see any affectations in any profit center.
We copied the CO Rule: CMAC_ACC_DERIVE_ORG and created a Zfunction to derive the cost center and profit center according to registration data.
If I review the FICA document it contains the correct information for the Profit center document. But no Profit center documents are being created.
I have checked the FICA integration and I can not find an item in which I can "turn on" the profit center accounting for FICA.
Thank you very much
Sergio ArtiñanoHi Sergio,
Do you have PCA completely configured and active? Once G/L postings are configured to go to PCA, the integration from FI-CA should post to PCA without any additional configuration. Please let me know if PCA is fully configured and receiving postings directly from FI-GL.
Thanks,
Tami -
Hi All,
I need to create lot of cost centers. Is there any way to create them in batch. If there is a way, please let me know step by step procedure for the same. Thanks in advance.
Regaards,
S.SumanaHello,
There is no readymade document for cost center.
The logic is one and the same. You need to complete the following steps:
Please take help from ABAPer.
In recording you have to complete the following steps:
Maintain Object Attributes
Maintain Source Structures
Maintain Source Fields
Maintain Structure Relations
Maintain Field Mapping and Conversion Rules
Maintain Fixed Values, Translations, User-Defined Routines
Specify Files
Assign Files
Read Data
Display Read Data
Convert Data
Display Converted Data
Create Batch Input Session
Run Batch Input Session (Takes you to SM35)
Please let me know if you need any further help.
Regards,
Ravi
Maybe you are looking for
-
All of a sudden I can no longer open a new tab using either the icon on the tab bar, the keyboard short cut or the File menu option. I can open a new tab ONLY by clicking on a bookmark or link
-
General ramblings - wish list for Oracle
- can't undo in the class editor (i.e. delete a dependency) - column text cut and paste (like in MS-Word click; ALT-drag; Cut; Paste) - With java5 strong typing on collections, diagram generator should be able to create dependencies as the code is. R
-
Drag and Drop Objects in Applet
Is it possible to select and Drag & Drop Graphical Objects from One Applet in one Browser window to Applet in another Browser window? Thanks, Vattikuti
-
Netting off Customers and Vendors from Credit Mngt point
Hi Guys I like to net off Vendor and customer balance to decide Customers' credit limit before selling anything. We have done this at payment level but will like to drill down to credit management level. Thanks Hiren Mazumdar
-
Please how can I change word submit in submit button? I need it have in a local (slovak) language.