Quantcast
Channel: SCN : All Content - All Communities
Viewing all 3257 articles
Browse latest View live

Resetting running sum based on condition

$
0
0

Hi All,

 

I am facing a challenge in figuring out the way to derive the below values in WEBi.

 

MonthActionsNo. of WeeksRunning Sum
of Weeks
Jan1044
Feb2348
Mar11513
Apr6417
May4421
JunNILL00
Jul944
Aug348
Sep7513
Oct20417
Nov34421
Dec31526

 

In the above table, when a month has no actions (Actions = NILL), I have to reset the running sum of No. of Weeks per month from the beginning of the next month.

 

I am not getting any idea on how to achieve this.

 

Your help is really appreciated and points are awarded surely.

 

Regards

Muralidhar


Requirements type VSEV does not exist

$
0
0

Hi experts,

In MPS scenario I am transferring PIR quantity from info structure table SXXX to MD63. But in MD63 if I try to display if the PIR's are transferred for the Product group/material, I get the error as Errors occurred while reading data, see the message log --> "Requirements type VSEV does not exist" and no PIR's are displayed in MD63. How fix this error and from where the Requirements type value- VSEV gets picked.

 

Thanks

Sakthi

Is there any way to transfer the Start date of Pur Requisition from APO (RRP3 screen) to ECC ME23N?

$
0
0

Hello Experts,

 

There is a requirement to reflect the Start date of a Purchase Requisition/PO in the RRP3 view of APO system to the corresponding PO in ME23N transaction as a text field in the ECC system. Could you please let me know if you have got any idea about having any such instances? Would be obliged if you could help me with such enhancement idea or the User Exits used there.

 

Thank you.

 

-Ritam

ITS / Webgui: How to... fix Initialization of SAP GUI for HTML failed: [object Error]

$
0
0

If you get...

webgui_initialization_error.png

... when starting Webgui (after system logon) one of the possible explanations is that you have recently updated your system and are still trying to force Webgui to use Quirks mode instead of Standards (Edge) mode. Go to transaction SICF and select the service webgui, go to GUI Configuration...

webgui_service_parameters.png

... delete the SAP-IE parameter and save. Webgui should work again.

Transaction Notification Problem

$
0
0

Dear Experts ,

 

I am trying to make a transaction which, in case a value in a specific line is 'Approved',the line must not be updated .

The field(U_Status) is in the table 'ZAM_ACT' and the object id is in the table 'ZAM_TSHEET'.

The two tables are connected with the DocEntry where DocEntry from 'ZAM_ACT' is the same for every line and DocEntry for 'ZAM_TSHEET' is unique.

 

The code i am trying is the folowing :

 

 

IF @object_type ='ZAM_TSHEET' AND @transaction_type IN ('U')

 

begin

 

DECLARE @DocLine  NVARCHAR(20)

DECLARE @Status  NVARCHAR(14)

 

SET @DocLine = 0

  WHILE @DocLine = (SELECT COUNT(DocEntry) FROM [@AZAM_ACT] WHERE DocEntry =@list_of_cols_val_tab_del)

  BEGIN

  SET @Status = (SELECT U_Status FROM [@AZAM_ACT] WHERE DocEntry =@list_of_cols_val_tab_del AND LineId = @DocLine)

 

  IF (@Status = 'Approved' )

 

  BEGIN

  SET @error=300216

  SET @error_message=N'Not allow this change.Please choose an activity with a different status!'

  END

  SET @DOCLINE = @DOCLINE + 1

  END

 

end

 

 

Best Regards

filter change pointers

$
0
0

I am  implementing a badi to filter change pointers  , Could  you please suggest me how to check tablekey for specific conditions types like VKA0 , ZVKM . I have to reject change pointers based on tablekey value .

how to assign year and month in YYMM format as a default value for input parameter in Calculation view?

$
0
0

my period parameter is not mandatory, if the user is not giving any input then the current date in YYMM format should be defaulted e.g: 1604. Something like

 

if p_period is null then

   select to_varchar(now(),'YYMM')

   INTO v_period

   from dummy;

  else

    v_period := p_period;

  end if;

 

But the above is not working in a scripted calc. view, when i am using the same in procedure in catalog folder its working as desired. I want to achieve the same functionality in calc view.

Problemas al compartir en Lumira cloud

$
0
0

Buenas noches, hace unos días compre licencias de Lumira sin embargo no me aparce la opción de compartir o subir a LUMIRA CLOUD, no encuentro la opción dentro de Lumira para enlazar con mi cuenta de SAP CLOUD ojalá me puedan orientar, tengo instalada la versión mas reciente. 1.30


Significance of PSG in WSR

$
0
0


Hello Gurus,

 

What is the significance of creating PSG in SAP?

Like if we have two PAs Maharashtra and Karnataka and subareas like Mumbai, Pune of Maharashtra and Bangalore of Karnataka.

Then can we directly assign PSG to Company Code which contains all these PAs and PSAs?

If yes then why are we using PSG(which is simmilar to CtryGrp) in maintaining WSR instead of CoCode?

Also why CtryGrpg and PSG are same, like for grouping Indian PAs, PSG would be 40? Can we assign different ID to PSG?

Why is it not considered by SAP?

 

Regards,

Yogiraj

Overview of Batch Management

$
0
0

Batch Master


Batch Definition

 

Batch management indicator:

Material Master

  • Purchasing View
  • Work Scheduling View
  • Plant data/stor1. View

SAP Notes:
30656 - Change base unit of measure/batch management requirement
533276 - Setting the batch management requirement

 

Batchprocess:

Transaction Code: MSC1N/MSC2N/MSC3N  (Table MCH1/MCHA/MCHB)
Check change document: MSC4N
Mass processing: MSC5N

 

Program:
FUNCTION           VB_CREATE_BATCH
FUNCTION           VB_UPDATE_BATCH
FUNCTION           VB_CHANGE_BATCH

 

BAPIs:
BAPI_BATCH_CREATE (note 619913, item5)
BAPI_BATCH_SAVE_REPLICA (including classification >=470)

 

Batch Level


Function module: VB_BATCH_DEFINITION             

Table: TCUCH

FAQ during batch level conversion

 

Batch Number Assignment

 

Creating Batch:

  • In batch master record maintenance(Batch Management)
  • In goods movement(Inventory Management)
  • In purchase orders(Purchasing)
  • In production/process orders(Production)
  • In results recording(Quality Management)

 

Automatic/Manually: Control in customizing OCHA

 

Batch number assignment: Internal/External

User-exit:

Automatic: EXIT_SAPLV01Z_001/EXIT_SAPLV01_Z_002

Manual: EXIT_SAPLV01Z_003/EXIT_SAPLV01Z_004, EXIT_SAPLV01Z_013 and EXIT_SAPMM07M_003 (inventory management, only for new batches) can be used to change the master data of a batch.



Common information:

 

 

Related documents:

Align vendor batch number with SAP batch number during Goods Receipt


Batch Classification

 

Characteristic Types in Batch Classification:

  • User-defined characteristics: Characteristics that do not reference table fields
  • Object Characteristics: Characteristics that refer to table fields.
  • Standard characteristics: These are Batch Management characteristics that are delivered in the SAP standard system. They are reference characteristics from tables MCHA and MCH1. All standard characteristics can be found in F4 help by specifying LOBM_*. You are normally not allowed to make changes to standard characteristics in the characteristic master record.

 

One batch class per material (note 115581), but batch classification can be assigned to multiple objects (check transaction O1CL)

 

Accordingto batch level class type is determined (material/client: 023, plant: 022)

 

Batch classification can be maintained in batch master transactions, and in several applications (goods movements, orders, process messages)

Update standard Features: BMSM

Classifying batch during goods movement: OMJJ


Tables:
Do you know the links among tables in Classification and Variant Configuration?

 

Classification is called in: VB_CREATE_BATCH and VB_CHANGE_BATCH

Classification FM: CLFM_OBJECT_CLASSIFICATION

 

User Exits to fill free characteristics:

  • EXIT_SAPLV01Z_014(not called in MB* transactions, but in MIGO!)
  • EXIT_SAPMM07M_004(called in inventory management transactions and when posting goods movements via MB_CREATE_GOODS_MOVEMENT)


Reports:

  • Integrity Check for Batch Classification – BMCC
  • RCCLZUOB(checks whether object exists for classification entry in table INOB - e.g. entry for temporary document number)
  • RCCLINOBDEL(deletes multiple INOB entries for one object)
  • RVBCOR16(checks the customizing of batches concerning classification)


SAP Notes/KBAs:
1427890 - FAQ: Standard characteristics

1797792  - Slow performance when accessing classification data

 

Related documents:

Batch Class Conversion in SAP

 

 

Batch Archive

 

SARA:

Archiving Object MM_SPSTOCK

Pay attention on the indicator:

‘Only consider batch stock records; batch master record will not be deleted’

 

Batch Status Management

  • Batch status management is activated via transaction OMCT.
  • Batch status can be changed in batch master transaction and via usage decision (transaction QA11).
  • There are two options to prevent restricted batches from being selected within batch determination:
    - insert
    characteristic LOBM_ZUSTD in batch class and selection class
    - work
    with dynamic ATP check (scope of check – OVZ9)
  • Functionmodules:
    VB_CHANGE_BATCH_STATUS
    VB_CHANGE_BATCH_STATUS_STOCKS
    VB_BATCH_DEFAULT_STATUS
  • Exit:EXIT_SAPLV01D_001 (determine initial status of batch)
  • Fields:    TCUCH-KZDZV   T001W-CHAZV (batch level on plant)

 

Batch Determination

 

Batch Search Strategy Customizing

 

Five Scenarios

  • Inventory Management
  • Production order
  • Process order
  • Sales and distribution
  • Warehouse Management

Five scenarios have similar steps to define the batch search strategy.

 

Five Steps in OCHA:

  1. Define Condition tables : Condition tables are combinations of fields that form the key of the batch search strategy.
  2. Define Access Sequences: The order in which the system accesses condition tables during batch determination.
  3. Define Strategy Types: The default values used when a strategy record is created.
  4. DefineSearch Procedure: The order in which you assign the strategy types is the order in which the system searches for strategy records.
  5. Search Procedure allocation and check activation: Allocate the search procedures to the application-specific parameters. Batch determination becomes active as soon as you make the allocation.

 

Selection Class

Define in CL01/CL02/CL03

With the help of these selection classes, you define according to which criteria, that is, using which characteristics, batches are to be selected

  • All characteristics (this applies to standard characteristics as well as to user-defined characteristics) you want to use for selection must also be contained in the batch class. Characteristics LOBM_RLZ and LOBM_LFDAT are an exception; they can be used for selection but not for classification
  • To copy the characteristics from client 000 to your logon client, use report RMMCCH01.
  • 33396 - Batch determ.: Selection w. remaining life LOBM_RLZ

 

Sort Rule


Define in CU70/CU71/CU72

With the help of sort rules, you define according to which criteria, that is using which characteristics batches are to be sorted.

  • All characteristics (this applies to standard characteristics as well as to user-defined characteristics) you want to use for selection must also be contained in the batch class. Characteristics LOBM_MENGE and LOBM_LGORT are an exception; they can be used for selection but NOTfor classification.
  • 1979691 - How to set up FIFO in batch determination

 

Batch Search Strategy Setup-SD

Transaction Code : VCH1/VCH2/VCH3

Set Up Batch Determination in Sales and Distribution

 

Batch Search Strategy Setup-PP

Transaction Code: COB1/COB2/COB3

Set Up Batch Determination in Production Planning

When the batch determination should be done in production process.

Batch Search Strategy Setup-MM

Transaction Code: MBC1/MBC2/MBC3

Set Up Batch Determination in Inventory Management

 

Batch Search Strategy Setup-WM

Transaction Code: LS51/LS52/LS53

Batch determination is used for goods issues and stock transfers in SAP warehouse management systems.

  • Batches to be picked are transmitted to warehouse management (batch determination takes place in upstream applications).
  • Batches are determined from warehouse management (Batch determination in warehouse management).

 

Batch Determination Analysis


Function Module VB_BATCH_DETERMINATION


User Exit
SAPLV01F

  • EXIT_SAPLV01F_001
  • EXIT_SAPLV01F_002

BADI
VB_BD_SELECTION

585576 - BAdI preselection of batches in batch determination

 

Batch Information Cockpit

 

Basics        


Transaction BMBC functions as single point of entry for batch information and comprises several transactions:

MSC2N, MSC3N, MB56, MMBE, CO09, CL30N, MB5C


Selections

 

Selection Result


SelectionResults: Batches

Here, the main focus is on the selected batches. The batches are displayed in accordance with the batch definition level.


SelectionResults: Stock

  • Here, the main focus is on the stock situation of the selected batches.
  • Following stock tables are read:

MCHB
(free stock, special stock indicator = blank)

MKOL
(Special stocks from vendor, special stock indicator = k)

MSKA
(sales order stock, special stock indicator = E)

MSKU
(special stocks with customer, special stock indicator = V and W)

MSLB
(special stocks with vendor, special stock indicator = O)

MSPR
(project stock, special stock indicator Q)

 

Restrictions


Nmber of batches 50 but only 20 displayed.

  • System read all batches of material A, for example 70. User Parameter said maximum 50 batches, so system take the first 50 and send message ‘more then 50 batches found’
  • Next step take 50 batches and check if they fit the selection criteria, so for example only 30 batches are displayed customer

In the selection result of the Batch Information Cockpit you can display in all 50 characteristics, but it is limited to 20 for character types, 20 for numeric types and 10 for date and time types.

1701988 - Transaction BMBC - Not all characteristics are displayed in the selection result screen


Old batches are note displayed after upgrade to EHP5, reason is new added field BATCH_TYPE, note 1297566 provide a report to update the old
batches


Main Program: RVBBINCO


BAdI:
BIC_FOLLOW_UP_ACTION
BIC_SELECTION

 

 

Batch Derivation

 

Basic Information

  • Batch Derivation is based on batchwhere-usedlist (table CHVW and CHVW_PRE areread).
  • Batch Derivation is triggered by certaine vents (transaction DVC8)
  • No batch derivation for stock transfers (use exit EXIT_SAPMM07M_004 instead)


Derivation Mode:

  • Pull Derivation (1 Receiver, n Sender) 
    The
    derivation is triggered from a transaction that affects the product. Here, data from various senders can be collected, cumulated, and calculated. Within a derivation according to the pull principle, there can only be one receiver, but there can be several senders (example usage: pick and pack for pharmaceutical products).
  • Push Derivation (n Receiver, 1 Sender)
    Within
    a derivation according to the push principle, there can only be one sender and several receivers. This derivation is started from a transaction that affects the component batch. Here, data from a sender batch can be derived onto several receiver batches (Example usage: Filling bulk batches in the Chemicals industry).

 

Customizing

Derivation events (DVC8)

  • Determine at which time a derivation should happen and which rule should be used.
  • Static or dynamic derivation
    • Static Derivation: For a static derivation, the attributes determined for the sender batch(es) are transferred to the receiver batch(es).
    • Static derivation is recommended if a batch is newly created or changed and the values in the receiver batch(es) should be filled with the attributes from the sender batch(es).
    • Dynamic derivation: For a dynamic derivation, no attributes are transferred to the receiver batch(es), in other words, the derivation is simulated and the values are merely displayed. The derivation is saved, but the receiver batch(es) are not automatically changed.
    • Dynamic derivation is used when the receiver batch must/should not be changed and the sender values should be used as the basis for a user decision.

Set Up Condition Technique for Derivation (Need to be set for sender and receiver both.)

  • Define Condition tables
  • Define Access Sequences
  • Define Strategy Types
  • Define Search Procedures

Derivation activate or not (DVSP)

 

Batch Derivation Rule


Sender Rule (DVS1)

  • Which characteristic values should be used to send
  • Pull or Push-Derivation

 

Receiver Rule (DVR1)

  • how many levels of WUL should be read
  • what happen if more then 1 value available which rule should be used to find the value


Details:

Set Up Batch Derivation in Production Process


Checking Derivations


Transaction DVMO

  • Check and display derivations
  • When you perform derivation, the following are logged:

        Derivation type

        Derivation event

   –Derivation status

        Result of the derivation, as well as the sender batches and the data sent

        Messages that arose during a derivation (for example, error messages when a derivation fails, due to a sender field being non-valuated)

Transaction DVMAN

  • Manually derivation for example for testing or reproducing

 

Related documents:

Batch Derivation in Production

Batch Derivation with BADI Derivation

Batch Derivation Overview with example

 

Shelf Life Management

 

Prerequisite

Material Master

View “Plant data/stor. 1”, the “Min.Rem Shelf Life” should be maintained: ŸMARA-MHDRZ

Customizing

  • OMJ5 for plant or movement type

T159L-XWMHD (Plant)
T156-KZMHD (Movement Type)

check only when KZMHD = 1

KZMHD = 3 for goods issues (system message M7 667 moving to trash)


Functionality for all materials not only batches!


Process

  • Expiration date is checked (KZMHD = 1) when goods come into the system .(goods receipts, reversals of goods issues, transfer postings)
  • System prompts to enter an expiration date.
  • When total shelf life is maintained in material master, system prompts for production date.
  • When production/expiration date already exists (only for batches possible), these values are entered as default.
  • Customizable system messages (overwriting allowed etc. in transaction OCHS)
  • Expiration date stored in batch master
  • Production date stored in batch master since release 4.5.
  • Expiration date also stored in warehouse management (quants).
  • If finer steering is needed (plant or storage location dependent values)
    User-Exit EXIT_SAPLVBMD_001
  • Function Module: VB_MAINTAIN_MHD
  • BADI: VB_SLED_MANAGEMENT -> called in MM07MMHD
  • Notes:
    354914 - Documentation for EXIT_SAPLVBMD_001

        616028 - FAQ: Minimum shelf life processing


Related documents:
Considering  component shelf life in batch determination

 

Batch Specific UoM


ProductionUnit ofMeasure

Notes

162925 - Documentation for product quantity

362932 - Conversion with proportion/product units


Function module: MURC_MENGENUMRECHNUNG

Postings are done in base unit.

Conversion:Function Module MATERIAL_UNIT_CONVERSION

 

Related documents:

Batch Specific UoM and Active Ingredient Management

Catch Weight Management

 

 

Original Batch

Original Batch

How to acess object provided by Ajax

$
0
0

Good Afternoon.

 

I´m trying to acess data from this URL "https://corsanywhere.herokuapp.com/http://services.odata.org/V2/(S(frik5l2zde0sxh4jiifyhqo4))/OData/OData.svc/Products(2)";

 

I can acess to this Data , doing this code :

var x;

  var aUrl =

  "https://cors-anywhere.herokuapp.com/http://services.odata.org/V2/(S(frik5l2zde0sxh4jiifyhqo4))/OData/OData.svc/Products(2)";

  var oModel = new sap.ui.model.json.JSONModel();

  var aData = jQuery.ajax({

  type: "GET",

  contentType: "application/json",

  url: aUrl,

  dataType: "json",

  success: function(data, textStatus, jqXHR) {

            x = data.valueOf();

            alert(x.Rating);

  }

  });

 

But when I try to acess the attribute x.Rating , he says that is unsigned .

 

Can tell me how to acess to some attribute from data ?

 

Thanks

HANA Audit trail target change

$
0
0

Hi,

 

Currently, Audit policies have been enabled in HANA to record the actions performed by the user.

I would like to change the Audit trail target from 'SYSLOG'(default) to 'Database Table' so that the audit information can be recorded in 'AUDIT_LOG' view and on top of this view, a report is to be built to analyze who did what and when.

 

Here are the doubts I have:

What would be the impact if I do this change - SYSLOG to DATABASE TABLE?

Do I need to create the existing policies again?

Can we track the User activities of a Web application that is built on HANA?

 

Can someone help me on this. Thanks!

 

-- KRPK

printer output device drop down list in SAP IdM

$
0
0

Hi all,

 

 

I have been looking for documentation on how to add another printer to below "output devlice" drop down list in SAP Idm but could not find any.

Untitled.jpg

 

Can anyone help ?

 

Many thanks,

Fong

BOM Explosion error

$
0
0

Dears,

 

i have an issue here .. my VC structure is

 

KMAT (1000551) have two variants (4000181) (4000182)

 

the KMAT one have super bom which contain one class .. this class replace with one of this raw materials (1000559) (1000560) (1000563) (1000562).

 

my problem when i create a production order for the variant material i got this error

 

2016-04-26_15-16-10.png

 

also i created the BOM link to the KMAT and added the material to the routing

 

 

and when i run CU50 for the KMAT material i got the variant and the bom item

 

CU50.png

 

so what i can do to solve this BOM explosion error.

 

i tried to follow this steps and i didn't get any result

 

No BOM explosion in production order | SCN

 

BR,

Salah

Award&Disciplinary information infotype

$
0
0

Dear,

We're going to store award&disciplinary information into SAP, it should have information type, receive date, content and comment, which infotype is suitable?

IT0035 or else?

 

 

Regards,

Jason You


UJO_READ:MDX statement error: CX_SY_CONVERSION_NO_NUMBER occurred.

$
0
0

I trying to execute the following instruction:

 

 

[#POSICAO_ANTECIPADA] = SUM(PERIODSTODATE([DATA_CONTABIL].[2016.TOTAL].LEVEL,

[POSICAO_ANTECIPADA].PREVMEMBER

- ([INDICADOR].[VALOR_LIQUIDO],[PLATAFORMA].[CREDITO],[BANDEIRA].[BANDEIRAS])

- ([INDICADOR].[ANTECIPACAO],[PLATAFORMA].[CREDITO],[BANDEIRA].[BANDEIRAS])

)

 

After some time of execution, it gives me the following error:

 

UJO_READ:MDX statement error: An exception with the type CX_SY_CONVERSION_NO_NUMBER occurred, but was neither handled locally, nor declared in a RAISING

 

This is clearly a program error on MDX engine, so if someone knows the note to correct this please tell me.

 

BPC 10 on Netweaver.

 

Capturar.PNG

 

Or if is there some workaround, or other ideas, it would be welcome

Removing workflow item from Inbox

$
0
0

Hi,

 

I am changing the status of an object from workflow,(database table is updated) based on User decision in the workflow.

The same status can be updated from transaction also.

 

But if I am updating the status from transaction, then workflow item with user decision needs to be removed from Inbox.

Or it should not be executable.

 

How can I do this?

Please Advice.

 

Thanks,

Vivek.

ASSERTION error when REJECT the Shopping Cart in Detail mode

$
0
0

Hi Experts,

 

We are facing a problem with the Process controlled workflows when we try to REJECT shopping cart in Detail mode. It is working fine if we select the item from the inbox and click REJECT.

 

Please find the attached dump file and do needful.

 

Thanks,

Suresh

SAP CodeJam Over the Years – SAP HANA

$
0
0

SAP CodeJam was first introduced to the developer community in 2012, and has been going strong ever since. Till date, we have completed more than 350 SAP CodeJam events and 160 of those events were SAP HANA CodeJam Events.

CodeJams- Where Geeks Learn Best.jpg

 

Here are five reasons, why you should attend an SAP HANA CodeJam event:

 

  1. You will learn how to access the Web Based Development Workbench
  2. You will learn how to create your first XS application
  3. You will learn how to apply user roles and authorizations
  4. You will learn how to expose data using the OData framework
  5. You will learn how to apply UI5 and run your application

 

Where Have We Been?


We have conducted SAP HANA CodeJam events in 90 cities, have done over 20,000 hours of coding and made about 6,000 developer connections around the world.


Not sure what SAP CodeJam is?

 

SAP CodeJam is a 5 to 6 hours event where a small group of developers get together for an afternoon of networking, learning, and coding in an ultra-casual environment all for free. Attendees get a chance to share and expand their knowledge and collaboratively develop with SAP technologies, platforms and tools under the watchful guidance of an expert. The events are developer community focused and supported by SAP, exploring technologies available through the SAP Developer Center.


How can you request a CodeJam event?


Anyone can host an SAP CodeJam event in their city. If you are interested, please send your request to sapcodejam@sap.com and include the following info in the email: name and email of the local contact person for the event, country and city in which the event will take place, estimated number of attendees (25 – 40), topic of the event, location, 3 possible dates. Someone in the SAP CodeJam team will get back to you within 1 – 2 days to confirm and finalize the details. Click here for additional information about these events. We are now accepting requests!

 

Appeon on Windows 10?

$
0
0

Does Appeon work on Windows 10?

 

I am having trouble getting the sample apps or AEM to load.

Viewing all 3257 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>