Update j_3abdsi in AFS
Hi friends,
I'm having a requiremen to update j_3abdsi-nodis with '1' through user-exit and it's working fine for VA02 but VA01 it's not working.
The reason behind is after some point of time, the corresponding code has been executed and the value got cleared from xj_3abdsi internal table, but this is not the case of for change mode.
Currently I'm using the below logic, please let me know if I'm doing some thing wrong over there.
IF t180-trtyp NE 'H'.
sj_3abdsi-tabix = 0.
LOOP AT xj_3abdsi where updkz ne updkz_delete.
READ TABLE yj_3abdsi WITH KEY aufnr = xj_3abdsi-aufnr
posnr = xj_3abdsi-posnr
etenr = xj_3abdsi-etenr
bdart = xj_3abdsi-bdart
werks = xj_3abdsi-werks
matnr = xj_3abdsi-matnr
j_3asize = xj_3abdsi-j_3asize.
IF sy-subrc = 0.
sj_3abdsi-tabix = sy-tabix.
MOVE-CORRESPONDING xj_3abdsi TO j_3abdsi.
j_3abdsi-nodis = ls_cusdata-data.
j_3abdsi-nodis = '2'.
PERFORM j_3abdsi_update(sapfj3av).
clear xj_3abdsi.
ENDIF.
ENDLOOP.
ELSE.
LOOP AT xj_3abdsi WHERE aufnr = space and updkz ne updkz_delete.
sj_3abdsi-tabix = sy-tabix.
MOVE-CORRESPONDING xj_3abdsi TO j_3abdsi.
j_3abdsi-nodis = ls_cusdata-data.
j_3abdsi-nodis = '2'.
PERFORM j_3abdsi_update(sapfj3av).
clear xj_3abdsi.
ENDLOOP.
ENDIF.
Help in this regard, highly appreciated.
Thanks & Regards,
Thayalan
First of all, I am not sure whether the said field exists in KNA1. Nevertheless, first identify under which Account Group, that customer code has been created. Next go to OBD2, select that Account Group and execute. Double click on Field status. There the said field would have been selected for "Supress". Change it to Optional.
thanks
G. Lakshmipathi
Similar Messages
-
BAPI by which we can update material master AFS data.
Hello All,
I want to update net weigt for a perticular material of material type FERT.
I have data in my internal table.Is there any BAPI for updation.
I want to update like .
Goto MM02. and goto any FERT material.
Goto Additional data button.
GOto AFS weights and volumes tab.
There we need to update netweight value corresponding to the size.
So, Please let me know the various ways of updating.
Please ,Ask me for any clarifications.
Thanks,
kumar
Moderator message - Moved to the correct forum
Edited by: Rob Burbank on Oct 26, 2009 9:25 AMHello all,
Did any one have any updates on my ques.. please.
Thanks
Kumar -
SAP_APPL release and level
Hi Folks,
Need ur support !!!!
System details:
DB is DB2 v9.7.0.9,
OS is unix Linux x86_64
FOR SAP CRM 7.0 EHP3
We need to install the component SAP_APPL for this EHP3 CRM7.0 system .
Let me know what support release and level i can have it in this CRM 7.0EHP3 system.
Further i do have the below component
SAP_BS_FND (SAP Business suite foundation) 747 0002
Please provide your valuable suggestion
Additionally , we got this requirement from Functional consultants with the below link where it is mentioned as SAP_APPL 606 , but SP level is not mentioned in it properly
http://help.sap.com/saphelp_crm700_ehp02/helpdata/EN/b7/c535f2968f43458ac1d571b5872731/frameset.htm
Regards
RamHi
SAP_APPL is ERP component you may not install the same to CRM, Kindly refer the SAP Note and PAM - http://service.sap.com/pam
1664194 - Installation / Delta Update of SAP AFS 606
BR
SS -
Error while updating AFS weights & measures material master data using BAPI
Hello ABAP experts,
Please help me in finding the right way in updating AFS weights & measures data (/AFS/MARM) data using BAPI /AFS/BAPI_MATERIAL_SAVE_DATA.
I'm populating the following table parameters of the BAPI,
1. SKUUNITSOFMEASURE with /AFS/MARM records
s_bapi_marm-ALT_UNIT = 'EA'.
s_bapi_marm-ALT_UNIT_ISO = 'EA'.
s_bapi_marm-grid_value = 'XXXXS'.
*s_bapi_marm-STOCK_CATEGORY = '01000'.
s_bapi_marm-volume = '10'.
s_bapi_marm-GROSS_WT = '10'.
s_bapi_marm-NET_WEIGHT = '10'.
append s_bapi_marm to t_bapi_marm.
2. UNITSOFMEASURE with MARM records
s_bapi_uom-ALT_UNIT = 'EA'.
s_bapi_uom-ALT_UNIT_ISO = 'EA'.
s_bapi_uom-NUMERATOR = '1'.
s_bapi_uom-DENOMINATR = '1'.
s_bapi_uom-UNIT_OF_WT = 'KG'.
s_bapi_uom-VOLUMEUNIT = 'CCM'.
append s_bapi_uom to t_bapi_uom.
But the BAPI returns me an error "Stock Category & is not valid in Category structure &"
Let me know if you have any inputs on this one.
Thanks,
Partha.Hi VAMSHI,
I have your same error but I don't know how to solve it. We have active "material split valuation" and valuation type is mandatory field if using ACCOUNTING and COSTING views.
Please, let me know.
Thanks in advance.
GB -
How to update Prodcution order qty using /AFS/BAPI_GOODSMVT_CREATE
Hi Friends,
I need your help desperately,
I am using the BAPI, '/AFS/BAPI_GOODSMVT_CREATE' its working fine but it gets updated only Inv management / warehouse management perfectly, but my requirement is this return qty to be adjusted against the production order material. (MB1A with movement type '262' - for returns)
I need to know any other parameters to be included in the BAPI to update the production order also.
I have attached the code.
please reply ASAP.
Thanks
Shankar
*Header Structure
st_gm_code-gm_code = '03'. "
st_gm_header-pstng_date = st_gm_header-doc_date = sy-datum.
SORT itab BY aufnr matnr j_3asized.
LOOP AT itab.
itab_afs_gm_itemx-material = itab-matnr.
itab_afs_gm_itemx-plant = itab-werks.
itab_afs_gm_itemx-stge_loc = itab-lgort.
itab_afs_gm_itemx-batch = itab-new_charg .
itab_afs_gm_itemx-stock_cat = itab-j_4kscat.
itab_afs_gm_itemx-stck_type = 'F'.
itab_afs_gm_itemx-move_type = '262'.
itab_afs_gm_itemx-entry_qnt = itab-j_3aerfmg .
itab_afs_gm_itemx-grid_value = itab-j_3asized.
itab_afs_gm_itemx-orderid = itab-aufnr.
APPEND itab_afs_gm_itemx .
ENDLOOP.
CALL FUNCTION '/AFS/BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = st_gm_header
goodsmvt_code = st_gm_code
IMPORTING
goodsmvt_headret = st_gm_headret
materialdocument = mat_doc
matdocumentyear = doc_year
TABLES
afs_goodsmvt_item = itab_afs_gm_itemx
return = bapi_return .
IF sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
itsoh-mat_doc = mat_doc.
itsoh-doc_year = doc_year.
APPEND itsoh.
status = '06'.
ENDIF.u can use 'BAPI_SALESORDER_CHANGE'
and see the following link
http://abap.wikiprog.com/wiki/BAPI_SALESORDER_CHANGE
Edited by: krupa jani on Nov 25, 2008 11:15 AM -
AFS & MDM (update...)
Hi all
i have been looking for some SAP official documentation about scenarios between SAP Apparel Footwear Solution and SAP MDM to material/article master data; my questions below:
- Does exist some documentation about the real scenarios where it consider the integration between AFS and MDM? ie. create the article/material master data from SAP MDM as the main source and synchronize the information to AFS and its "how to..."
(http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0cb1c2c-f19a-2d10-8387-d7ed00092896?quicklink=index&overridelayout=true - here there are 6 options for master data model design, so can we use one of them?)
- Which repository should I use? (Until SAP MDM 5.5, there was a business content for Article master. However, from SAP MDM 7.1 release, this business content is no longer provided - See SAP Note 1276909)
- Which iDocs are availables for this scenario?
- Is the best practice integrating these modules?
- Can i get updated information of these themes? 2010+
Thank for your help!
Pp-the example given are based on MDM 7.1 only .. so no worries on that.
-iDocs (as in doc)- AFSMATMAS Material Master Data IDoc in the AFS System
J3AGRI02 Master Grid Data iDoc in the AFS System
- u can have MDM as a leading master data creation cockpit and then syndicate data to ECC AFS
thanks
-Adrivit -
Updating Cnfigurable Material through IDOC to AFS material master
Hi Guru's,
Well i am trying to create a afs material through IDOC, i created all the views in the afs material master using /AFS/MATMAS type in WE19 and i got the result as well all the master data views came. But the thing is i am not able to pass the configurabile material in MRP3. As of , SDN or OSS note is saying that it is not possible to do that.
I hope there will be some possiblities to get done it. It will be greatfull if any one provide the information about it.
Thanks and Regards,
Madhu.GHi Gurus,
Well my previous question about the creating configurable material through IDOC.?
At last we find the solution for that, as in SAP OSS note says there is nopossibility in some way and also said that STD PD field was added wrongly in /AFS/MATMAS05.
But the ultimate solution is we need to add a segment in the IDOC which contains the characteriastics will be updated automatically and add up the segment E1CUCFG.
Here is the solution:
*add up the segment E1CUCFG
Thanks & Regards,
Madhu.G
Edited by: madhu333mac on Aug 25, 2011 1:07 AM -
Difference between J_3AMADKA and MBEW / Update SKU standard prices with AFS
Dear reader,
Environement: ECC 6 with AFS 6.3
In a first step,I am trying to create, and in a second step, to update the SKU standard prices using FM: BAPI_MATERIAL_SAVEDATA.
It is really strange the way it performs changes on table MBEW and J_3AMADKA.
Can anyone explain to me the different use of those two tables? I thought that the J_3AMADKA was dedicated to SKU level, but finally, the TA: /n/afs/conv1 create the SKU standard prices only in MBEW !? But BAPI_MATERIAL_SAVEDATA.
just create ONE entree in MBEW (?!?) while all SKU entree but without prices in J_3AMADKA.
In FM: BAPI_MATERIAL_SAVEDATA., I mainly filled structure VALUATIONDATA (=> MBEW) and SKU_PLANTDATA_VALUATION, where surprisingly, there is no standard price field for the SKU !?
Any link or remarks about this topice will be most apprecitaed,
Thanks,
DanielHi Kalias,
Many thanks for your fats reply.
I had a look to the (really old) SAP notes and after some few researches, it seems that AFS 6.3 insert the PRICE and ZKPRS columns again into table J_3AMADKA.
Those columns are even populated with values So it means that they are required by some SAP standard programms.
Maybe you have another clue about this topic?
Thanks again for your help,
Daniel -
Table for temporarily stock /requirement for tocde /afs/mdo4
Dear expart,
I developed a zreport for display STO number, Production order number, operation etc.
mainly I use here AFPO,AFRU, MSEG, MCHB & J_3ABDSI Table.
My problem is, when I compare with Tcode /afs/md04 tab-temporarily stock /requirement .
for some MATNR
data show properly.
and some MATNR are blank with message Last MRP run on 04.04.2011 or such date.
Hhow i can filter the in Z-report which MATNR are not in Tcode /afs/md04 tab-temporarily stock /requirement .
my code is.
SELECT j_3abdsiaufnr j_3abdsimatnr j_3abdsij_4krcat j_3abdsimbdat j_3abdsi~menge INTO TABLE it_eket FROM j_3abdsi
FOR ALL ENTRIES IN it_final1
WHERE
j_3abdsi~j_4krcat = it_final1-j_4ksca AND
j_3abdsi~matnr = it_final1-matnr AND
j_3abdsi~werks = it_final1-werks AND
j_3abdsi~bdart = 'TB' AND
j_3abdsi~plart = 'B' AND
j_3abdsi~bsart = 'UB'.
Pls help .
Rayhan
Edited by: Abu Rayhan on Apr 5, 2011 10:24 AMCLEAR i_data1.
REFRESH i_data1.
LOOP AT i_mara.
READ TABLE i_marc WITH KEY matnr = i_mara-matnr BINARY SEARCH .
IF sy-subrc = 0 .
CALL FUNCTION 'J_3AM_DISPOSITION_DISPL'
EXPORTING
i_matnr = i_mara-matnr
i_werks = p_werks
I_DIALOG = ' '
I_SPERR = ' '
I_AUFRUF = ' '
I_BANER = ' '
i_todate = todate
I_HEADER_ONLY = ' '
IMPORTING
ex_dbba = i_data3
E_MDKP =
EX_PBBD =
EX_MELD =
E_CM61M =
EXCEPTIONS
material_gesperrt = 1
wbz_fehler = 2
material_prgr = 3
dispo_gesperrt = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
IF i_data3[] IS NOT INITIAL.
LOOP AT i_data3 INTO i_data4 .
IF ( i_data4-j_3astat ='A' OR i_data4-j_3astat ='T') AND i_data4-j_3abskz ='C' .
READ TABLE i_t001l WITH KEY lgort = i_data4-lgonr BINARY SEARCH .
IF sy-subrc = 0 .
CLEAR i_data1str.
i_data1str-matnr = i_data4-matnr.
i_data1str-j_3asize = i_data4-j_3asize .
i_data1str-lgort = i_data4-lgonr.
i_data1str-menge = i_data4-menge .
COLLECT i_data1str INTO i_data1.
ENDIF.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
ENDLOOP.
Questions
i_mara recordset 500 material
It take more than 3 house to finished this report.
do changed ?
do you help me ?
Think. -
Hi,
I have loaded data for the AFS based datasource 2LIS_AF_PABDSI of PP. But there is no data in the field -
J_3ARESM(reserved quantity) - only showing 0,000. Used RSA3 transaction to extract data.
I checked it after filling up the setup tables. Data is present for all other fields.
Using MB25 transaction, when I give a particular production order - it has reservation data.
But, no data is present for Reservation Quantity in 2LIS_AF_PABDSI.
Thanks & Regards
Shine Sasimohanan
+91-9632674245Hi
I think this standard datasource is not fit for this filed. J_3ARESM(reserved quantity) filed populate through J_3ABDSI this table try it once with z datsource mapping through
J_3ARESM- ZJ_3ARESM(AFS Fixed reserved quantity)
Hope its help.
By,
Praveen Yagnamurthy,
SAP BI Consultant,
Blue Marlin Systems-INDIA.
http://bluemarlinsys.com/bi -
Updating SAP fields through BAPI (which are not BAPI parameters)
Hello,
I need to update season and collection fields in sales order (AFS), these fields are not in sales order creation BAPI. Can I still somehow use them in extensionin as parameters?? How do we do it?? BAPI: /AFS/BAPI_SALESORD_CREATEFDATA
Also there is another BAPI /AFS/VBAK_SALESDOCUMENT_CHANGE which has these fields in ITEM_EX table (which is extension for item table provided by SAP), but this dosent update the sales order as well.
I would appreciate if anyone has a clue how to do this.
Thanks,
Amit./AFS/VBAK_SALESDOCUMENT_CHANGE
Append structure BAPE_VBAP
J_3ASEAN
/AFS/COLLECTION
/AFS/THEME
Append structure BAPE_VBAPX
J_3ASEAN CHAR1
/AFS/COLLECTION CHAR1
/AFS/THEME CHAR1
Table: ITEMS_EX
OPERATION 009
DOC_NUMBER 200000608
ITM_NUMBER 000000
MATERIAL 2000010022
UPDAT_FLAG I
SEASON C1
COLLECTION DAM
THEME SEG
Pass the season Fields through EXTENSIONIN structure to update data into tables.
STRUCTURE BAPE_VBAP
VALUEPART1 020000060800000000000000C1 DAM SEG
STRUCTURE BAPE_VBAPX
VALUEPART1 0200000608000000XXXX -
Hi all,
can someone give some explanation about the differences between a normal sale order in sd and a sales order in sd afs?
Do you have some documentations?
thanks in advanceDear CMM,
Please go through the link. It gives you an update on how the things are different in AFS.
http://www.sapafs.net/
Do let me know in case of any queries.
Hope this helps you.
Do award points if you found them useful.
Regards,
Rakesh -
Create a Sales Order with Reference to Contract using IDoc / LSMW ( AFS )
Hi Gurus,
I need to crate a Sales Order with reference to a Contract. I need to upload Sales Orders with reference to contract via LSMW.
So far, I've been able to create the Sales Order with ref to contract. But, the Sales Order Quantity is not getting deducted from the Original Qty in Referred Contract ( When try to create another Sales Order referring to the same Contract.) When a Sales Order is created manually, this is working fine.
Please tell me if I've missed some parameter which stopping it create the link to exact schedule line ( Sizes level )
The Details of the IDoc which is been created via LSMW are as follows;
Message Type: ORDERS
Basic Type : /AFS/ORDERS05
Process Code : ORDE / DELO
( Tried with both process codes. But the Identification is the same for both: IDOC_INPUT_ORDERS )
*_In Header;_
Segment : E1EDK02 - IDoc: Document header reference data *
Qualifier : '043' - Vendor Contract Number ( Tried with ' 005' - Customer Contract, but it's not working )
Contract Order is mapped for field BELNR
*_In Item;_
Segment : E1EDP02 - IDoc: Document Item Reference Data *
Qualifier : '043' - Vendor Contract Number ( Tried with ' 005' - Customer Contract, but it's not working )
Contract Order is mapped to field BELNR
Line Item of the Contract is mapped to field ZEILE
I also tried passing the Schedule line of Contract in Segment : E1J3P01 AFS IDoc: Doc.item general data
to following fields;
J_3AETENV
J_3AVGETE
/AFS/UETENR
Still its not getting updated in the VBEP also..
Please help me with regard to this. Points will be awarded for your valuable contribution.
Thanks.Hi,
This issue is been resolved.
One of my friend helped me with resolving this issue..
Once the below mentioned configurations were done on SPRO, the Sales Order was created with reference to Contract and the Qty was reflected when tried to create a new Order referring the same contract.;
u2022 SPRO --> SD -->Sales --> Sales Documents --> Sales Document Header --> Define Sales Document Types --> Field : Outline agreement message; from blank to u201CBu201D.
u2022 SPRO -->SD -->Sales --> Sales Documents --> Sales Document Header --> Maintain Sales Document Types for AFS --> Field : Outline agreement message; from blank to u201CAu201D -
I yesterday installed the latest itunes upgrade to version 11.1.5.5. After doing so my computer no longer recognizes my cd drive Device manager states that windows cannot load the device driver, the device driver may be corrupted or missing. When I have tried to renew the driver it states the latest one is installed. I do not have the file afs.sys on my computer which is quoted as the file which causes optical drives to disappear. Any ideas
Hi, I've managed to get my CD & ipod working now but it wasn't easy. Maybe this will help you fix it.
This is what I did:
The problem: OS Windows 8.1 - was working ok with itunes (not sure which version). Upgraded to 11.1.5.5 and my old ipod stopped being recognised by itunes. As I had just bought a new ipod touch 5G I didn't pay too much attention however I soon realised that the new ipod wasn't recognised either. I uninstalled iTunes & reinstalled but that didn't fix it. I found a technote (see below) that says how to get get your ipod reconised. That worked but on a a reboot I realised that there was no CD drive appearing in windows.
It now works & this is what I did to fix it:
Went through the apple technotes on CD issues & looked a the Gear website
Looked for afs.sys file but didn't have that
The registry settings for device filters looked the same as the technotes
Device manager for CD said there were problems in the registry
I backed up the itunes folder (I was planning on a clean install & rebuilding itunes from scratch however most people want to keep their data)
I uninstalled itunes but that made no difference
I rolled back to the a system restore point that had been created not long before the upgrade to 11.1.5.5
The CD drive was now OK again
I went into Windows update and ran the updates that were available - one was for intel chipsets
I created a system restore point as a precaution
I found the registry key that is mentioned in the technotes to do with CD problems and device filters and backed it up separately as a precaution
I ran itunes (x64) 11.1.5.5
itunes asked me if I wanted to repair or uninstall - I uninstalled
I rebooted
I ran install for itunes 11.1.5.5
itunes installed ok & the CD was still there
ipods were not recognised
I followed the instructions http://support.apple.com/kb/TS1538 to update the driver
5. Verify that the Apple Mobile Device USB Driver is installed - For Windows Vista, Windows 7, and Windows 8
Update the Apple Mobile Device Driver
I now have a CD drive & iTunes recognises my ipod again - phew
Good luck -
Not running MRP but has Purch Req with Sales Order as pegged reqmnt in AFS
Hello Gurus!
MRP run is activated in the Plant but we do not run MRP (no MRP batch job nor manual MRP). However, there are materials that have Purch Reqs with creation indicator as MRP showing pegged reqmnt from Sales Order even if Item category is the same.
My initial check shows that those materials with issue has MRP Indicator as BLANK(Multi-level, transaction dependent MRP) and those that do not generate Purch Req from SOs has N(No transaction-dependent MRP). However, transaction dependent MRP is not activated.
Can you provide areas where I should check/other probable cause of this?
Your valuable insights is deeply appreciated. Thanks!Hello?
I just want to update how this was resolved.
I found out that MRP Indicator field in AFS MRP view for the materials with MRP generated Purch Reqs is maintained as BLANK(Multi-level, transaction dependent MRP) in AFS MRP view instead of N(No transaction-dependent MRP) but there is no transaction group maintained. So MRP run is triggered whenevert there is MRP relevant transactions performed.
Maybe you are looking for
-
Hello Everyone, im having a major problem with this applet.I am trying to create a Black Jack card game to play around.It is compiling with no errors however the applet doesnt seem to get initialised thus it is not possible to be viewed in the applet
-
We've been still using 8i but just had an instance of 9i put up in our development region. We're trying to take a dynamic sql statement with many unions and create a stored procedure. I understand this was a problem in 8i. We're still getting ambiguo
-
Which version of the GX620 do I have
Hey guys, I know I have a GX620, but how would i go about figuring out which exact version, mines the one without the turbo button. If you happen to know which version, does it have x64 support?
-
Comparison gives error / not show differences for File Protection
We tried to verify on our MS (Version 6.0.2) with comparison two Installations with: "Comparison Style: install to install" "Level of Detail: directory and file properties" (as you can choose in the UI) 1) Seems that he don't catch file pro
-
Hello please, i have UC540 and i have 8 users on the system, below is my requirements; i have (4) POTS lines connected to the FXO port of the UC540. POT line 1--------------------------should be assigned and used only by user 1 POT line 2------------