Standard Batch Input Programs for Profit Center Creation
Dear all;
I am in 4.0B version that doesnt have BAPI_PROFITCENTER_CREATE. Writing a BDC for this would be complicated as my data is compiled in a different way.
Are there any Standard Batch Input Programs for Profit Center Creation ?
Hi Srivathsan,
You can make use of Standard BAPI by LSMW.
Business Object BUS1116 Profit Center Group
Method CREATE Create
Message Type PROFITCENTERGROUP_CREATE
Basic Type PROFITCENTERGROUP_CREATE
Regards,
Sivaram.
Similar Messages
-
Standard batch input program for Routing
Hi,
Please inform me if there is any standard batch input program for uploading routing data.
Regards
RamakanthHi
Pls check RCPTRA00 -
LSMW Standard Batch Input Program
Hi,
I have one requirement on creating BOM.
I have to upload data from legacy system to SAP for T-Code ' CS01'
I have to use the Standard Batch input Program 'RCSBI010'.
I have source structure and Target Structure.
In Source structure i have Header and item data.
In Header i have 11 fields and in Item i have 23 fields.
In Target Structure i have upto 130 fields.
In the Standard program who have 4 structures and each structure have fields.
So How many fields i have to map with Standard structure. and in my source structure i dont have the fields like T-code, session name, user name,and xkeep.
So how to pass these fields (T-code, session name, user name,and xkeep) to the standard structure. and is it necessary to pass these fields to the standard batch input program.
Advance thanks,
Kumar AHi,
Hi,
Record type 0: one session record (structure BGR00) per session..
The session header contains general administrative data on the batch input session to be created. All records that follow the header in the sequential file are assigned to the current session, until the next header occurs in the file.
Record type 1: one session record (structure BICSK) for each BOM
The BOM header record contains the transaction code (for example, CS01 Create material BOM) and the header data
Record type 2: one item record (structure BICSP) per item
All BOM item records are assigned to the preceding BOM header, until the next BOM header or session header occurs in the sequential file
Record type 3: one sub-item record (structure BICSU) per sub-item
All BOM sub-item records are assigned to the preceding BOM item, until the next item header, BOM header, or session header occurs in the sequential file
and x-line which will be used as index while retreiveing
and the file to be imported should contain values in this format
BGR00 data will be in first line (0-stype)
BICSK in second line (1 stype)
BICSP in 3rd line
BICSU in 4th line
e.g:
0 sessname 800
1 CS01 123
2 values req
3 values req
Hope this gives u some idea...
<b>Reward points</b>
Regards -
BAPI or Batch Input Program for FB01
Hi all!
I am trying to post invoice through transaction code FB01, i need a standard BAPI program or Batch Input Program for FB01 (except recording).
thanks.Hello,
In the 'Specify Files' step,
1. give some short file name (about 20 Characters )
2. In the File option for 'Converted Data' option check the Logical path / logical file entries. Normally it is LSMW ( Logical Path ) and the same File name for logical file. If you do not have a Logical path 'LSMW' create one in Tx. FILE'.
3. Please note that you need authority to save the file on application server ( You can see the files on Appl. Server in Tx. AL11 ).
Let me know how it goes on!
Regds, Murugesh AS
Message was edited by: Murugesh Arcot
Message was edited by: Murugesh Arcot -
Batch input programs for infotypes
Hi Experts,
Can anyone tell me what is the use or how we can use the batch input programs for infotypes maintained in BTCI_PROG field of table T777D.
Regards,
AravindI dont think any data is maintained by default in the system for that field.
Still that field can be used if you want to develop any upload program for the infotype and want to maintain it for future use also, you can always maintain that.
But if you want to upload data in the infotypes and thinking that this field may help you with any load program..........
Write one using HR_MAINTAIN_MASTERDATA for that.
Regards,
Amit
Reward all helpful replies. -
Screen-exit for profit center creation - transaction KE51.
Hi All,
Background: The client has the requirement of importing profit centre master data from legacy system into SAP ECC system. Few of the legacy data could not be filled into existing sap fields, hence the requirement has been to populate the data into custom fields.
The client also has the requirement, that the same fields are required during online entry. For this we need to enhance the profit centre creation screen (transaction code KE51) with two additional custom fields.
Requirement: To enhance profit centre creation screen with custom fields. Screen-exit for KE51 transaction.
Pre-work: Program SAPLRKPM in SAP ECC system is the main program. It does not have any screen or sub screen area for custom fields addition. Debugged the program to check for screen-exits, found none.
Below user-exits are not either screen-exits or cannot be used for enhancing profit center screen.
PCA00001 EC-PCA: Document changes for data transfer
PCA00002 Profit Center Accounting: derivation of representative mat.
PCA00003 Derive Partner Profit Center for External Deliveries
PCA00004 Check valuation for invoice verification with transfer price
PCA00005 Check valuation for invoice verification with transfer price
PCASELEK EC-PCA: Selection criteria for data transfer
Solution required for: Could anyone please let me know if it is possible to enhance the profit center creation screen. If yes, please provide the names of the screen-exit/ badi exit.
(Just a thought, modifying the standard seems to be the only solution, this should be the last option and i agree, please provide your inputs.)
Thanks in advance.
Warm Regards,
Goutham.Thank you Manohar for the response.
The requirement is to display custom fields on standard sap screen and there are no screen-exits. So, i suppose the standard screen has to be modified.
Could you please provide brief explanation on
May be you should consider maintaining custom mapping table instead of going for chaning standard.
With Regards,
Goutham. -
Uploading data from excel for profit center creation
hey hi..well i m a begginner of SAP ABAP..
IF anyone can help me out how to solve my problem..
I have to upload data from excel using gui_upload and create it using BAPI_PROFITCENTER_CREATE
and maintain log....
I m not able to knw how to use that..
Thanx in advace......
Moderator message: sorry, these forums cannot replace ABAP training, please search for available information/documentation or attend classes.
Edited by: Thomas Zloch on Jun 22, 2011 1:13 PMHi,
Check my previous post for the same question for referance
Re: Excel to itab
Guess this will help you.
Regards,
Ram. -
BAPI or FM or Standard BDC program for Production version creation (C223)
Hi All,
Is there BAPI or FM or Standard BDC program for Production version creation? Please help me.
Thanks & Regards
SanthoshHi,
Try this FM "CO_OCM_CREATE_PROD_VERSION"
Regards,
Smart -
LSMW for routing with standard batch input
Hello All,
I am trying to prepare one LSMW for routing upload for PP module. Routing data contains header data, operation data and master inspection characteristics data.
I have created three source structures viz. material- task list header, task header data, operation and inspection.
Header has been assigned to target structure BIMPL- Batch Input Structure for Allocation of Mat. to Task Lists,
Task header data source structure has been assigned to BIPKO- Batch Input Structure for Task List Header,
Operation source structure has been assigned to target structure BIPPO- Batch input structure for task list operation,
and inspection source structure has been assigned to BIPMK- Inspection characteristics for batch input of task lists.
Every source structure has been identified with an identifier value of which have been set as H, I,J,K for all source structures resp.
The excel file has been prepared as follows,
H MATNR WERKS PLNNR PLNAL
H 100045 1000 50000043 1
H 100045 1000 50000043 2
I MATNR WERKS PLNNR PLNAL VALID_FROM USAGE STATUS
I 100045 1000 50000043 1 01012000 1 1
I 100045 1000 50000043 2 01012000 1 1
I have mentioned here the combination of first two structures only. But it contains data of other two source structures as well (for identifier J & K).
The data from the excel is copied to the flat file and same is specified in LSMW in the step 'Specify file'.
In 'Assign file' step the flat file is assigned to all the four source structure.
Now at the time of reading data system is throwing me an error as 'Ensure field sequence is correct for data for mutiple source structures' Message no. /SAPDMC/LSMW_OBJ_060026
How to overcome this?
<removed by moderator> answers will be greatly appreciated........
Mimiri
Edited by: Thomas Zloch on Jul 11, 2011 10:16 AMHello ,
have you maintained this check box for the key fields"
LSMW>Maintain Source fields>double click on fieds : MATNR WERKS PLNNR PLNAL
Selection Parameter for "Import/Convert Data"-->Tick this check box
regards -
LSMW Routing Standard Batch Input Create Batch Input Session
Hello All,
I am using LSMW for routing upload, using standard batch input method. Program RCPTRA01.
I am facing this quite peculiar problem.
I have tried first with separate text file for every source structure. Everything works fine till convert data step.
But when I go for 'Create Batch Input Session' it creates session for tables MAPL, PLKO, PLPO, PLMZ, PLMK. Other tables remain balnk (EAPL, PLFL, PLAB, PLFH, PLPH, PLFT, PLFV, PLWP). Because of this while running the session only the header and material assignment to task list get uploaded. Rest data, operation, MIC, component allocation do not get uploaded.
I have also tried for one text file for multiple structure. In that I face porblem for BDC creation. While debugging I faced th same thing in this also.
Could anyone please explain me the soution for this? Do I need to amend any progrm fior this?
Expecting lightning fast replies from Gurus....
MimiriHello All,
I am awaiting your reply on this.......
Mimiri -
BDC - Session Method - No batch input data for screen SAPMZ_TPSCREEN02 100
Hi ABAP Experts,
I have written a Dialog Program For a Screen Which contains 5 fields namely,
carrid,
connid,
fldate,
price,
planetype.
I have written the PAI logic to insert whatever entries entered in the fields, into Database Table SFLIGHT.
I created a Transaction and Tested whether the entries are succesfully entetered into the Database Table and it works just fine.
Now i planned to write a BDC program for the above Transaction so that i can upload data to the Database table from a flat file.
I went to SHDB transaction and created a new recording and transferred the program to generate a source code.
include bdcrecx1.
start-of-selection.
loop at itab.
perform open_group.
perform bdc_dynpro using 'SAPMZ_TPSCREEN02' '1000'.
perform bdc_field using 'BDC_OKCODE'
'=CREA'.
perform bdc_field using 'BDC_CURSOR'
'SFLIGHT-PLANETYPE'.
perform bdc_field using 'SFLIGHT-CARRID'
'AA'.
perform bdc_field using 'SFLIGHT-CONNID'
'0017'.
perform bdc_field using 'SFLIGHT-FLDATE'
'11/01/2007'.
perform bdc_field using 'SFLIGHT-PRICE'
'767'.
perform bdc_field using 'SFLIGHT-PLANETYPE'
'A310-200F'.
perform bdc_transaction using 'Z_TPSCREEN02'.
perform close_group.
Then i defined an internal table which contains the same fields as those in my Screen and Transaction.
I populated the internal table from a flat file using GUI_UPLOAD function module.
I want to clarify - I got this flat file by using the GUI_DOWNLOAD module and later i uploaded the same file using GUI_UPLOAD.
I tested whether the internal table is populated or not using LOOP AT ITAB. WRITE Statements.
Its working just fine.
Finally my code look like this.
report ZVMREC
no standard page heading line-size 255.
TABLES: sflight.
DATA: BEGIN OF itab OCCURS 0,
carrid LIKE sflight-carrid,
connid LIKE sflight-connid,
fldate LIKE sflight-fldate,
price TYPE sflight-price,
planetype TYPE sflight-planetype,
END OF itab.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = 'C:\users\vamc\documents\flightinfo.txt'
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
tables
data_tab = itab.
include bdcrecx1.
start-of-selection.
loop at itab.
perform open_group.
perform bdc_dynpro using 'SAPMZ_TPSCREEN02' '1000'.
perform bdc_field using 'BDC_OKCODE'
'=CREA'.
perform bdc_field using 'BDC_CURSOR'
'SFLIGHT-PLANETYPE'.
perform bdc_field using 'SFLIGHT-CARRID'
'AA'.
perform bdc_field using 'SFLIGHT-CONNID'
'0017'.
perform bdc_field using 'SFLIGHT-FLDATE'
'11/01/2007'.
perform bdc_field using 'SFLIGHT-PRICE'
'767'.
perform bdc_field using 'SFLIGHT-PLANETYPE'
'A310-200F'.
perform bdc_transaction using 'Z_TPSCREEN02'.
perform close_group.
endloop.
I checked for errors, activated and executed.
I gave session name and executed, it generated same number of sessions as number of records.
I went to SM35 and Processed one of the sessions in foreground.
It brought my screen up with all fields fill up by the fields of first record in the internal table and with
OK Code popping up.
I check the OK Code.
Now the problem has come up, its says
*No batch input data for screen SAPMZ_TPSCREEN02 1000 *
My session was now incorrectly processed,
Please help me to fix this problem.
I searched so many forums and google it a lot.
But i didn't find any clue.
Kindly take your time and have a look at this problem and let me know how can i fix it.
Thank you very much all.
Shiv
Edited by: Sivaram Naga on Apr 15, 2008 5:57 AMI used this code to convert the date format. I'm still getting the short dump.
DATA: v_yyyy(4) TYPE c,
v_mm(2) TYPE c,
v_dd(2) TYPE c,
v_date(8) TYPE c.
v_yyyy = itab-fldate(4).
v_mm = itab-fldate+4(2).
v_dd = itab-fldate+6(2).
concatenate v_yyyy v_mm v_dd into v_date.
I'm once again, putting my code.
report ZVMREC
no standard page heading line-size 255.
TABLES: sflight.
DATA: BEGIN OF itab OCCURS 0,
carrid LIKE sflight-carrid,
connid LIKE sflight-connid,
fldate LIKE sflight-fldate,
price TYPE sflight-price,
planetype TYPE sflight-planetype,
END OF itab.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = 'C:\users\vamc\documents\flightinfo.txt'
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
tables
data_tab = itab.
include bdcrecx1.
start-of-selection.
loop at itab.
DATA: v_yyyy(4) TYPE c,
v_mm(2) TYPE c,
v_dd(2) TYPE c,
v_date(8) TYPE c.
v_yyyy = itab-fldate(4).
v_mm = itab-fldate+4(2).
v_dd = itab-fldate+6(2).
concatenate v_yyyy v_mm v_dd into v_date.
perform open_group.
perform bdc_dynpro using 'SAPMZ_TPSCREEN02' '1000'.
perform bdc_field using 'BDC_OKCODE'
'=CREA'.
perform bdc_field using 'BDC_CURSOR'
'SFLIGHT-PLANETYPE'.
perform bdc_field using 'SFLIGHT-CARRID'
ITAB-CARRID.
perform bdc_field using 'SFLIGHT-CONNID'
ITAB-CONNID.
perform bdc_field using 'SFLIGHT-FLDATE'
V_DATE.
perform bdc_field using 'SFLIGHT-PRICE'
ITAB-PRICE.
perform bdc_field using 'SFLIGHT-PLANETYPE'
ITAB-PLANETYPE.
perform bdc_transaction using 'Z_TPSCREEN02'.
perform close_group.
endloop.
Kindly take a look at it and please help me out. I tried very hard. But i dont understand why?
Thanks
Shiv
Edited by: Sivaram Naga on Apr 15, 2008 5:46 PM -
No batch input data for screen SAPLKEAK 0300
Hi All ,
I am getting "No batch input data for screen SAPLKEAK 0300 " error while Posting a parked document.
When I checked the Park Document , I saw that Profitability Segment was missing.
Document is parked using standard FM "PRELIMINARY_POSTING_FB01" after that BDC is executed to fill Profitability segment.
Both FM and BDC are written in a custom FM. This FM is scheduled in a Job to run everyday and Park all the available Documents .
Everything used to work fine for last 2 years but suddenly since last month I am starting getting this error.
It does not happen for all the documents . And for the document for which it happens, if I try to park and post it again using the same process . It works fine.
It looks as if something obstruct the normal parking process when SAP job is running but I am not able to find out the reason.
Any pointers would be appriciated.
Thanks ,
RahulRahul,
Why don't you try to debug the background program? Use JDBG on the BG job and change the call transaction to display ALL SCREENS or ERROR ONLY and see where the issue is.
Thanks,
Vikram.M -
Hi Sap Gurus,
I just want to know, can we upload mass data to product catalog using standard batch input sessions ie using tcode-sm35.if yes then how?
Please help me.
I will definitely reward points..
Thanks in advance.
Regards,
ShwetaHi Srivathsan,
You can make use of Standard BAPI by LSMW.
Business Object BUS1116 Profit Center Group
Method CREATE Create
Message Type PROFITCENTERGROUP_CREATE
Basic Type PROFITCENTERGROUP_CREATE
Regards,
Sivaram. -
No batch input data for screen SAPMSSY3 0131 in Sales order IDOC
I am processing Sales order IDOCS in status 64 using RBDAPP01 .Some of them error out to status 51 with the message -
No batch input data for screen SAPMSSY3 0131 .
I know the standard IDOC inbound process tries to simulate the posting in a BDC like process.
Now, I went to we19 and the screen hangs up in a pop up in the partners tab with partner type 'WE' and my shipto (which is actually filled in the IDOC), missing..upon repeatedly hitting enter, it goes thru and an idoc is posted in status 53. But still unable to get through the root of this issue.
Any, insight will help.Hi,
I think the pop-up is generated through and user-exit for which recording is missing. This is why your idoc stays in status 64...
Handle the screen recording in the user exit IDOC_INPUT_ORDERS
user exit routine
PERFORM customer_function_dynpro.
FORM CUSTOMER_FUNCTION_DYNPRO.
CALL CUSTOMER-FUNCTION '002'
EXPORTING DXVBAK = XVBAK
DVTCOMAG = VTCOMAG
DLAST_DYNPRO = LAST_DYNPRO
DXMESCOD = IDOC_CONTRL-MESCOD
TABLES DXBDCDATA = BDCDATA
DXVBAP = XVBAP
DXVBEP = XVBEP
DYVBEP = YVBEP
DXVBADR = XVBADR
DYVBADR = YVBADR
DXVBPA = XVBPA
DXVBUV = XVBUV
DIDOC_DATA = IDOC_DATA
DXKOMV = XKOMV
DXVEKP = XVEKP
DYVEKP = YVEKP
EXCEPTIONS
USER_ERROR = 01.
Regards,
Krishnakumar -
Error in LSMW for MM41 - "No batch input data for screen SAPLMGMW 0100"
I'm trying to create an LSMW for MM41 to create new Retail articles en Mass. This will be used to only create the Basic view as other LSMW's already exist to maintain the other views. I've created the Recording and setup the LSMW already. My data is read correctly from the source file. When I execute the batch session it fails with the following error - "No batch input data for screen SAPLMGMW 0100".
I assume the fields in MM41 screen are not setup for batch processing. Could someone with more knowledge or experience in SAP Retail please confirm my assumption and explain where this is setup or provide an alternative to creating new articles en Mass via MM41? The direct input method is more suited for MM01 and not MM41.
Regards
FawaazHi Guys,
Thanks so much for all the prompt responses. My issue is now resolved.
The issue, I'm sure, was my default settings in the MM41 screen which the recording probably took into account or the batch program didn't like. I deleted my recording and created a new one but before I started the recording, I went into the MM41 screen and removed all default values AND view selections. I made my Basic view selection constant in my recording and also in my field mapping. My LSMW for MM41 is now working perfectly.
Just to answer some of the questions above, my LSMW was Reading and Converting the data in my source file fine. When I display the Read and Converted data, it shows the data fields in the correct place.
Thanks again.
Regards
Fawaaz
Maybe you are looking for
-
Part 2 Entry Not Created For CVD,ECess for Imports Purchase .
Hi I have created Imports Purchase Order With Condition Type For Basic Customs Duty,In CVD(JCV1) , ECS on CVD (JECV) , 2nd Edu Ecess and ADC . Then Passes IV For these Charges , If i capture Invoice in J1iex , then the system raise Err" No Part I exi
-
How do I get my contacts back that have been lost
How do I get contacts back that have been lost
-
Can't run Domain Configuration Wizard in GUI mode
I work on a Java development team where each developer has a local WebLogic 10.3.2 server for Windows x86 installed. A small handful of these developers are unable to run the Domain Configuration Wizard (i.e. <WLS_HOME>\common\bin\config.cmd) in GUI
-
Moving Average Price get updated
Hi MM Gurus, Please advise why the moving average price is populated when a material is a Standard Cost price control and the standard cost is updated on the Material Master. Having a Standard cost and a Moving average price on one material is confus
-
Photoshop Elements 11 freezing and creating 1000s of tmp files when saving images
Photoshop Elements 11 freezes up and then continues to create 1000s and 1000s AND 1000s of tmp files in the same location as I was trying to save the jpg. Any ideas on what is going on?