I copied RIEQUI20 to ZRIEQUI20 n i changed all include structures to Z include structure also in the program but its giving error in program:(
Can anyone please say me what i need to do for the same requirement??????????
I copied RIEQUI20 to ZRIEQUI20 n i changed all include structures to Z include structure also in the program but its giving error in program:(
Can anyone please say me what i need to do for the same requirement??????????
Hi All,
I have implemented RF transaction for picking (Deassigning + Assigning HU to process order ) . The transaction should work as standard transaction COPAWA.
I am facing issue while assigning HU to process where all the information is getting correctly updated except item number (VEPO-POSNR) but still assignment is happening succesfully.When I check POSNR for lower level HU's after assignment, it is updated as 0000 where as the values get updated properly using COPAWA for same HU.
While doing PGI it gives error because the item number is not matching. I have used FM's in the sequence below:-
COHU_ASSIGN_HU_READ
COHU_ASSIGN_HU
COHU_HU_UPDATE
All FM's are returning sy-subrc 0. What can be the possible reason? I am looking for the place where I can pass the POSNR which will get updated in database correctly so that PGI can be done successfully.
Thanks,
Rupali
Hi Guys,
I would like to write a program that create and process a batch input session. A message should be given out if the job didnt work (errors during the process).
Can you explain me what happen during each steps.
In example:
CALL FUNCTION 'JOB_SUBMIT'
EXPORTING
...
jobname = 'JOBNAME'
report = 'RFBIBL00'
EXCEPTIONS
.....
if sy-subrc <> 0
... Error message : job JOBNAME has error during the process
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
....
IMPORTING
......
A simple working example with explanation will be great.
what is meaning of SE in se38
Hi Gurus,
I have a requirement where I have to process a large inbound IDOC and split it into small transaction IDOCS using FM IDOC_INBOUND_SINGLE.
In large IDOC suppose I have 5 PO header records so 5 small transaction IDOCs will be generated.
So far it is working fine. The client requirement is that when any one one small IDOC creation fails due to system failure or buffer issue, it should stop further IDOC processing and also not update the previous create small IDOCs.
For ex: Suppose 2 small IDOCs are created through FM IDOC_INBOUND_SINGLE and third processing fails it should not update the previous 2 IDOCS as well and also stop further processing.
I can see FM IDOC_INBOUND_SINGLE creating small IDOCS but I am not sure whether it will update database or not.
Please let me know whether this FM will automatically stop processing of previous IDOCs too or else I need to do further checks or coding to achieve the same?
Looking forward to your cooperation.
Thank you.
Best Regards,
Varun D.
Hi Experts,
When i am adding component & Creating Requisition in operation 10 and raising Purchase Order, Production Order Operation component not displaying in Purchase Order .
Instead i am adding component in operation 10 and releasing that and creating requisition in Operation 20 and raisng Purchase Order, Production order operation components viewing in Purchase Order .
I am using message type NJPP.Please guide Customising or message type Problem?
Hi all,
i have a need to stop printing my smartform, according to the criteria that for a particular Ref. Doc., i have to see the list of Material Document.
If the last value of Material Document have a movement type "102", then it wouldn't get printed.
I have written this code but not getting desired result, please anyone correct my code(after seeing the screenshot).
DATA : ls_mseg type mseg,
it_mseg type mseg,
it_mseg1 type mseg,
it_mseg2 type mseg.
LOOP AT RG_MBLNR.
clear: ls_mseg.
select single * from mseg into ls_mseg
where mblnr in RG_MBLNR.
select single lfbnr from mseg into it_mseg where lfbnr = mseg-belnr.
select * from mseg into it_mseg1 where lfbnr = mseg-lfbnr.
select max( belnr ) from mseg into it_mseg2 where belnr = RG_MBLNR.
ENDSELECT.
IF sy-subrc eq 0.
DELETE RG_MBLNR.
ENDIF.
ENDLOOP.
Hi
Do we have below restriction in PSNNNN of customr infotype.
How many components a PSNNNN structure can have.
Note: In my case i have 153 fields and total field length is 2600 charcters.
Issue is when i genrate object from psnnnn, only 91 fields are generated in mp9nnnn00 screen.
If i create rest of the fields manually it comes only in output mode even if it is defined as input field.
Experts comments are awaited.
Regards
Ravi Grover
Hi All,
I require to update the ANLZV(System Condition Before Malfunction) ANLZN(System Condition After Malfunction) fields in Notification,
I have written code in“NOTIF_EVENT_SAVE” Badi and Passing the Values to cs_viqmel and i have used 'BAPI_ALM_NOTIF_DATA_MODIFY'and “NOTIF_EVENT_SAVE” (Exiting code) to trigger the BADi but the problem is the BADi is not triggering if don't chage any notification data.
I had to depend on these BAPi's because that was exiting code and even i could not find any other BAPi containing the ANLZV and ANLZN fields,
Can you please suggest me some other BAPi which contains the fields ANLZV and ANLZN or any other ways possible.
Thanks in Advance.
Syed Ghulam Ali.
Hi friends
These my requirement :
Use Function Module MD_CONVERT_MATERIAL_UNIT. Pass the following data:
I_MATNR = VBAP-MATNR I_IN_ME= VBAP-VRKME I_OUT_ME = “MSF” I_MENGE = VBAP-KWMENG & Execute
Use E_MENGE |
T006A-MSEHT Pass “MSF” (UOM as described above) to T006A-MSEHI. |
when i am writing the below code instead of getting conversion result iam getting kwmeng values in the output.....help me
if sy-subrc eq 0.
DATA: lv_msf LIKE mara-meins,
lv_menge TYPE ekpo-menge.
LOOP AT git_output INTO gwa_output.
SELECT msehi
mseht
FROM t006a
INTO TABLE git_t006a
WHERE msehi = 'MSF'.
lv_menge = gwa_output-kwmeng.
CALL FUNCTION 'MD_CONVERT_MATERIAL_UNIT'
EXPORTING
i_matnr = gwa_output-matnr
i_in_me = gwa_output-vrkme
i_out_me = 'MSF'
i_menge = lv_menge
IMPORTING
e_menge = lv_lfimg "lv_menge
EXCEPTIONS
error_in_application = 1
error = 2
OTHERS = 3.
IF sy-subrc = 0.
** Implement suitable error handling here
gwa_output-kwmeng = lv_menge.
ELSE.
lv_menge = gwa_output-kwmeng.
ENDIF.
MODIFY git_output from gwa_output TRANSPORTING kwmeng.
ENDLOOP.
ENDIF.
Hi friends,
my requirement is :
Pass the material number from the sales order in field OBJEK of table AUSP to obtain characteristic value (field ATWRT) for characteristic maintained in field (ATINN).
Pass the value of ATINN in CAWNT- ATINN and get ATWRT in CAWNT-ATZHL for EN language and get CAWNT-AT WTB
Display all the ATINN and ATWTB values separated by comma.
i have written the code below..... but its not working...can u help me guys
IF it_vbap[] IS NOT INITIAL.
* SELECT datuv
* atinn
* FROM ausp
* INTO TABLE it_ausp FOR ALL ENTRIES IN git_output
* WHERE objek = git_output-matnr
* LOOP AT it_ausp INTO gwa_ausp.
* DATA: lv_atinn TYPE string.
* CALL FUNCTION 'CONVERSION_EXIT_ATINN_OUTPUT'
* EXPORTING
* input = gwa_ausp-atinn
* IMPORTING
* output = lv_atinn.
*
* CONCATENATE gwa_ausp-atinn lv_atinn INTO gwa_ausp-atinn SEPARATED BY ','.
*
* APPEND gwa_ausp TO it_ausp.
* ENDLOOP.
* ENDIF.
Hi All,
In SAP 4.6C, I am trying to send a mail which consists text( in the body of email) in Czech Langauge using FM
SO_DOCUMENT_SEND_API1, every thing looks fine from SAP end, once the mail sent to outlook, where the text in Czech langugae becomes garbled. Since I am in SAP 4.6C i can't make use of code page. Could you please throw some light on this issue. Many Thanks, Regards, Kiran
Hi Experts,
I am working on ALV report which has 42 columns with 4 of them as dropdown lists.
the data is stored in a ztable.
i need to make all the fields of the output editable and when i change or edit any data at the output screen, it should automatically update my ztable.
i am trying with REUSE_ALV_GRID_DISPLAY function.
I'm even trying out the same using alv oops using fieldcatalog type lvs_s_fct,lvc_t_fct...and set_table_for_display..creating screen..container..e.t.c
REQUIREMENT:
ALV REPORT USING
TABLE WITH 42 FIELDS WITH DATA: YETISALAT SAY F1,F2,F3...F42 AS COLUMN NAMES ALL EDITABLE.
F1,F2,F3,F4 ARE FIELDS WITH DROPDOWN...WHEN I UPDATE ANY FIELD INCLUDING DROPDOWN SELECTION ..IT SHUD SAVE THE SAME IN MY TABLE.
SHOULD I APPROACH USING REUSE_ALV_GRID_DISPLAY OR ALV OOPS.
i will appriciate if u guys help with the code.
Thanks and Regards,
Abhishekh Narsingpuria
Hello,
I am working on a requirement where i need to pull records of users in other system from ECC. I found a FM 'SUSR_USERS_GET_FROM_REMOTE' which can retrieve the user details such as valid from , last log on in the other system. My requirement is to update the valid to of the user in the other system through my program. I could not find a FM which can do this task. Can some one help me to find a solution to update the user logon details in the other system from ECC?
Tnx,
Prem
Hi All
I've created one cost center (using KS01) and one cost center group (using KSH1) now I want to assign this cost center to the cost center group.
manually I can do it using KSH2 transaction code but I want do this through an ABAP program so I just looking for function modules if there are any.
Please help me with this.
thank you.
Hello,
I have a requirement to meet, let me try to explain my scenario in detail.
I have created a RFC enabled Function module in SAP ABAP, the function module contains a structure named POSITIONTAB1.
I have also created RFC Destination name for the function module.
Now I need to store the values of structure (POSITIONTAB1) in ASP.NET table.
How can I achieve this scenario?
Can anyone give me the code and instruction?
This is the structure of the POSITIONTAB1:
Position_Id | Position_txt | Report_to | Job_id | Job_txt |
258741 | IT Manager | 547896 | 54697 | Manager |
878965 | SAP Admin | 741399 | 87846 | Admin |
|
|
|
|
Hello Guys,
I am new to SAP ABAP.. I got an requirement in smartform where i need not display the print preview window and also i want to display the preview in the form of PDF. Is it possible?
Hi All,
I have a requirement where I need to stop a report from dumping in case internal table memory can't be expanded farther.
Error : TSV_TNEW_PAGE_ALLOC_FAILED
This dump occurs when a particular internal table has huge no of records and can not take farther.
I had two ways in mind to avoid this dump.
1. Handle this exception.
2. Determine memory allocated for this work process (report) and then anticipate memory that will be required for the report.
If that is more than allocated memory, throw a message saying 'Amount of data too big.'
The first way I found is not possible.
Can anyone help me find a way to have the second method??
May be some FM or call to determine the current memory allocation to this report and then somehow I will try to anticipate the memory required
for the report.
Regards,
Saurabh.
Hi Guys,
I am looking for a way to get back to the selection screen when an error occur during the program processing.
Could this work or is there a restriction using it?
MESSAGE s001(T00) DISPLAY LIKE 'E' .
Leave list-processing.
Thanks for your advice.
Hi Guys,
I have another question concerning automatic processing of jobs.
Steps:
1 - JOB OPEN
2- JOB SUBMIT - error occurs and was handle with example
MESSAGE s001(T00) DISPLAY LIKE 'E'.
Leave list-processing.
3- JOB CLOSE
Job close will not happen because of "Leave list-processing."
Is that a problem? should an opened job always be closed even if an error occur while processing?
Thanks