Block status field in hr abap
Hi,
Could any one tell me where I can find the Block status field in HRtables...
I need to include an additional field to indicate the block status of the cost centers.
Please help me asap.
Regards,
Charan
http://help.sap.com/bestpractices/industry/hightech/v346c/BBLibrary/documentation/A01_BB_ConfigGuide_E.doc
Please check the above document which u may find helpful, please award points if found helpful
Similar Messages
-
Billing block status field VA02
In VA02 where can i get the field of the user who changed the billing block status to NONE.
Hi,
Check this sample code..
PARAMETERS: P_VBELN LIKE VBAK-VBELN.
DATA: T_CDHDR LIKE CDHDR OCCURS 0 WITH HEADER LINE.
DATA: T_CDPOS LIKE CDPOS OCCURS 0 WITH HEADER LINE.
CONVERT TO INTERNAL ..
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = P_VBELN
IMPORTING
OUTPUT = P_VBELN.
SELECT * FROM CDHDR
INTO TABLE T_CDHDR
WHERE OBJECTCLAS = 'VERKBELEG'
AND OBJECTID = P_VBELN.
IF NOT T_CDHDR[] IS INITIAL.
SELECT * FROM CDPOS
INTO TABLE T_CDPOS
FOR ALL ENTRIES IN T_CDHDR
WHERE OBJECTCLAS = T_CDHDR-OBJECTCLAS
AND OBJECTID = T_CDHDR-OBJECTID
AND CHANGENR = T_CDHDR-CHANGENR
AND TABNAME = 'VBAK'
AND FNAME = 'FAKSK'
AND CHNGIND = 'U'
AND VALUE_NEW = SPACE.
IF SY-SUBRC = 0.
READ TABLE T_CDPOS INDEX 1.
IF SY-SUBRC = 0.
READ TABLE T_CDHDR WITH KEY CHANGENR = T_CDPOS-CHANGENR.
IF SY-SUBRC = 0.
WRITE: / 'USER NAME CHANGED BILBLOCK - ', T_CDHDR-USERNAME.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
Thanks,
Naren -
Payment Block Status automatically set 'Y' in FBV2
Hi Team,
My requirement is this, when user want to post document by T Code FBv2 or MIR4
if user stands on 25 to month end date. means system date check then
Payment block automatically set to 'Y' (month end posting).
for this one i used many BADI and FM but not working as of now.
one BADI i used as FAGL_SET_DOC in debugg mode its updating the that fields value
as its technicsl field name is ZLSPR whic i set to 'Y'
its working fine in debugg mode , but when we again check for that Document no then that filed's value is not populating as required.
So please suggest me how can i set Payment block status to 'Y' as month end posting.
Thanks
Vivekhi Hiriyapapa,
I used BADI FAGL_SET_BADI for our field update
method is CHANGE_SEGMENT_PSEGMENT
there i put code as below
TYPES: BEGIN OF TY_EKPO,
EBELN TYPE EBELN,
EBELP TYPE EBELP,
PSTYP TYPE PSTYP,
END OF TY_EKPO.
DATA : IT_EKPO TYPE TABLE OF TY_EKPO,
WA_EKPO TYPE TY_EKPO.
DATA: WA_ACCIT TYPE ACCIT,
L_TABIX TYPE SY-TABIX.
IF SY-TCODE = 'MIR4' OR SY-TCODE = 'FBV2'." OR sy-tcode = 'ZTR_SEG_RECLASS_REV' . "Tcode for Netting Counter wise and Segment Reclassification
BREAK 51393182.
SELECT EBELN
EBELP
PSTYP
FROM EKPO INTO TABLE IT_EKPO
FOR ALL ENTRIES IN CT_ACCIT
WHERE EBELN EQ CT_ACCIT-EBELN
AND EBELP EQ CT_ACCIT-EBELP.
IF SY-SUBRC = 0.
LOOP AT IT_EKPO INTO WA_EKPO .
* <--Begin of Change by Ashutosh Mishra 27-june-14 HRDK950590
IF WA_EKPO-PSTYP = '9'. ."BREAK 51393182.
LOOP AT CT_ACCIT INTO WA_ACCIT.
* if WA_ACCIT-EBELN is NOT INITIAL.
IF SY-DATUM+6(2) EQ '25' OR SY-DATUM+6(2) EQ '26' OR SY-DATUM+6(2) EQ '27'
OR SY-DATUM+6(2) EQ '28' OR SY-DATUM+6(2) EQ '29' OR SY-DATUM+6(2) EQ '30'
OR SY-DATUM+6(2) EQ '31'.
WA_ACCIT-ZLSPR = 'Y'. "SET Y PAYMENT BLOCK STATUS
MODIFY CT_ACCIT FROM WA_ACCIT TRANSPORTING ZLSPR.
CLEAR : WA_ACCIT.
ENDIF."endif.
ENDLOOP.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
ENDMETHOD.
in debug mode its working fine its updating as i want , but when we out of debug its not updating that fields status.
I request to you please suggest me for this issue.
Regard
Vivek -
hello guru's
While creation of sales quotation in shipping tab there is field delivery block status there its coming automatically blocked how to change that field.
Here we are using make to order scenario with controlling module.
After done CO Configuration its coming that message
Can any one help me?
Regards
Dharmahi,
goto the customer code in xd05. u will notice the delivery block there. now follow this path. imglog execution-deliveries-reasons for blocking in shipping-blocking readsons/criterion---unchek the order col.
saurabh -
Hi,
I need to get text for the field "DELIVERY BLOCK STATUS" under the tab "Shipping" in transaction VA03.
The delivery block status is saved in VBUP-LSSTA and possible values for this are space,A,B and C.
However in tarnsaction it is displayed as BLOCKED,Not blocked as shown in below fig.I want to know where these values for staus text are saved in system and how to retrieve them?They are stored in table TVBST.
When the system is displaying VA03, it calls function module RV_DOCUMENT_POS_STATUS_TEXTS. This function will obtain the values from table TVBST. For example, look at this code in the function:
READ TABLE XTVBST WITH KEY TVBST_KEY BINARY SEARCH.
IF SY-SUBRC = 0.
VBSTT-LSSTA_BEZ = XTVBST-BEZEI.
ENDIF.
If you look in SE16 for table TVBST and search for the following:
Language EN
Table name VBUP
Field name LSSTA
you will see the following entries:
Language Table name Field name Status Description
E VBUP LSSTA Not blocked
E VBUP LSSTA A Not blocked
E VBUP LSSTA B Partially blocked
E VBUP LSSTA C Blocked
This is where the descriptions are obtained from.
Hope this helps. -
Stock transfer between plant to plant in blocked status
Hi Gurus,
Can anybody know how to use some mov. type to transfer restricted status between plant to plant?
Many thanks in advanced.
Luiz GeraldiLuiz,
You cannot move 'blocked' or 'restricted' stock in this manner. This is not supported in ECC 5.0 and I would not think ECC 6.0 would be any different in this regard as this is a basic rule within standard SAP although I would think that in certain situations it would be beneficial to be able manage this in a simple move.
- As others have correctly pointed out, you have to change the stock status to 'unrestricted use', transfer/receive it (either using mvt 301, 303/305, 351/101, 641/101, 643/101 etc depending on the stock transfer mechanism used between the plants) and then finally change the stock status back to 'blocked'.
- Another option would to be to post an inventory adjustment using mvts 701/702 in both the plants and then change stock status in receiving plant to 'blocked'.
- Design a custom ABAP program to perform the sequence of movements in a single transaction. I think it would be important to get the timing right to avoid incorrect booking of stock.
- The movements could be also be linked in a single transaction using a workflow solution although I am not sure how simple or complex the solution might be.
Unfortunately, the quantity strings associated with movement types are hard-coded by SAP. So, it would not be possible to achieve this move using a custom movement type without any modifications.
Hope this helps.
H Narayan -
SAP Note that verify if service sheet is created and block PO field changes
Hi People,
I am an ABAP programmer and I got a MM requirement that I think you can help me.
Here is whats happening:
1 - Buyer create PO with field GR-Based Invoice Verification (WEBRE) flagged. (ME21N).
2 - Then user creates Service Sheet(ML81N)
3 - Because service sheet take a time to be aproved, the buyer changes PO, removing the flag of fields GR-Based Invoice Verification (WEBRE) and GR-Goods Receipt indicator(WEPOS) (ME22N) so he can execute MIRO and F110.
User can't reflag the fields (WEBRE) and (WEPOS). So the service sheet stay on "limbo"
What I want, is to know if there is any SAP NOTE that verify and block the change on fields (WEBRE) and (WEPOS). So the user can't remove the flag if already exists a service sheet for the PO.
Tks,Hi Ajit,
Sorry for the "delay" ins responding.
The SAP Note you've mentioned is just for 4.x systems, we are using the ECC 6.
Apparently this Note does what I needed... so already should be working on ECC.
My functional decided to simply block the field on customizing so User cannot edit it in any way...
Tks again.
bye -
Status field into order response IDoc
Hello friends,
We have a problem in order response Idoc. The order response Idoc contains all the data from a sales order except the fields Order status. In the screen VA03 --> Header Info --> Status we can see the delivery status fields, but it is not present in ORDRSP IDoc. The technical detail to the corresponding field data is VBSTT-LFSTA_BEZ. We just want to include this field in the order response IDoc.
Please help
f.kökceHi there,
In IDOC structure WE30, in the IDOC segments add a new segment through 'extensions' if you need a separate segment for status. Give the field mappings to the segment with the help of an ABAPer.
If you want to include the filed in the existing segemnt ask your ABAPer go add the field VBSTT-LFSTA_BEZ into an existing segment.
Hope this helps.
Regards,
Sivanand -
QA11 Blocked stock field as uneditable
Hi,
Can any one tell me how to disable the blocked stock field ( In inspection lot tab of QA11 transaction )
for input based on PO item category ? Is there any user exit or Badi for that ?
Regards,
Krishnam Raju
Edited by: krishnam raju on Apr 10, 2009 5:50 PMi guess, in ur case, user exit or badi is right solution. I guess, u know, How to find available user exit for a transaction......for search BADIs, follow below method,
This is the way to find BADI in transaction
1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.
2. In 'Display' mode, go to 'Methods' tab.
3. Double click the method 'Get Instance' to display it source code.
4. Set a breakpoint on 'CALL METHOD cl_exithandler=>get_class_name_by_interface'.
5. Then run your transaction.
6. The screen will stop at this method.
7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI
for that transaction.
actually, the above piece is copied from other thread.
after finding a approapriate user-exit/badi, u can code like
if PO_item_category = item_category_make_disable_field
Loop at screen
if......screen = XXX
screen-input = '0'
modify screen
endif
endloop.
endif
these days i dont hv sap access, so, pls. just take my code snippet as an idea.
thanq
Edited by: SAP ABAPer on Apr 11, 2009 4:46 AM -
How to block amount field and layout field in transaction MIR7
Hi Expert,
Please tell me how to block amount field and layout field in transaction MIR7 for a particular user .
i am trying to block through SHD0 tcode but it is not blocked.please give me the right ans
Thanks In AdvanceHi Rajuka,
I wasn't refering to SHD0 transaction variants. User exists and Customer exists are a very interesting enhancements in ABAP which helps to add custom logic to SAP delievered programs/function modules without actually modifying the original program.
Just to add a little more details to the concept of Custom Exits (Customized user exits), please refer the links below:
[http://wiki.sdn.sap.com/wiki/display/ABAP/CustomerExits(CMOD)]
[http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=189893877]
[http://wiki.sdn.sap.com/wiki/display/ERPFI/Creatinguserexitsforsubstitutions]
You will find a lot of information about custom exists and its types over the web. Also, your developer might provide you a better insight into this concept and its relevancy to your requirement.
Cheers!
Sandipan
Edited by: Sandipan Choudhury on Dec 10, 2010 8:02 AM -
Hi SAP Experts,
I have a requirement from Client to Develop a report which shows the "Overall Blocked Status of the Orders".
I checked this field in the Order Header Level ,but it belongs to a Struture ,and not a Table.
Could you please help me to get this Field value for Order to show it in a Report..
Appreciating your quick response.
Thanks and Regards,
Umesh Karane.HI
You have to use the table VBUK for header status .
Pass the VBELN into this table ang get the status for VBUK-SPSTG
SPSTG is for Overall Blocked Status
regards
Prashanth -
How to change status fields for delivery vl01n or vl02n
Hi guys, I am new here.
I would like to ask how can we change the status field (LFSTK & LFGSK) in internal table IT_XVBUK and IT_XVBUP after we manipulate the quantities in the delivery order screen. I have tried BADI = LE_SHP_DELIVERY_PROC, Method = SAVE_DOCUMENT_PREPARE, but unfortunately, I can't change those status field from there. Is there any other alternative(eg user exits etc). Please help.
Many thanks.
wengYou can script it. So on you docReady event put xfa.form["#subform"].locale="en_CA" or "en_US". Or even assign it from a value in an xml element.
Kyle -
STATUS Field isBlank on AP_INVOICES_INTERFACE table but REQUEST_ID is there
Hi All,
After running Payables Open Interface Import, I see Request_id is populated on AP_INVOICES_INTERFACE Table but STATUS field is still blank and i don't see any error details on AP_INTERFACE_REJECTIONS_TABLE as well for these invoices and ofcourse not in Base tables. I am under the impressions that, when ever This Standard Import is run, it will update Request_ID along with STATUS field to either PROCESSED or REJECTED. But in my case only request_id populated but not STATUS. Does anyone had faced this? and what could be the case?
Thank you.Hello,
Does the report output show whether records have been processed?
Else check whether ORG_ID and SOURCE (Note: the source name must be setup in Payables lookups setup) are correctly populated in AP_INVOICES_INTERFACE.
Vik -
Can we remove the default status field from OIM
hi,
even when my i am not mapping any field to the OIM status field , it is taking Active as default value. i dont require that field so is it possible to remove the default status field of OIM.
i am using database GTC connector for trusted recon.User will always have a certain status like Active, Disabled etc, so even when you doesn't map it to any attribute the OIM solution calculates it with the help of the user's Start Date, End Date etc.
A user is bound to have a status.
Thanks
Sunny -
How to insert the image or logo into the table as a field in webdynpro abap
Hi Friends,
Please tell me how to insert the image or logo into the table as a field in webdynpro abap.........Hi Alagappan ,
In your view layout you take table UI element and then you bind it with some context nodes.
The attributes of your nodes comes as a field.
Now in these fields you can set various properties and image is one of them.
Go to ->
1. View Layout -> Right Click on ROOTUIELEMENTCONTAINER -> INSERT ELEMENT -> TABLE
2. Right click on table -> Create Binding.
Here you have to bind it with the appropriate context node.
You will get two properties here
a- Standard Cell Editor :- ( make it image )
b- Standard properties :- ( If required set image properties ).
3. If you want put image from out side then import it as a mime object and set the source of your table field ( used as a image )
also have a look :-
[Image Properties|http://help.sap.com/saphelp_nw04/helpdata/en/f3/1a61a9dc7f2e4199458e964e76b4ba/content.htm]
Hope this will solve your problem.
Reply if any case of any issue.
Thanks & Regards,
Monishankar C
Maybe you are looking for
-
Hi , 11.2.0.1 AIX 6.1 I have following query which is executed from Application,the query comes back within 2 secs for not so common last_name combined with gender but it is taking longer time for common last_names like 'BROWN' or 'JONES' or 'SMITH'
-
Java plugin 1.5 not working with firefox
Hey, i'm running SUSE 10.0 and I installed the Java Runtime Environment using the RPM file, and then copied over the .so file into my ~/.mozilla/plugins and ~/.mozilla/firefox/plugins directories, and firefox just ignores them when I try to run a jav
-
Wifi signal but no internet on iPod
hello, my ipod touch (4th generation) has stopped connecting to the internet since yesterday. For 6 months before then i have had no problems like this. The wifi signal is full but it won't connect to any websites or aps. it will work for a few minut
-
Integrating SAP into a Systems Analysis course
Hi, I am part of a group putting together a proposal to integrate SAP into our business school courses and join the UA. The faculty do not have any training in SAP, but we are looking to find out as much as we can about possible course modules for o
-
Need a Popup to accept a pin number.
Hi, I have a page where user enters a code. Based on the code, I have to display the details. One of the columns is the name. I should prompt the user to enter a pin and if the pin matches, I should display the name column. Otherwise, I should displa