Batch characteristic value not populated!
Hello guys,
please would appreciate advice to following:
I created two reference chars z_goods_receipt (MCH1-LWEDT) and z_created_on (MCH1-ERSDA). Chars assigned to material batch class. During GR in Classification Dates (chars values) are visible, but after GR is saved, in batch chars values are not populated.
Consequently, I can not use these chars in sorting criterium for delivery batch determination - batches are not sorted acocrding to dates.
Batches on material level. In Customizing (Classify batches within goods mvt), for mvt 101 setting is 4 (Classification always in foreground (all batches)) - but bug remains even if i try with other options. Check with developer shows not much help from EXIT_SAPMM07M_004 or EXIT_SAPMM07M_004 or EXIT_SAPLV01Z_012.
Any idea how to populate these chars in batch?
Alternatively, what else I could use in order to enable FIFO batch determination for batches in delivery?
Thanks for prompt replies!
Br, Jan
Hello,
SAP reply -standard behaviour. After save in MSC2n values read from MCH1, after that in MSC3N value read from AUSP.
Issue solved using non reference charactereristic and adding code into ZXMBCU04.
Br, Jan
Similar Messages
-
Virtual Characteristic value not populating in the query output
Hi Experts,
I am new to BAPI and I am using this to populate the values of virtual characteristics.
I wrote the below code to populate if an order status got some status value then i need to populate the flag y if not n.
I got the order value in the reprot. I need to go to order master data and should get the status and then i have to do the comparision and populate the flag zww_teco in the report.
The below is the compute method of my implementation class.
FIELD-SYMBOLS :
<fs_0cs_order> TYPE ANY,
<fs_zww_teco> TYPE ANY,
<fs_status> TYPE ANY.
if p_cha_0cs_order > 0.
ASSIGN COMPONENT p_cha_0cs_order OF STRUCTURE C_S_DATA to <fs_0cs_order>.
endif.
if p_cha_zww_teco > 0.
ASSIGN COMPONENT p_cha_zww_teco OF STRUCTURE C_S_DATA to <fs_zww_teco>.
endif.
Select single /BIC/ZSYSTATUS
from /BI0/PCS_ORDER into <fs_status>
where CS_ORDER = <fs_cs_order>.
if <fs_status> CP 'TECO'.
<fs_zww_teco> = 'Y'.
else.
<fs_zww_teco> = 'N'.
endif.
But I am not sure why the values are not populated. But when i debug , i could see the values for
P_cha_0cs_order = 35
p_cha_zww_teco = 54
But i could get the values of <fs_0cs_order>, <fs_zww_teco> after assign component statement.
And it is firing me a dump in select statement. Also when I click c_s_data i am getting S____274, S____505 fields like that in the structure but i could see p_cha_0cs_order
Can you please guide where i am missing ...
Thanks
Vamsi
Edited by: vamsi talluri on Nov 9, 2011 6:14 PMHi Sushant,
RSRT --> Enter Query Name
Click on Technical Information --> If " Virtual Char./Key Figures " = Y
In my case , even then i clciked generate report,
even after that P_CHA_0CS_ORDER = 35
and after assign component P_CHA_0CS_ORDER of structure c_s_data to <FS_0CS_ORDER>.
the <FS_0CS_ORDER> is nothing , here i should get the value of cs_order value of that record but it is coming empty which i am not able to rectify. How should i change or i need to put any other setting to get the value populated into my <FS_0CS_ORDER>.
Can you please guide me .
Thanks
Vamsi -
Populate Batch characteristic values in create sales order BAPI
Can anybody help me in populating the batch characteristic values using BAPI_SALESORDER_CREATEFROMDAT2?
I have checked the related notes provided by SAP, like, 567348 but it will be great if someone can send some code snippet on this.Subramanian, Brad and Raja.
Thanks for your suggestions its were useful, with
these i can resolve my problem.
!!! Best Regards !!!
Raja
I used the se37 to test bapis, is more easy and fast !!
and you can save data like variant, and you can simulate the real execution without write any code abap,
and re-process the times that you need,
when you know what fields you need you write your abap code faster.
Thanks !!!
Message was edited by: Noemi Huerta -
Get batch characteristic value
Hi Experts,
I need to get the characteristic value of a batch if I provide with batch number and characteristic name as parameters.
Is there any standard function module for this?
Regards
Thanks in advance
PrathibDear,
BAPI_CLASS_SELECT_OBJECTS gets objects for a class. If you want to retrieve the characteristics, try using BAPI_CLASS_GET_CHARACTERISTICS.
or check FM CLFM_SELECT_AUSP
Regards,
R.Brahmankar -
Value not populating in the print out (sales order) for the 1st time
Hi friends,
While saving a sales order, the order confirmation going to the user is not populating the LDC field. LDC is Last date of change. This field can be found in the Additonal data 2 tab of the material in the sales order. When I enter a date in this field and save, the print preview of the output has this value, but the print out does not carry this value.
Another weird thing about this issue is that, the second time i trigger the output, the print out has the value.
Please give me some clue on where to check and how to go about fixing this problem.
Regards,
Shanu.Dear Shanu,
This issue may be related bug in the output program so take help of ABAPer to fix the issue.
I hope this will help you,
Regards,
Murali. -
Batch Classification Values not getting changed
Hi Gurus,
I am using the following bapi ( BAPI_OBJCL_CHANGE ) to change Batch classification values Eg: Cut clarity etc.
when i pass these values thru the function module in the program it is not getting changed while when i change it through msc2n it gets changed successfully...
I have passed the following values in the parameters of the bapi :
OBJECTKEY = v_objectkey
OBJECTTABLE = 'MCH1'
CLASSNUM = V_CLASSNUM
CLASSTYPE = '023'
KEYDATE = 30.04.2010
ALLOCVALUESCHARNEW
CHARACT = CLARITY
VALUE_CHAR = P040
VALUE_NEW = P040.
Can some one help me solve this....
Needed urgently..
Edited by: NAVIN FERNANDES on Apr 30, 2010 12:31 PM
Edited by: NAVIN FERNANDES on Apr 30, 2010 12:32 PMHi Jacky,
I am posting the code here.. Do let me know if u have ne queries:
REPORT ZNAVBATCH.
SELECTION-SCREEN BEGIN OF BLOCK B1.
PARAMETERS: P_MATNR TYPE MATNR,
P_CHARG TYPE CHARG_D,
P_WERKS TYPE WERKS_D,
P_LGORT TYPE LGORT_D.
SELECTION-SCREEN END OF BLOCK B1.
START-OF-SELECTION.
DATA: WA_BATCH TYPE BAPI1003_OBJECT_KEYS,
WA_ALLOCCHAR TYPE BAPI1003_ALLOC_VALUES_CHAR,
WA_ALLOCVAL TYPE BAPI1003_ALLOC_VALUES_NUM,
INT_BATCH TYPE STANDARD TABLE OF BAPI1003_OBJECT_KEYS,
INT_RET1 TYPE STANDARD TABLE OF BAPIRET2,
INT_RET2 TYPE STANDARD TABLE OF BAPIRET2,
INT_RET3 TYPE STANDARD TABLE OF BAPIRET2,
LV_KEY TYPE BAPI1003_KEY-OBJECT,
INT_ALLOCVAL TYPE STANDARD TABLE OF BAPI1003_ALLOC_VALUES_NUM,
INT_ALLOCCHAR TYPE STANDARD TABLE OF BAPI1003_ALLOC_VALUES_CHAR,
INT_ALLOCCURR TYPE STANDARD TABLE OF BAPI1003_ALLOC_VALUES_CURR.
WA_BATCH-KEY_FIELD = 'MATNR'.
WA_BATCH-VALUE_INT = P_MATNR.
APPEND WA_BATCH TO INT_BATCH.
WA_BATCH-KEY_FIELD = 'CHARG'.
WA_BATCH-VALUE_INT = P_CHARG.
APPEND WA_BATCH TO INT_BATCH.
CALL FUNCTION 'BAPI_OBJCL_CONCATENATEKEY'
EXPORTING
OBJECTTABLE = 'MCH1'
IMPORTING
OBJECTKEY_CONC = LV_KEY
TABLES
OBJECTKEYTABLE = INT_BATCH
RETURN = INT_RET1.
IF SY-SUBRC = 0.
WRITE: 'SUCCESSFUL'.
CALL FUNCTION 'BAPI_OBJCL_GETDETAIL'
EXPORTING
OBJECTKEY = LV_KEY
OBJECTTABLE = 'MCH1'
CLASSNUM = 'ZTBATCHCHR'
CLASSTYPE = '023'
KEYDATE = SY-DATUM
UNVALUATED_CHARS = ' '
LANGUAGE = SY-LANGU
IMPORTING
STATUS =
STANDARDCLASS =
TABLES
ALLOCVALUESNUM = INT_ALLOCVAL
ALLOCVALUESCHAR = INT_ALLOCCHAR
ALLOCVALUESCURR = INT_ALLOCCURR
RETURN = INT_RET2
IF SY-SUBRC = 0.
WRITE : 'SUCCESSFUL'.
READ TABLE INT_ALLOCCHAR INTO WA_ALLOCCHAR WITH KEY CHARACT = 'CLARITY'.
IF SY-SUBRC = 0.
WA_ALLOCCHAR-VALUE_CHAR = 'C02'.
WA_ALLOCCHAR-VALUE_NEUTRAL = 'C02'.
MODIFY INT_ALLOCCHAR FROM WA_ALLOCCHAR INDEX SY-TABIX TRANSPORTING VALUE_CHAR VALUE_NEUTRAL.
ENDIF.
CALL FUNCTION 'BAPI_OBJCL_CHANGE'
EXPORTING
OBJECTKEY = LV_KEY
OBJECTTABLE = 'MCH1'
CLASSNUM = 'ZTBATCHCHR'
CLASSTYPE = '023'
STATUS = '1'
STANDARDCLASS =
CHANGENUMBER =
KEYDATE = SY-DATUM
NO_DEFAULT_VALUES = ' '
IMPORTING
CLASSIF_STATUS =
TABLES
ALLOCVALUESNUMNEW = INT_ALLOCVAL
ALLOCVALUESCHARNEW = INT_ALLOCCHAR
ALLOCVALUESCURRNEW = INT_ALLOCCURR
RETURN = INT_RET3
IF SY-SUBRC = 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'
IMPORTING
RETURN =
IF SY-SUBRC = 0.
WRITE: 'SUCCESSFUL'.
ENDIF.
ENDIF.
ENDIF.
ENDIF. -
Values not populated in S_ALR_87012806 for a specific cost element
Hi all,
Postings made to specific cost element are not populated in report S_ALR_ 87012806. Can anyone throw some light on this?
Thanks
ShravanHi Krishna
I dont think "Cost Accounting > LIne Item" would work for Master Data
You can use exit COOPA_01 (SMOD) > Include ZXAUFU08 (Part of EXIT_SAPLKOAU_002)... I have used this for similar purposes in the past
Regards
Ajay M
Edited by: Ajay Maheshwari on Nov 12, 2010 12:45 PM -
Value not populated for new field - in RSA7 for PI interface in BW
Hello Experts -
We have 3.5 bw and PI 7.x. we have a PI interface in bw working in production and now we enhanced the interface with a new added field. I mapped the new field in transfer rule/ modified update rules/ods and regenerated the soap datasource in bw. The user has uploaded the file in FTP with this new field added. PI picked the file processed and the value for new field got populated and pushed the data to BW. In RSA7, i dont see the data filled in for this new added field.
Not sure, if i missed any steps, in BW, so that I can populate the value for this field.
Thanks for any inputs/comments.Hi ,
Replicate the Data source in BI and activate it using RS_DATASOURCE_ACTIVATE_ALL program.
Regards,
Ramnaresh.P.
Edited by: ramnaresh porana on Apr 26, 2011 9:43 PM -
Badi-Virtual keyfigure value not populating in query
HI all,
I am trying to populate a constant value into the virtual keyfigure when the query is executed but the value is not getting populated.
I followed the steps how to do this by looking into the step by step process for keyfigure article which i found in SDN.
When i execute my BADi in se19 i am able to get the value but not in the query.
Is there a special way to create keyfigures or is it the same way as we create a normal keyfigure.
Can someone tell me how to get the values in query.
Thanks in advance.
Regards,
HarishHi,
why dont you debug the badi while executing the report from RSRT t-code. This will give you some idea.
To debug, put a break point in 'define' as well as 'compute' function of your Badi-implementation, then go to RSRT t-code, enter your query name and then click generate. It will stop at the break-point. Here you can see what is the problem
Regards
akshay -
LIST OF VALUES not Populating in BPS WEB INTERFACE ( LAYOUTS )
Hi BI Guru's
I have created a WEB interface for BPS in BI ( version 7.0) . But when i execute this in internet explorer, I do not get the LIST OF VALUES for Material.
When I click on "input help" the system open a new window for "Value selection". When I specify the material code, it gives me blank LIST OF VALUES.
But it is working for other fields like Customer, UOM in the same layout.
Please suggest some solution.
Thanks,
Nilesh Labdehi,
Thanks for the reply.
Master data is avaliable for the Material Code. The problem is in Internet Explorer and not in SAP GUI .
If i run Planning folder for the same layou in SAP GUI it is working fine. -
Values not populated in AET STATE RECORD
Hi all,
I have a state record with the fields
PROCESS_INSTANCE
RUN_CNTL_ID
OPRID
COUNTER
ACCOUNTING_DT
FZAM_COUNTER
FROM_DT1
TO_DT1
SOURCE
I am fetching values into the above state record from z tables in my app engine.
Step :step 02 Action :SQL
%SelectInit(ACCOUNTING_DT,COUNTER)
SELECT ACCOUNTING_DT
, COUNT(*)
FROM PS_FZAM_VND_GL_STG
WHERE GL_DISTRIB_STATUS = 'N'
GROUP BY ACCOUNTING_DT
Step :step 03 Action :SQL
%SelectInit(FROM_DT1,TO_DT1)
SELECT FROM_DT1
, TO_DT1
FROM PS_FZGL_RUN_DT_HDR
WHERE SOURCE = 'AM'
But i find FZAM_VEND_AET.COUNTER , FZAM_VEND_AET.TO_DT1, FZAM_VEND_AET.FROM_DT1 all empty eventhough PS_FZAM_VND_GL_STG & PS_FZGL_RUN_DT_HDR has values in them.
additional infor :AET record is FZAM_VEND_AET which is a sql table and process_instance is the only key.
Kindly share ur viewsThe log entry you are showing here does not come from your Requester ABCS, rather from the AIA Error Handling code itself not being
able to find the mentioned property EH.DEFAULT.FYI.ROLE in the AIAConfigurationProperties.xml.
I guess you want to verify if your version of AIAConfigurationProperties.xml in MDS (not on the file system) has this property set or not. Per default, it should be.
From what you posted here, there is no evidence that the EH code in your generated ABCS does not work properly.
Gerhard -
Values not populating in list box in dialog programing.
hi,
i am facing a problem i.e. i am having a listbox on screen , in pbo i am filling that listbox with some values in an internal table.
But i am not able to populate the values i.e. while i am debugging the pai ......the list box is containing nothing.
So needed some help in this issue.
regards,
someshHi,
Try to read these links. It will give you some pointers regarding on your problem.
<link-farm removed>
Revert if you have still any concern.
Thanks,
iostreamax
Edited by: Suhas Saha on Feb 21, 2012 8:50 AM -
Purchasing Groups values not populated in PR default settings - ME51N ??
Hi,
We have SAP R/3 MM ECC 6.0.
I want to set Purchasing Group as one of the default parameters in ME51N (Purchasing Requisition) screen.
The problem is I have selected 'Purchasing Group' as a default parameter in 'Default Values'/ 'Personal Settings' but,
the Drop-down help does not show up any values for Purchasing Group to be selected as default.
However, I can set-up 'Account assignment' & 'Item Category' as defaults and, I can choose their default values.
Therefore, in result, I do not have any Purchasing Group set as default for my PRs.
Is there a configuration setting required to populate the drop-down box of Default Settings (for purchasing group)
with Purchasing Group values? Please advise.
Could this be a bug?
Thanks,
RuchikaHi Karthik,
I have already done these steps.
The problem is - Purch. Group field is there in Default settings but, it doesn't show me any values to select from and
set a Default value.
None of the purchasing groups available in system are appearing here. The selection list is Blank.
Is there anything I need to do to bring the P.Group values in the drop-down selection list of Personal settings?
Thanks,
Ruchika -
Adobe Form Enumerated Dropdowns values not populated
Hi All,
have a scenario where, I have to fill in a dropdown dynamically when I click a button. I get the values from a function module. I have done this using Isimpletypemodifiablestep. It worked.I have the form too. But when I try to re-implement the same for a new requirement, its working only if I give the values during initialisation .
Why is this inconsistent?
Can we modify Simple types only during initialization? I have tried to add the values to the drop-down in controller and map the attribute to view. Even that didn't work.
I'm
Am using Adobe Live cycle designer 7.1 and NWDS 7.1
SAP 2004s SP15
Thanks,
VasuHi,
Try with this code...
int iCommodityCode = wdContext.nodeIt_Commodity_Output().size();
String commText = null;
String commCode = null;
IWDAttributeInfo CommodityAttinfo = wdContext.nodeCommodityNode().getNodeInfo().getAttribute("CommodityCode");
if (CommodityAttinfo != null) {
IModifiableSimpleValueSet commValSet = CommodityAttinfo.getModifiableSimpleType().getSVServices().getModifiableSimpleValueSet();
commValSet.clear();
commValSet.put(" ", "Please select one");
for (int i = 0; i < iCommodityCode; i++) {
commCode = String.valueOf(wdContext.nodeIt_Commodity_Output().getIt_Commodity_OutputElementAt(i).getCommodity());
commText = String.valueOf(wdContext.nodeIt_Commodity_Output().getIt_Commodity_OutputElementAt(i).getComm_Text());
commValSet.put(commCode, commText);
wdContext.currentCommodityNodeElement().setCommodityCode(" ");
You have to execute the RFC in doInit of the View and use this code in the click event of your button.
If it still doesn't work it must be the problem with webdynpro lifecycle methods.... The context is available only after certain lifecycle methods are called.. i.e. wdDoPostProcessing() method of Component Controller. Check if you are trying to access the context before the Component Controller is not initiated completely.
Let me know if you need any further help....
Regards
Ramesh. -
Characteristic values not displayed in APO Product
Hi friends,
I CIFed Materials with characteristics and class as 300 (variant) to APO-SNP where it gets converted to class 400 (CDP). The material gets CIFed but when I go to the Classification tab of Product master (/SAPAPO/MAT1), and hit Further Classes button, the Characteristics value descriptions appear but with no values assigned to it.
Have any one experienced this before or anyone could help me on this. Thanks in advance for your help.
SamHello Friends,
My problem is similar to Sam's. The difference is that when I hit Further Classes button, it appears a messagem saying there are no assignements for class type 300, only for class type 400. Any idea of what is the cause?
Thank you!
Regards,
Elaine
Message was edited by:
Elaine Cristina Schneider de Carval
Maybe you are looking for
-
How to delete songs from iPod touch 5th generation
How do I delete songs from an iPod Touch 5th genration. We tried many other forums with the swiping method, but when we tried it, a picture of a cloud with a red arrow appeared after tapping the delete button appeared and the song remained.
-
Requirement: Creation of new report similar to VA05u2026
The Sales team need to use transaction VA05 to show all open orders, for all order types. It currently takes 9 minutes to run an open order report, 11 to include exporting the file from SAP. There are currently nearly 30,000 Finished Goods open orde
-
Does Apple iPhone 4 Dock support answering calls through apple headphone
Does Apple iPhone 4 Dock support answering calls through apple headphone? or is the audio out just a simple audio out that cannot interact with the headphone cable remote control, e.g. answering calls , skipping to next song as we used to as normal?
-
HT204389 Siri Hebrew language availability?
HI Anyone Knows about Siri Hebrew??
-
Confusion about recovery from tag
Hi All, We had a situation where we need to restore and recover to point in time until 24th June. One of our colleagues at first restored the controlfile from 24th June backup using below script.. run ALLOCATE CHANNEL c1 DEVICE TYPE SBT_TAPE PARMS 'E