Help PA30 batch input (infotypes 45, 267, 15 )
Hi developers..
Any code for this batch input?
im going to do a batch input for the following infotypes in PA30 transaction.
267
45
15 sub 9900
any help is more than welcome
tks in advance
Hi
You can use FM <b>HR_INFOTYPE_OPERATION</b> for CREATING inforecords.
For eg:
p0045-pernr = pernr.
p0045-subty = subty.
p0045-begda = begda.
p0045-endda = endda.
p0045-darbt = darbt.
p0045-dkond = dkond.
p0045-tilbt = tilbt.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = '0045'
number = pernr
subtype = subty
record = p0045
operation = create
nocommit = nocommit
IMPORTING
return = return
key = bapikey
EXCEPTIONS
OTHERS = 0.
Regards,
Raj
Similar Messages
-
HI,
if u go to transaction CNE1 & i put project number ,
and i remove the v from TEST RUN and i Execute,
i get pop-up with message : Actual values can be deleted.
i don't wont this pop-up how can i neutralize it?
i try with batch input but i don't success ,i do save after i push V TO POP-UP and when i check it in process the massege still come,
what i do wrong?
plz help
i reward
RegardsHi shyla kumar
i try it but when i check it in process i get this massage maybe u have idea?
Actual values can be deleted
Message no. 7A060
Diagnosis
When you determine the POC or ea
current one, the actual values f
working in are deleted.
System response
Procedure
Procedure for System Administration
Regards -
Physical inventory With the help of Batch input method
Dear all;
Can anyone tell me the procedure of Physical inventory procedure with batch input method ?
kindly Give me the step .
Thanking you;
Regarsds;
Joydeep mukherjeeHi,
Go through this following code,
selection-screen begin of block B2 with frame title TEXT-005.
selection-screen begin of line.
parameters: P_BIRPT type C radiobutton group RAD1 default 'X' user-command UCOMM.
selection-screen comment 3(20) TEXT-002 for field P_BIRPT.
selection-screen end of line.
selection-screen begin of line.
parameters: P_COLRPT type C radiobutton group RAD1.
selection-screen comment 3(20) TEXT-003 for field P_COLRPT.
selection-screen end of line.
selection-screen begin of line.
parameters: P_PAYRPT type C radiobutton group RAD1.
selection-screen comment 3(20) TEXT-004 for field P_PAYRPT.
selection-screen end of line.
selection-screen end of block B2.
selection-screen begin of block B1 with frame title TEXT-001.
select-options: SO_KTOKD for KNA1-KTOKD modif id M4,
SO_BLART for BSIS-BLART modif id M2.
parameters: P_PAID type ZCLEAR modif id M3 as listbox visible length 20.
selection-screen end of block B1.
at selection-screen output.
loop at screen.
if P_BIRPT eq 'X'.
if SCREEN-GROUP1 = 'M2' or SCREEN-GROUP1 = 'M3' .
SCREEN-INVISIBLE = '1'.
SCREEN-ACTIVE = '0'.
modify screen.
endif.
elseif P_COLRPT eq 'X'.
if SCREEN-GROUP1 = 'M3'.
SCREEN-INVISIBLE = '1'.
SCREEN-ACTIVE = '0'.
modify screen.
endif.
elseif P_PAYRPT eq 'X'.
if SCREEN-GROUP1 = 'M2'.
SCREEN-INVISIBLE = '1'.
SCREEN-ACTIVE = '0'.
modify screen.
endif.
if SCREEN-GROUP1 = 'M4'.
SCREEN-INVISIBLE = '1'.
SCREEN-ACTIVE = '0'.
modify screen.
endif.
endif.
endloop.
Thanks
Anil D -
HI Experts ,
if u go to transaction CNE1 & i put project number ,
and i remove the v from TEST RUN and i Execute,
i get pop-up with message : Actual values can be deleted.
i don't wont this pop-up how can i neutralize it?
i Try with Batch input, i recored the process and when i get the pop-up i push V and save,
but when i try to run process again i get the pop-up again .
I Think that here is the problem this is the pop-up (in bold i check in appl.data ) i can change it?
T CNE1
SAPLKAZB 1000 X
BDC_CURSOR RKAUF-TEST
BDC_OKCODE =RUN
RKAUF-TEST
*BDC_SUBSCR SAPLCNEV_01_MASTER_DATA* 0550BLOCK1
LKP74-PSPID E0-0005
BDC_SUBSCR SAPLKAZB 2450BLOCK2
RPSCO_X-VERSN_EV N01
RKAUF-TO 5
RKAUF-GJAHR 2008
Regardshi,
sorry in this line :
BDC_SUBSCR SAPLCNEV_01_MASTER_DATA 0550BLOCK1
Regards -
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. -
HI,
I wont to avoid message in TR. cne1 .
when i put project & i remove the V from Processing Options (test run) And Excute i get pop-up with text:
Actual values can be deleted and i don't wont it (pop-up)
how can i remove it?
i try with batch-input but i don't success .
how i can do that?
i reward kindly for helping answer .
RegardsHi Ramiro Escamilla ,
Thanks for your replay i am desperate,
i try K_ABC_PROGR_DEGREE_FOR_PROJECT
but it don't exist,
i find Enhancement GRWTAUTH maybe i can do it in it?
i don't now to use user exit maybe you can give me direction?
Best REgards -
Problem Recording FMX1 Transaction for Batch Input. Plz Help
Hi Everyone!!!
I'm using the Transaction SHDB to create a new recording over the FMX1 Transaction for a Batch Input. The strange thing is that when i'm about to save the recording i get the following error:
"A runtime error: SAPSQL_ARRAY_INSERT_DUPREC"
I tried using the transaction FMX1 with the same data(constants), and it works perfectly. And I know it's not a duplicated key or anything, it works fine when i use the transaction.
This lead me to think that the problem is somewhere when i try to record the transaction.
Any Ideas of how to fix the problem, or does anyone knows if its a SAP problem that needs some kind of fix.
Any help would be really aprreciated!
Thx again.Try using recording method and try to post 1 item...U will get the recording. In this recording, the field might be shown up which can be used.
-
Please help me with some questions with batch input session?
hello everyone.
I come to some questions like
1 What is a batch input session ,
2 What is the alternative to batch input session?
3 An ABAP program creates a batch input session. We need to submit the program and the batch session in back ground. How to do it?
would you please help me with the questions, couldn't thank you more.
Best regards
FrankHi
Batch Input Session:
BATCH INPUT SESSION is an intermediate step between internal table
and database table. Data along with the action is stored in session
ie data for screen fields, to which screen it is passed, program
name behind it, and how next screen is processed.
Three processing modes of executing Batch Input Session :-
Run Visibly : You can correct faulty transactions online & work step-by-step through the transactions not yet executed.
Display Errors only : You can correct faulty transactions online. Transactions not yet executed, but without error, run in the background.
Run in Background .
2) What is the alternative to batch input session?
Call transaction.
3) An ABAP program creates a batch input session. We need to submit the program and the batch session in back ground. How to do it?
go to SM36 and create background job by giving
job name,job class and job steps (JOB SCHEDULING) -
LSMW for Listings via Batch Input recording - Help ?
Hi
Has anyone had any luck with trying to upload Listings via LSMW at all ?
I have created on, via batch input recording
I have lots of records with entries from 1 to 16
I have recorded enough entries to cope with 16
However when i try to execute the batch session, if there is only 1 material that requires an entry, then i cannot get past this screen, the LSMW is wanting entries for the next line and so on
I presume I must have to put some sort of a ruling in per Material number it is expecting, so if it is not poupulated then to move on, but to save the entries that have already been made
I do not have much experience in writing rules into LSMW so
Any ideas / help would be much appreciated
Thanks
TonyHello Tony,
In the past I have suggested this to few people and were successful with this link, please try, but only thing you need to take care is use VB02 instead of XK01 with reference to this link what I am trying to say.
http://youtu.be/fz94PcvtdZw
Regards,
Sridhar. -
HELP with a Batch Input - Transaction VF01
Hi
It's me again, with another question... this time it's a Batch Input, creating a delivery with more than 20 items, how can I do with the error
Field KOMFK-VBELN(69) does not exit in the screen SAPMV60A 0102
and if I click on OK-Code how to indicate (in code lines) to simulate the process <b>EDIT</b> (From Menu bar) <b>More Documents F7</b>
Thanks in advance!!!
TokioThanks to all of you...
These are my fist lines to answer one of my posted problems ...
Preview code lines:
perform bdc_dynpro using 'SAPMV60A' '0102'.
loop at entregas.
move sy-tabix to fila.
concatenate 'KOMFK-VBELN(' fila ')' into cadena.
perform bdc_field using cadena entregas-entrega.
IF FILA GE '20'.
PERFORM BDC_FIELD USING 'BDC_OKCODE' '=P+'.
MOVE SY-TABIX TO FILA.
CONCATENATE 'KOMFK-VBELN(' FILA ')' INTO CADENA.
PERFORM BDC_FIELD USING CADENA ENTREGAS-ENTREGA.
ENDIF.
New code lines:
CLEAR ENTREGAS.
PERFORM BDC_DYNPRO USING 'SAPMV60A' '0102'.
LOOP AT ENTREGAS.
MOVE SY-TABIX TO FILA.
IF FILA LT 22.
CONCATENATE 'KOMFK-VBELN(' FILA ')' INTO CADENA.
PERFORM BDC_FIELD USING CADENA ENTREGAS-ENTREGA.
ENDIF.
IF FILA EQ 22.
CONCATENATE 'KOMFK-VBELN(' FILA ')' INTO CADENA.
PERFORM BDC_FIELD USING CADENA ENTREGAS-ENTREGA.
PERFORM BDC_OKCODE USING '=FKAN'.
PERFORM BDC_DYNPRO USING 'SAPMV60A' '0102'.
ENDIF.
IF FILA GE 23. BREAK FOSTKFRT.
DATA: FILA2(2), CNT2 LIKE SY-TABIX VALUE 2. MOVE CNT2 TO FILA2.
CONCATENATE 'KOMFK-VBELN(' FILA2 ')' INTO CADENA.
PERFORM BDC_CURSOR USING CADENA.
PERFORM BDC_FIELD USING CADENA ENTREGAS-ENTREGA.
CNT2 = CNT2 + 1.
ENDIF.
ENDLOOP.
CLEAR CNT2.
I hope these lines could help.
Regards
Tokio -
Error: No batch input data for screen SAPMZVKDIALOGDEMO 1000 Help Needed
Hi Experts!
I wrote a program for BDC. I am attaching the code herewith. When i am trying to process the session in SM35, i was getting the error: No batch input data for screen SAPMZVKDIALOGDEMO 1000. Can anyone please tell me, what am i doing wrong.
Thanks.
REPORT zvkbdcdemo01.
DATA: bdc_tab LIKE bdcdata OCCURS 6 WITH HEADER LINE.
DATA: session LIKE apqi-groupid VALUE 'Session #1'.
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
client = sy-mandt
* DEST = FILLER8
group = session
* HOLDDATE = FILLER8
* KEEP = FILLER1
user = sy-uname
* RECORD = FILLER1
* PROG = SY-CPROG
* IMPORTING
* QID =
* EXCEPTIONS
* CLIENT_INVALID = 1
* DESTINATION_INVALID = 2
* GROUP_INVALID = 3
* GROUP_IS_LOCKED = 4
* HOLDDATE_INVALID = 5
* INTERNAL_ERROR = 6
* QUEUE_ERROR = 7
* RUNNING = 8
* SYSTEM_LOCK_ERROR = 9
* USER_INVALID = 10
* OTHERS = 11
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
PERFORM fill_bdc_tab.
CALL FUNCTION 'BDC_INSERT'
EXPORTING
tcode = 'ZVKTR001'
* POST_LOCAL = NOVBLOCAL
* PRINTING = NOPRINT
* SIMUBATCH = ' '
* CTUPARAMS = ' '
TABLES
dynprotab = bdc_tab
* EXCEPTIONS
* INTERNAL_ERROR = 1
* NOT_OPEN = 2
* QUEUE_ERROR = 3
* TCODE_INVALID = 4
* PRINTING_INVALID = 5
* POSTING_INVALID = 6
* OTHERS = 7
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'BDC_CLOSE_GROUP'
* EXCEPTIONS
* NOT_OPEN = 1
* QUEUE_ERROR = 2
* OTHERS = 3
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*& Form fill_bdc_tab
* text
FORM fill_bdc_tab.
REFRESH bdc_tab.
PERFORM populate_bdc_tab USING:
'1' 'SAPMZVKDIALOGDEMO' '1000',
' ' 'SFLIGHT-CARRID' 'LH',
' ' 'SFLIGHT-CONNID' '0400',
' ' 'SFLIGHT-FLDATE' '07/07/2007',
' ' 'SFLIGHT-PRICE' '1982',
' ' 'SFLIGHT-CURRENCY' 'EUR',
' ' 'SFLIGHT-PLANETYPE' 'A310-300',
' ' 'BDC_OKCODE' 'CREA'.
ENDFORM. "fill_bdc_tab
*& Form POPULATE_BDC_TAB
* text
* -->FLAG text
* -->VAR1 text
* -->VAR2 text
FORM populate_bdc_tab USING flag var1 var2.
CLEAR bdc_tab.
IF flag = '1'.
bdc_tab-program = var1.
bdc_tab-dynpro = var2.
bdc_tab-dynbegin = 'X'.
ELSE.
bdc_tab-fnam = var1.
bdc_tab-fval = var2.
ENDIF.
APPEND bdc_tab.
ENDFORM. "POPULATE_BDC_TABThis normally means that you are trying to insert data on a screen for which a particular field is not available.
So check screen number, screen fields and report name. In case of screen fields, use F1, F9 (technical information), and check the name of the screen field for batch processing (all the way at th bottom of the pop-up). This can differ from actual name of the screen field.
If all this is ok, try to create a recording of the transaction with SM37. -
Problems Batch Input BDC-okCODE = LIST
Hi experts!!
I've a batch Input that must change the data from the infotype 2001. I do this steps...
1. Go to PA30
2. Insert the pernr and the code 2001
3. Press the button LIST
4. Choice the row I want to change, only the rows that are ocked
5. Update and save...
I'm trying to do this with a Batch Input, but I don't know how to indicate what row I want to change...I have a data that has all the positions that are locked in 2001 but I don't know how to know what row is from what row of my table... can anybody help me?
Thanks a lot
Regards,
RebecaHi Rebeca,
It is difficult to find the locked recods dynamically using your BDC approach.
The other way to delete the locked records is....
Select the all the records from PA2001 infotype where SPRPS equal to 'X' ( Locked Entries ) into the itab internal table.
later Loop the table and delete the record from 2001 using BDC on PA30.
Do the recording for deleting individual record. -
No batch input data for screen MPS00100 2000
While uploading the data in infotypes 1000 and 1001 through LSMW, an error is appearing, which says, " No batch input data for screen MPS00100 2000". Please help as the same LSMW was used to upload the same data in testing clients as well.
Is this an authorization issue??Hi
Plz chk the SPRO -
>Personnel Management----->Personnel Administration--->Customizing User Interfaces-->Change Screen Modifications
that screen is available
With regards
Vikram.N -
Making a batch input without questions
Hello,
I'm trying to connect through a transaction PP01 infotype that I created to the table HRP1001. Thus I created a button in the layout of my infotype and I want when you press this button it back it runs the transaction PP01 again with the values pre-populated. I've done batch input, but I wonder if there is any way to do it without the user need to intervene when using 'A' class on call transaction
Best Regards.hi Ali Sanchez
Use report RSBDCSUB.
submit rsbdcsub and return.
Hope it will help you
Regards
deva -
Batch input of a list of values
Hello,
I have to make a batch input of a list.
The screen of the transaction contains a list with 9 lines, if i enter a value in one, another line is added to the list.
I did record this transaction and have an incremented list in the generated program that looks like this :
it begins whith ADRPCIT-POST_CODE(01) and increments till 09
perform bdc_dynpro using 'SAPLSZRL' '0400'.
perform bdc_field using 'BDC_CURSOR'
'ADRPCDCITY-POST_CODE(08)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'ADRPCDCITY-POST_CODE(08)'
record-POST_CODE_08_017.
perform bdc_dynpro using 'SAPLSZRL' '0400'.
perform bdc_field using 'BDC_CURSOR'
'ADRPCDCITY-POST_CODE(09)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'ADRPCDCITY-POST_CODE(09)'
record-POST_CODE_09_018.
perform bdc_dynpro using 'SAPLSZRL' '0400'.
perform bdc_field using 'BDC_CURSOR'
'ADRPCDCITY-POST_CODE(09)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPLSZRL' '0400'.
perform bdc_field using 'BDC_CURSOR'
'ADRPCDCITY-POST_CODE(07)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'ADRPCDCITY-POST_CODE(07)'
record-POST_CODE_07_019.
perform bdc_dynpro using 'SAPLSZRL' '0400'.
perform bdc_field using 'BDC_CURSOR'
'ADRPCDCITY-POST_CODE(08)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'ADRPCDCITY-POST_CODE(08)'
record-POST_CODE_08_020.
perform bdc_dynpro using 'SAPLSZRL' '0400'.
perform bdc_field using 'BDC_CURSOR'
'ADRPCDCITY-POST_CODE(09)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'ADRPCDCITY-POST_CODE(09)'
record-POST_CODE_09_021.
perform bdc_dynpro using 'SAPLSZRL' '0400'.
perform bdc_field using 'BDC_CURSOR'
'ADRPCDCITY-POST_CODE(09)'.
perform bdc_field using 'BDC_OKCODE'
'=SAVE'.
What i did is setting the value of the incremented number to 09 if it's greater than 09 but i'm not sure it's the right way to do it cause i get only 9 records
My code :
LOOP AT gt_record ASSIGNING <fs_record>.
IF sy-tabix > 9.
ligne = 9.
ELSE.
ligne = sy-tabix.
ENDIF.
IF ligne > 1.
IF city_mem EQ <fs_record>-city_code_001.
flag_end = 'X'.
ELSE.
PERFORM bdc_field USING 'BDC_OKCODE'
'=SAVE'.
PERFORM bdc_transaction USING 'SR10'.
CLEAR flag_end.
ENDIF.
ENDIF.
city_mem = <fs_record>-city_code_001.
IF flag_end NE 'X'. "premier passage
PERFORM bdc_dynpro USING 'SAPLSZRC' '0100'.
PERFORM bdc_field USING 'BDC_CURSOR'
'ADRCITYD-CITY_CODE'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'ADRCITYD-CITY_CODE'
<fs_record>-city_code_001.
PERFORM bdc_field USING 'ADRCITYD-COUNTRY'
'FR'.
PERFORM bdc_field USING 'ADRCITYD-LANGU'
'F'.
PERFORM bdc_dynpro USING 'SAPLSZRC' '0200'.
PERFORM bdc_field USING 'BDC_CURSOR'
'ADRCITYD-COMMU_CODE'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'ADRCITYD-FLAG_STRTS'
'X'.
PERFORM bdc_field USING 'ADRCITYD-CITY_NAME'
<fs_record>-city_name_005.
PERFORM bdc_field USING 'ADRCITYD-REGION'
<fs_record>-region_006.
PERFORM bdc_field USING 'ADRCITYD-TIME_ZONE'
'CET'.
PERFORM bdc_field USING 'ADRCITYD-COMMU_CODE'
<fs_record>-commu_code_008.
PERFORM bdc_field USING 'ADRCITYD-DEF_LANGU'
'F'.
PERFORM bdc_dynpro USING 'SAPLSZRC' '0200'.
PERFORM bdc_field USING 'BDC_CURSOR'
'ADRCITYD-CITY_NAME'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=PSTC'.
PERFORM bdc_field USING 'ADRCITYD-FLAG_STRTS'
'X'.
PERFORM bdc_field USING 'ADRCITYD-CITY_NAME'
<fs_record>-city_name_005.
PERFORM bdc_field USING 'ADRCITYD-REGION'
<fs_record>-region_006.
PERFORM bdc_field USING 'ADRCITYD-TIME_ZONE'
'CET'.
PERFORM bdc_field USING 'ADRCITYD-COMMU_CODE'
<fs_record>-commu_code_008.
PERFORM bdc_field USING 'ADRCITYD-DEF_LANGU'
'F'.
* PERFORM bdc_dynpro USING 'SAPLSZRL' '0400'.
ENDIF.
PERFORM bdc_dynpro USING 'SAPLSZRL' '0400'. "ajout2
lignec = ligne.
CONCATENATE 'ADRPCDCITY-POST_CODE(' lignec ')' INTO cp.
PERFORM bdc_field USING 'BDC_CURSOR'
cp.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING cp
<fs_record>-post_code_01_016.
ENDLOOP.
* deniere sauvegarde
PERFORM bdc_field USING 'BDC_OKCODE'
'=SAVE'.
PERFORM bdc_transaction USING 'SR10'.
CLEAR flag_end.
PERFORM close_group.
PERFORM close_dataset USING dataset.
Can somebody help me on this one ?
Thank you,
Tom.If it is table control you may have to pass PageDown after 9 rec & again start with (01)
record number remains 1 to 9 but Top_line parameter will change to 9or10 after 1 pagedown.
Cxould be P++
you can record Pagedown & check recording.
Maybe you are looking for
-
When FMLE stopped,Remote RTMP stream to FMS 4.5 with rtmfp?
When FMLE stopped,Remote RTMP stream to FMS 4.5 with rtmfp? edit "applications/multicast/main.asc" ? HELP ME !!! THANKS!!! * File: main.asc * The server-side portion of the multicast sample application. * This app accepts publish and unpublish reque
-
How can I save the screenshot image in different names? Example:When button 1 is click save in screenshot1.jpg, then button 1 is click again save in screenshot2.jpg ......etc Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.
-
Is it possible to change the default "oraesb" database schema ?
Wondering if it is possible to configure ESB to use a database schema other than the default one (i.e oraesb). Motivation: I have one database that I'd like to leverage for multiple mid-tier installations. From the IRCA script, I get the impression t
-
Hello, I recently acquired a 30 Inch Cinema Display that was having some screen issues. After first hooking up the monitor to my MacBook Pro laptop, it worked great for about 10 minutes and then I noticed the screen showing burn marks on the right si
-
hello all I charged my MBP to full, and unplugged it when it was fully charged. Now that I have unplugged it, Inside the battery (Top of tool bar) there is an X. When I plug back into the adapter,it stays green even after I've been on it for about th