SHD0 for VA02
Hi i want to make payment terms not changed in VA02 so i try to use SHD0 .
VBKD-ZTERM in program SAPMV45A screen 4303 but when i try to make invisible it is not working by transaction variant ., any where am i missing ..i avtivated the transaction variant also
Hi
Have you given the business object BUS2032 . If you have given then also you are not able to get then take the help of ABAP'er
The process is Use SHD0, t.code , VA02 then business object BUS2032 you will get the programs then check where you want to disable .
Regards
Srinath
Similar Messages
-
Problem in SHD0 about creation of Transaction Variant for VA02
Hi All,
My goal is to create a Transaction Variant for VA02 Variant that doesn't display the "Object Status" button under the page "Status" in the Header of Sales Orders.
To do so, I created a Transaction Variant in SHD0 (named ZTEST_VA02), the creation process creates the Screen Variants too, and i named them ZTEST_VA02_<dynpro_number>.
The Dynpro where I can found the button to hide is the SAPMV45A / 4305, so the Screen Variant Name is ZTEST_VA02_4305.
My problem is that If I test the single Screen Variant (ZTEST_VA02_4305) using the button in SHD0, I can see the whole transaction with my modify (the "Object Status" button is hidden), but testing the entire Transaction Variant ZTEST_VA02 I cannot see the modify and the Button is pretty visible.
I even tried to create a Transaction with Variant, in SE93, that launches the transaction VA02 with the variant ZTEST_VA02, and I tried to assign the Transaction Variant I created as a Standard Variant, in both cases the problem is that the modify doesn't appear to be applied.
For me this is a real mistery because If the Screen Variant is right (It works) I would expect to see that even the Transaction Variant is correct.
Does Anyone have (or have ever had) this problem?
Thank You very much for your attention.
Regards,
Claudio
PS: I forgot to mention that I'm working on SAP ECC 6.0
Edited by: Claudio Distrutti on Apr 4, 2008 11:47 AMI too facing the similar problem when assigning the screen variant to transaction variant.
screen number where the 'Obj.Status' button is ' 4456
if executing the screen variant alone , it works perfectly,
once i assing to the transaction variant and test, the 'Obj.Status' button is visible.
does anyone got the solution?
Edited by: Thomas Paul jr on Oct 21, 2010 1:59 PM -
Hi,
I have a requirement according to which I need to make few fields of transaction VA02 as output only.
While we create a sales order using VA01, all fields should be writable but when we open the sales order in change mode(using VA02) fields Ship-to-party, Net-Value should not be editable whereas all others should be. I have created a transaction variant for VA02 and also activated it. But the changes are not getting reflected when I open a sales order using VA02.
Can any body help please. Thanks in advance.
Regards,
DhirajHI
After Creation of Screen for reflecting changes you have to active screen variant
Screen Activation procedure:-
STEP1: T-code:SHD0 --> Enter transaction code: VA02
STEP2: Click on "Stanrad Variant" tab --> Again choose "Standard variants tab"
STEP3: Enter your variant name --> click on Active(Button)[it is in right side of inputfield name]
Appreciate points if it is useful.
Thanks & Regards
Sudheer Madisetty -
Hi,
i have the following requirement from my customer:
1) In va02 , in the menu > Sales document> delete, the delete option should be in disable mode.
Can you please let know which exit i have to modify/create to meet the above requirement.
Regards,
Chandanhello,
I don't know abt the exit but you can create a transaction variant for va02.
Tcode SHD0.
Regards,
Neelambari -
Transaction variant for VA02 is not working for few fields
Hi All,
I have created a transaction variant for VA02. Made the necessary code changes for populating the variant name in MV45AFZZ. It is working fine for all the screens and all the fields except for second screen of VA02.
First screen - Enter sales order number.
Second screen - Overview screen.
In second screen, I have disabled all the screen fields. When I run the variant, all fields are disabled except sold-to party, ship-to party and create sold to party ICON. All these fields belongs to screen 4701.
In the transaction variant I can see that these fields screen attributes set to output only. I don't see anything different for these fields compared to other fields.
First I thought it is because of mandatory fields. But some other mandatory fields are disabled after my changes. Why is this happening only for these 3 fields (Only for screen 4701 I can say).
Surprisingly, if I do any action like enter/select other tab, these fields are getting disabled.
Your inputs on this are highly appriciated.
Thanks,
Vinod.
Edited by: Vinod Kumar Vemuru on Dec 31, 2009 10:01 AMThanks, happy to see the reply.
But I have given the correct names as suggested by you.
I have also created a Transaction ZVA02 as i dont want this variant to be applied on standard VA02.
It is working on first screen but not on subsequent screens. Am i missing something, some link or activation?
Transaction Code VA02 Change Sales Order
Transaction Variant ZTRN_VA02 testing
ZTRN_VA02_0102 SAPMV45A 102
ZTRN_VA02_4001 SAPMV45A 4001
ZTRN_VA02_4021 SAPMV45A 4021
ZTRN_VA02_4050 SAPMV45A 4050
ZTRN_VA02_4401 SAPMV45A 4401
ZTRN_VA02_4701 SAPMV45A 4701
ZTRN_VA02_4900 SAPMV45A 4900
when I run this the first screen is applied correctly but what happens next. -
Hi Experts,
I am using CALL TRANSACTION in ALV for VA02, but I want to go on item number. The following form i have used and it is working but I want to go on perticular item number in va02. pl. guide me.
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
CASE r_ucomm.
WHEN '&IC1'.
IF rs_selfield-fieldname = 'VBELN'.
READ TABLE it_out INTO wa_itab INDEX rs_selfield-tabindex.
SET PARAMETER ID : 'AUN' FIELD wa_itab-vbeln .
'APO' FIELD wa_itab-posnr.
CALL TRANSACTION 'VA02' AND SKIP FIRST SCREEN.
ENDIF.
ENDCASE.
ENDFORM.
*=====================================
YusufHi,
use BDC for that....
check out the BDC part of coding for it.
REFRESH itab_bdcdata.
CLEAR itab_bdcdata.
*initial screen
PERFORM bdc_dynpro USING 'SAPMV45A'
'0102'.
PERFORM bdc_field USING 'BDC_CURSOR'
'VBAK-VBELN'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'VBAK-VBELN'
<b> g_t_atpma4-vbeln.</b>
*item overview screen
PERFORM bdc_dynpro USING 'SAPMV45A'
'4001'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=POPO'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RV45A-MABNR(04)'.
*popup screen (move item to top)
PERFORM bdc_dynpro USING 'SAPMV45A'
'0251'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RV45A-POSNR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=POSI'.
PERFORM bdc_field USING 'RV45A-POSNR'
<b>g_t_atpma4-posnr.</b>
*item overview screen
PERFORM bdc_dynpro USING 'SAPMV45A'
'4001'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'BDC_CURSOR'
'VBAP-POSNR(01)'.
PERFORM bdc_field USING 'RV45A-VBAP_SELKZ(01)'
'X'.
*Call transaction VA02
CALL TRANSACTION 'VA02' USING itab_bdcdata
MODE 'E'
UPDATE 'A'
MESSAGES INTO itab_bdcmsg.
Patil -
How to config NACE to print for VA02 ?
Hello gurus,
In the transaction VA02 I need to print a billing request . but I do not know how to add new message type in the transaction NACE . ( document type Deb.MemoReq. f.Ctrct) . And in my system , when I use VA02, header output ...there is not message type for me to choose to print . please help me to config my NACE.
Thanks in advancehi,
in my case there are many default message type for APP V1 . My purpose is how to create new message for VA02 ( document type : Billing request ) .
some message in V1 like below , But in VA02, there is nothing to select when we use OUTPUT ./HEADER/EDIT to print out
AF00 Inquiry
AN00 Quotation
BA00 Order Confirmation
BAIN
BAV0 Order confirm. VMI
ESYM Internal Output
JEXC IN:Excise Invoice
KO00 Contract
KRML Credit Processing
LP00 Scheduling Agreement
MAIL Internal Output
RD03 Cash Sale
SDB MatSafetyDataSheet
thanks -
Different availability check for VA01 as for VA02
Hello,
For the availability check, during sales order creation (VA01), the system takes into account the requirements transferred to MRP. In some cases, an order cannot be confirmed, even if there is sufficient stock according to CO09.
If I change the order (VA02) and run the availability check again, now the system can confirm the order.
It seems that SAP performs a different type of availability check during VA01 as for VA02. Does anybody know where in SPRO I can customize the settings for this?Hi there,
In VA01 system doesnot confirm the order even the stock are available because the available stocks are reserved for other orders which are logged in prior to your order.
There is no separate availability check for VA01 & VA02.
If at all items are confirmed in VA01, why again you have to do availability check in VA02?
When you say that when you change the order in VA02, what changes you have made? Changes to any material data, customer master or delivery dates will again trigger availability check.
In VA02 if you want to see the available quantity you have to click on display availability. Not Check Item availability. If you click on Check item availability, tehn system will again carry availability check.
Regards,
Sivanand -
Hi
The issue is related to my earlier thread :-
[Contract Quantity not updated after assigning Reason for Rejection in Order;
Now to resolve this issue we need to keep the Message V4 096 as "warning", presently we set it as an "error" message. Now as soon as we make it as warning message, user will be able to either increase or decrease the quantity of Sales Order in VA02. But our requirement is that User should be able to reduce the quantity of Sales Order but should NOT INCREASE the quantity of sales Order.
So reduction of quantity should issue a "warning " message due to SAP Standard messge V4 096, whereas increase in quantity must give an "error" meassage, this require some enhancement.
One more thing I would like to understand that, since this process will take place in VA02, so in the table VBAP-KWMENG the existing quantity will be mainatined. While changing the quantity in VA02 the said field will not be updated until we save the document, so how can we compare the chnaged quantity with the already existing quantity before saving the document.
The change in quantity will be done in transaction VA02.
Please guide me how can I achieve my above said requirement. If some exit is required then please let me know the exit and the possible logic.
Thanks and Regards
Amitesh AanndHi,
If you are implementing the logic in include 'MV45AFZZ' then internal table
XVBAP contains the changed value and YVBAP contains the unchanges values.
Regards,
Narayan -
BDC for VA02 to update Sales Order
Hi,
I'm try to run a BDC to update partner data on the sales order header data but I get this error when I executed the BDC.
Field 'GVS_TC_DATA-REC-PARTNER(8) does not exist in the screen SAPMV45A 4002
Please advise. The code is as shown below:
REPORT zstd21 NO STANDARD PAGE HEADING
LINE-SIZE 255.
INCLUDE bdcrecx1.
DATA:
BEGIN OF itab OCCURS 0,
vbeln LIKE vbak-vbeln,
kunnr LIKE vbpa-kunnr,
END OF itab.
PARAMETER: p_flname LIKE sopcpath-file OBLIGATORY
VISIBLE LENGTH 100.
START-OF-SELECTION.
PERFORM read_data_from_file.
PERFORM open_group.
PERFORM update_order_salesrep.
PERFORM close_group.
END-OF-SELECTION.
*& Form READ_DATA_FROM_FILE
text
--> p1 text
<-- p2 text
FORM read_data_from_file .
DATA:
lv_filename TYPE string.
CONSTANTS:
c_numeric TYPE char10 VALUE '0123456789'.
CLEAR lv_filename.
lv_filename = p_flname.
CALL METHOD cl_gui_frontend_services=>gui_upload
EXPORTING
filename = lv_filename
filetype = 'DAT'
has_field_separator = 'X'
dat_mode = 'X'
CODEPAGE = SPACE
CHANGING
data_tab = itab[]
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
not_supported_by_gui = 17
error_no_gui = 18
OTHERS = 19 .
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
IF itab[] IS INITIAL.
MESSAGE i000(zv).
STOP.
ENDIF.
CLEAR itab.
LOOP AT itab.
IF itab-vbeln CO c_numeric.
UNPACK itab-vbeln TO itab-vbeln.
ENDIF.
IF itab-kunnr CO c_numeric.
UNPACK itab-kunnr TO itab-kunnr.
ENDIF.
MODIFY itab.
ENDLOOP.
ENDFORM. " READ_DATA_FROM_FILE
*& Form UPDATE_ORDER_SALESREP
text
--> p1 text
<-- p2 text
FORM update_order_salesrep .
CONSTANTS:
c_header TYPE vbpa-posnr VALUE '000000',
c_srep TYPE vbpa-parvw VALUE 'ZS',
c_field TYPE bdcdata-fnam VALUE 'GVS_TC_DATA-REC-PARTNER(',
c_quote TYPE char1 VALUE '''',
c_bracket TYPE char1 VALUE ')'.
DATA:
lit_vbpa LIKE vbpa OCCURS 0 WITH HEADER LINE,
lv_field TYPE bdcdata-fnam,
lv_pos(2) TYPE n.
IF NOT itab[] IS INITIAL.
SELECT mandt vbeln posnr parvw
INTO TABLE lit_vbpa
FROM vbpa
FOR ALL ENTRIES IN itab
WHERE vbeln = itab-vbeln
AND posnr = c_header.
ENDIF.
SORT lit_vbpa BY vbeln posnr parvw.
LOOP AT itab.
CLEAR: lv_field,
lv_pos.
CLEAR lit_vbpa.
LOOP AT lit_vbpa WHERE vbeln = itab-vbeln.
lv_pos = lv_pos + 1.
IF lit_vbpa-parvw EQ c_srep.
CONCATENATE c_quote c_field lv_pos c_bracket c_quote
INTO lv_field IN CHARACTER MODE.
CONDENSE lv_field.
EXIT.
ENDIF.
ENDLOOP.
IF NOT lv_field IS INITIAL.
PERFORM bdc_dynpro USING 'SAPMV45A' '0102'.
PERFORM bdc_field USING 'BDC_CURSOR' 'VBAK-VBELN'.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
PERFORM bdc_field USING 'VBAK-VBELN' itab-vbeln.
PERFORM bdc_dynpro USING 'SAPMV45A' '4001'.
PERFORM bdc_field USING 'BDC_OKCODE' '=KPAR_SUB'.
PERFORM bdc_dynpro USING 'SAPMV45A' '4002'.
PERFORM bdc_field USING 'BDC_OKCODE' '=SICH'.
PERFORM bdc_field USING 'GV_FILTER' 'PARALL'.
PERFORM bdc_field USING lv_field itab-kunnr.
PERFORM bdc_transaction USING 'VA02'.
ENDIF.
ENDLOOP.
ENDFORM. " UPDATE_ORDER_SALESREPHi satyadev,
As per this error message "Field 'GVS_TC_DATA-REC-PARTNER(8) does not exist in the screen SAPMV45A 4002", screen does not have GVS_TC_DATA-REC-PARTNER(8) field.
It is obvious that your recording has this field but not the current screen.
Look at the screen and recording, if possible do a re-recording.
This is a general problem with BDCs. Configuration / screen fields and screen order should be similar with the recording screen order and screen field.
One of the possible reason may be your functional team might have changed the screen number or they might have hide this field.
Hope this helps..
Mubeen -
User Exit for VA02 while changing payment terms in the screen
Hi,
In Va02, in header details if we go to billing tab,
Whenever we change the terms of payment(ZTERM) in the screen, we should check if the fixed value date(VALDT) is not blank based on some conditions.
If it is blank before saving we should display error message with the VALDT screen field in VA02 transaction as open for input to enter the value.
I have tried writing in MV45FZZ , in userexit_save_document_prepare , but the screen field is going to display mode after the throwing error message. but it should be open for input.
Could anyone please suggest proper exits or badis to validate this condition?Hi Naimesh ,
Thanks for your reply ,
I have tried the code but its not working.
As per my knowledge, statement after error message,will not be executed.
Please suggest.
raghavender,
Thanks for your suggestion.
I have tried it before , its working fine but as it is not suggested to use Leave to screen in custom code I was trying for alternate solution.
Please suggest.
Thanks ,
Srilakshmi Godavarthi. -
Services for Object activation required for VA02 in SAP 4.0B version
Hello,
This is regarding Sales Order Change (VA02) and If I select the MENU navigation : SYSTEM -> Services for Object in ECC 6.0 then it is populating one Pop-up stating that "Sales Order XXXXXXX" Here we have the option for "Create Attachment".
For this we need to do one prerequist in SAP ECC 6.0 Goto Tcode SU01 under the "Parameter" Tab we need to provide the following Parameter ID i.e
SD_SWU_ACTIVE and Parameter value is : "X".
The Same scenario I need in SAP 4.0b version.
It would be grateful if you can helpout in this issue.
Than you very much in Advance ...Hi,
Absolutely it is not possible.
The services for object is only visible, once the original object is created.
Even if you check for normal F-02 entry also, it wont be visible during entry, but will be visible after posting if we go thru FB02 or FB03.
Any attachment can be assigned through the services for object, is possible only after creation of the dependent / original data.
So for AS02 and AS03, the dependent data has to be there in the DB, which has been created with AS01.
Thanks,
Srinu -
I am trying to make a transaction variant for transaction ea20.
EA20 is an ISU-CCS transaction which reverses bills.
Normally when I create a transaction variant - I go to SHD0 - enter the transaction, give a name of the transaction variant - and click create.
It goes to the transaction. I hit enter - and it goes to another screen which allows me to hide - or default certain fields. Then I save - and go on.
On transaction EA20 - I go to SHD0 - enter EA20, a transaction variant name - and click create. When I click enter - nothing happens. It stays on the same screen. If I click back, cancel or save - it shows me the wrong screen to modify. Instead of the EA20 screen - it shows me the screens to create variants.
I have read the help on SHD0 where some transactions cannot be used in transaction variants - but I don't see where this transaction falls into those categories.
Has anyone else had a problem with creating a transaction variant for a certain transaction? And if so - how did you get around it? Or what did you do to fix the problem?
Thanks for your help.
Scott OvermeyerScott,
Follow this process and let me know if you face any problem.
Case one for creating Transaction Variants
Step 1:
Execute transaction SHD0 and create a Transaction Variant against the original transaction.
Step 2:
As soon as you press the create button, the original screen of the transaction will appear. After pressing any button/tab on the screen a menu variant screen will appear. Make sure to check any field or tab or any button you want to disappear from the menu functions. Press the exit and save button when you are sure that no further settings are required on sub-screens (if present). After pressing the exit and save button another menu variant screen will appear. Press the save button here and save as a local object or under any development class.
Step 3:
When you are back on the Transaction Variant (SHD0) screen, press shift+F6 or click the goto menu and press the create variant transaction button. Through this transaction SE93 will be executed. Enter the transaction name you want to create and any other required field and now press the save button.
Step 4:
Now execute the transaction you create through create Transaction Variant and enjoy the results. -
Field exit for VA02 / for GOTO- HEADER- SHIPPING
Hello ,
Please help me out with field exit for GOTO->HEADER->SHIPPING in VA02 transaction .
I have to check if the shipping condition enetered against values in TVARV variable .
If unequal i need to display a warining messge .
But the requirement is it needs to be checked against field exit .
Thanks ,
RahulDear Sheo
I know OMJN can set the material Slip mandatory. but my question is how to seperate by company code.
for example:
company code D001 mandatory
company code D002 Input
regards,
Yang -
Exit for va02 when line item is deleted
Hi,
I have requirement that in va02 when an item is selected and '-' (delete) button is pressed, it should display error message :To enter reason for rejection" and not to delete the item.
Can anyone help with what enhancement can be used user exit or something else. If user exit then which one to be used a i have tried several.
Versio used is ECC 6
thnks.put debugger on .. search for an implicit enhancement whenever delete button is pressed..
check for the tcode if va02 . then check for the ok_code for deletion..
call a function module in that call a screen with i/p field on which user would type the reason..
If you can display the reasons which are pre defined then you can use RS_VALUES_BOX function module and store the pre defined reasons in a Z table.
Maybe you are looking for
-
Zoom dosen't work in flash applications and it is crazy small and too hard to read...this does beat out the fact you can't right click using flash in google chrome...I prefer firefox, but will go back to IE if it is the only program without such majo
-
Unable to find managed files in Aperture 3
Hi there, I have consildated the master files by copy them into the aperture library. The problem is that now aperture is now able to locate any of the master files. I tried to use the option of relocating the master file but it was impossible since
-
Address book version is only 3.1.2
How come if I loaded to 10.4.6 from DVD, then upgraded to 10.4.8, my address book version is only 3.1.2?
-
Problem setting an Open Password on an Adobe Interactive Form
Hi, I'm generating a series of Adobe Interactive Forms using data pulled from R3 via BAPIs. The PDFs are created without an issue but I want to put an Open Password on them (a password the user must enter in order to open the PDF). From my reading
-
can JBuilder 2005 Enterprise run on a PC with this following specifications? HP Vectra Intel Celeron 366 Mhz, 64mb memory, 4.3 gb harddisk pls help me. thanks