Quantcast
Channel: SCN: Message List
Viewing all 8746 articles
Browse latest View live

Re: Dynamic Internal Table - Dynamic Field Catalog - Editable ALV


Sample copy distribution

$
0
0

I tried to understand the business process in more detail and captured the requirement as below:

 

Would you please guide me over the creation of FS?

 

 

Business Overview:

 

Publisher A , and other imprint,   publishers below publication House A every month publish  a few new books .Before the publication date arrives, it distributes sample copies among some employees, libraries, reviewers etc.  Thus every NYP( not yet published book) is distributed this way.

 

In book sale process, publisher like McMillan etc. sells books to-->  big book stores/ Amazon

 

Book shops/ Amazon will sell the books to --> readers( final consumers)

 

Every book has a publication date, before  which a book shop is not allowed to sell any book to the final reader/ consumer.

 

There exists small independent publishers under a big publisher , are called -->imprint

 

This  is SD Process:

 

user  will maintain customer master data (T Code: XD01) for every recipient of the  new book ( title).

 

We need to create a  z-program that will create sales orders automatically. This will generate a 0 value invoice.

 

A batch job may be maintained to create sales orders every month on the first day of the month.

 

We need to to create a Z table with a maintenance view to maintain customer master manually . The customers who are maintained in the table will be able to receive the books ( z program will create separate sales orders for each customer) .

 

To create sales order manually, we use the transaction code VA01. 

 

For every new book , a title master (material master for book will be maintained by the user. System may pick up material from MARA table, profit center wise. The Z program will select all those materials that are created in the same month and not yet reached its publication date. A stock will be maintained for each material.

 

System will check the no of books available is greater than the no of recipients.

 

Publication date of the new book will be maintained in another table. ( Will check with master data team)

 

 

 

Hi TW , Hi Vaselina,

 

I raised my query from another Id as I was not able to log into my id.The name of my last query ( raised on 19th )was : Distribution of Samples among the employees. My apology for this confusion. Thank you for your valuable observation points. I tried explain the points as you mentioned as below:

 

 

  • Books will be distributed not only among the employees, but among some selected employees , libraries, Newspaper houses etc as maintained in the z table.
  • as these books are new books ( titles) , user/ master data team will have to create new material/ title.
  • This sample book distribution will need a 0 value invoice to capture the expenditure of the publisher for a particular  customer/ recipient of the sample book. Invoice is also created to keep a record in SD & FI space.
  • Book sale will not imply any VAT calculation or any other tax calculation involved.
  • In the country the publisher operates 0 value invoice is allowed.
  • This sample copies will be distributed in purpose of review , these are not yet published new book.
  • The sample books will be picked up from warehouse and will be sent to various recipients, at various locations as mentioned in customer master. Orders will be created for every new book. Stock needs to be maintained in storage location and plant
  • Client in another ERP platform create thees sample sales orders by manually running a program.( no batch job). Thus in SAP environment user wont process these sample orders manually.
  • ( my client a publishing house is implementing SAP. There are on another ERP system now)
  • The recipient of the books will be located in various addresses, which will be mapped in the respective customer master data.
  • The recipients who will receive the sample copies are to be maintained manually as  customer in a z table, thus I hope I dont need to know the process of determining the recipient.

 

Regards

Chandra

Re: No Mock data when running App from FLP

$
0
0

hi Jaime,

 

yeah, pretty much.. you "add" all dependencies of MockServer (like sinon, etc) into your own project and instead of loading from the UI5 resources you load the one in your own namespace.

 

reason for such is, it would appear there is some sort of issue going on, not on your own code but rather maybe a bug with the UI5 version you're using.. this would remove doubts as you're loading code you control.

 

probably best to upgrade your UI5 library afterwards so you don't replicate files and versions everywhere - but as a workaround (and to test a solution) it should work.

 

 

Cheers,

Dan.

Re: Calculate Difference of two fields in tickets

$
0
0

hello Saurabh,

 

 

 

try

 

this.date1 = Date.ParseFromString("20100215"); this.date2 = Date.ParseFromString("20100218"); this.result = this.date1.Delta(this.date2);

 

Result: Duration value P3D

 

 

 

then,

 

this.duration = Duration.ParseFromString("P1Y14D"); this.result = this.duration.ConvertToDays(); Result: Integer value 379

 

 

 

Regards,

 

Chandan

Re: How to Design Appeon Universal Partitioned Applications?

$
0
0

Hi Yakov;

 

  Yes, with the demise of Distributed PB, EAServer and the PB Application Server plug-in - the n-tier support for NVUO's in the middle tier has been whittled down to either PB.Net of PB Classic NVUO's deployed to IIs. You are correct though in that it looks like PB.Net EOL'ed when Appeon takes over PB as I have not seen it mentioned anywhere specifically in their PB webinars. If I were Appeon I would not be putting any resources behind PB.Net as: its based on the outdated VS2010 shell; has <5% adoption rate; WPF direction in the MS world is not longer key; cannot produce Console, Service, Winform, etc applications; no support for current .Net features; slow, stability issues; etc, etc.

 

 

   It looks promising that Appeon will address the middle application server layer for business logic as in their high-level PB Roadmap they did target NVUO support and adding WCF support into PB Classic. I am sure the Appeon will do justice to the NVUO support in their application server with detail to performance and database caching (which is already in their architecture).

 

   What I can depart to you based on building some very complex Appeon Web & Mobile production applications is its amazing performance. It automatically deploys DataWindow's to its Server and manages the data demands from the Web or Mobile client using its AJAX technology. Not only does Appeon effectively manage the data caching and round trip accessing & updates it also compresses and encrypts the data-stream which is important for Protected "B" applications with sensitive data. We have built some amazing applications with Appeon at my government client, including implementing business logic in the middle tier using PB Classic Web Service based NVUO's.

 

 

 

    What we have been doing is extending the functionality of PB & Appeon via web service implementations where the need functionality was not natively available in that Appeon Web or Mobile or we need to encapsulate sensitive data processing due to Protected "B" requirements.

 

   Given Appeon's direction, past performance, commitment to delivery, current PB road-map, etc - I definitely think that they will address the middle tier processing area. I also get the impression that they want to assist the current EAServer developers in moving over to Appeon technology. For that to happen, the commitment to a robust middle tier like the features EAS already provides would seem to be a key direction in their 5 year plan.

 

   What I would suggest is that you download Appeon Web and Appeon Mobile and get some hands-on experience with their products, rich mobile features, architecture, etc - then participate in the new planned open forum enhancement program to help Appeon shape their software direction for the features that you mention above.

 

Regards ... Chris

500 Internal Server Error for OData model in sapui5

$
0
0

Hi All,

 

I have an odata webservice which is tested successfully on the browser which returns the metadata. However when i use the url to create an Odata model in my ui5 application in eclipse and run it locally from eclipse , it gives me 500 internal server error in console.

 

One thing to note is that I am using VPN to access the odata url of the gateway server and I am prefixing my URL with proxy

 

var oMdl_Article = new sap.ui.model.odata.ODataModel("proxy/http/<ip>:<port>/sap/opu/odata/sap/zarticle_viewer_srv/"); 

proxy1.JPG

 

proxy2.JPG

Re: Logs of Destination service available?

Re: SAP WEB IDE trial version.


Data Load - One Single Data Flow Vs Multiple Data Flows

$
0
0

Hello All,

 

I want to load data from a Flat File into one single DSO and want to use only one Data Flow rather than multiple data flows.  For example:  I would like to have 4 columns in the DSO (Characteristics, KF1, KF2, KF3).  So, to summarize, instead of having a 3 different Datasource, InfoPackage, Transformation and DTP for KF1, KF2 and KF3, I just want to have only one data flow for (KF1, KF2, KF3).  Is this achievable?  My sample data is below.

 

Thanks,

 

Recca 

 

Re: How do I convert a JSON response to XML in ABAP

$
0
0

Hi Rong,

I think you need to transform the names of JSON objects to uppercase letters first like it is shown in demo report 'demo_json_names_to_upper'. You can use the predefined transformation 'demo_json_xml_to_upper' (or also ' wdr_json_xml_to_upper ') to update your JSON string.

 

Maybe like this:

DATA(lo_writer) = cl_sxml_string_writer=>create( type = if_sxml=>co_xt_json ).
CALL TRANSFORMATION wdr_json_xml_to_upper SOURCE XML lv_json
                                                                           RESULT XML lo_writer.
DATA(lv_json_upper) = lo_writer->get_output( ).
"JSON to ABAP
CALL TRANSFORMATION id SOURCE XML lv_json_upper
                                           RESULT access_token = lv_token.


Regards,

Bernd

Re: Cutover

$
0
0

Thankyou Sanil for such a detailed answer  , Few things

 

1) No Open POs to migrate

2) No Open SOs

3) No Open Production orders

4) Ar , AP & Asset will be migrated but those are also very minimal

5)  Apirl 1 2016 to April 30th 2016 is Period 1 ...

6) My concern is

 

For example

 

Go-live

Finished Good Product "A"

    Std cost -- 1000

     MM uploads the inventory 30

     B/S - 30000

 

Post Audit


Finished Good Product "A"

  Inventory revaluation

     Std cost -- 2000   (Changes)

     Inventory    40  (Changed)

     B/s should have been - 80000

 

In between if the Goods issue is done and gr is also done for the same product "A"
based on Go-live Std cost

 

How to tackle this situation ?

Re: Error in EDI->XML Scenario?

$
0
0

Hi Vikram,

 

Any updates on this error, I'm getting the same error. We are on latest SP4 of the B2B add on.

 

Thank you.

 

Larry.

Re: Sap Cua configuration issue [pertaining to logical systems]

$
0
0

Hello Abhishek,

 

You should have administration authorization on all clients when you are configuring CUA.

But CUA users (that are used in RFCs) don't need SAP_ALL auhts. They can be system type users and there are speciala roles for them.


You can check your configuration and follow below links.

CUA Configuration steps

Central User Administration(CUA) configuration - Basis Corner - SCN Wiki



These are my notes. They may help.


Central System

  BD54

     METCLNT100

     METCLNT001

     MSTCLNT001

  SU01

     CUA_MET (System)

        ZSAP_BC_USR_CUA_CENTRAL

        ZSAP_BC_USR_CUA_CENTRAL_BDIST

        ZSAP_BC_USR_CUA_SETUP_CENTRAL

  CUA_MST (System)

        ZSAP_BC_USR_CUA_CENTRAL

        ZSAP_BC_USR_CUA_CENTRAL_BDIST

        ZSAP_BC_USR_CUA_SETUP_CENTRAL

  RFC

     METCLNT100   CUA_MET

     METCLNT001   CUA_MET_001

     MSTCLNT001   CUA_MST_001

 

CHILD 1 MET 001

  BD54

     METCLNT100

     METCLNT001

     MSTCLNT001

 

  SU01

     CUA_MET_001 (System)

        ZSAP_BC_USR_CUA_CLIENT

        ZSAP_BC_USR_CUA_SETUP_CLIENT

  SM59

     METCLNT100   CUA_MET

 

CHILD 2 MET 001

  BD54

     METCLNT100

     METCLNT001

     MSTCLNT001

 

  SU01

     CUA_MST_001 (System)

        ZSAP_BC_USR_CUA_CLIENT

        ZSAP_BC_USR_CUA_SETUP_CLIENT

  SM59

     METCLNT100   CUA_MET

 

SCUA--> CUA Create


Regards,

Yuksel AKCINAR

Re: How can I reserve a product for a special customer?

$
0
0

SC,

The standard solution for this type of requirement is Product Allocation.

Product Allocation - Availability Check and Requirements in Sales and Distribution Pr - SAP Library

 

You can configure Product allocation such that during Sales Order entry/change, the maximum quantity of confirmations are limited; according to specific characteristics in the Sales orders that you configure (such as customer).  These confirmation limits are defined by date.

Meanwhile, I realized GATP (Global Availability To Promise) might be a solution. Have you ever heard about it?

Yes I have heard about it.  GATP has its own Product Allocation solution, which has more features than ECC Product Allocation.  In addition, GATP permits combining Product Allocation with availability checking methods that do not exist in ECC.

 

Best Regards,

DB49

Re: Error in EDI->XML Scenario?

$
0
0

Vivek,

 

Were you able to resolve the error. I'm getting the same error when I check 'Read from Dynamic headers'.

 

Thank you.

 

Larry.


Re: individual capacity update automatic

$
0
0

Chaitanya,

I don't know exactly what your client wishes to automate. I hope he does not expect that SAP has some magical way to detect that an employee is missing, and then automagically reschedule the shop floor accordingly.  Normally, someone has to 'tell' the system somehow that resource availability has been reduced.

 

The normal way you address capacity shortages (e.g. an employee does not show up for work) is by using Capacity leveling functionality.  Capacity leveling can be automated by running Mass Processing batch jobs..

Capacity Leveling (PP-CRP-LVL) - SAP Library

 

Best Regards,

DB49

Which table stores Measures information in BPC 7.5 MS version

$
0
0

Hi Experts ,

 

Currently i am working on SAP BPC 7.5 MS version  with SQL data base backend.

 

In SAP BPC NW version i know that measures is stored in UJA_FORMULA_APP” table  but i have following doubts

 

1.In which table does measures information stored in BPC 7.5 MS version?

2.Steps to identify this table in SQL Database of BPC 7.5 MS version?

 

 

Thanks in advance,

Siva

Re: Are you adding the custom objects to your SAP GRC Ruleset ?

$
0
0

Hi Prasant,

 

I understand adding Ztcodes and custom objects to the SAP GRC Ruleset.  Is there any existing practice for adding SAP Business Workflow work items to the SAP GRC Ruleset.  For example, you would identify functionalities of a Workflow work item and map to existing or create a new risk.

 

Are there any existing practices, white papers, conversations, blogs for GRC SoD control, monitoring, and mitigation of Workflow work items?  For example, a Workflow work item for Approving Funds could be analyzed and possibly mapped to an existing or create a new risk.

 

Thank you very much,

Sheldon Oxenberg

Re: Standard Cost Estimate CK11N, CK40N ignores Origin Group

$
0
0

Hi Will,

 

I wonder if you have created the overhead cost element with cost element category 41.

Also, please check if you have the origin group assigned in the material master in sender location.

 

Since it is plant transfer, the origin group would be considering from the source location.

 

Hope this helps.

 

Regards,

Srinath

Re: Mysql to Cloud Application

$
0
0

Thanks to Sergio and Vladimir....now i´m understanding the solutions.... See the file .sql below like example....is possible to run a sql file to upload mydatabase and do a prototype to learn the hana plataform as TRIAL USER?  The text below is only a example.

 

/*

SQLyog Enterprise - MySQL GUI v6.05

Host - 5.0.21-community-nt : Database - myprj

*********************************************************************

Server version : 5.0.21-community-nt

*/

 

 

 

 

/*!40101 SET NAMES utf8 */;

 

 

/*!40101 SET SQL_MODE=''*/;

 

 

create database if not exists `myprj`;

 

 

USE `myprj`;

 

 

/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;

/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;

 

 

/*Table structure for table `menus` */

 

 

DROP TABLE IF EXISTS `menus`;

 

 

CREATE TABLE `menus` (

  `id` int(10) unsigned NOT NULL auto_increment,

  `datat` timestamp NOT NULL default CURRENT_TIMESTAMP,

  `ativo` int(1) unsigned NOT NULL default '2',

  `vtipo` int(1) unsigned NOT NULL default '0',

  `vlink` varchar(100) character set latin1 collate latin1_general_ci NOT NULL,

  PRIMARY KEY  (`id`)

) ENGINE=MyISAM DEFAULT CHARSET=latin1;

 

 

/*Data for the table `menus` */

 

 

insert  into `menus`(`id`,`datat`,`ativo`,`vtipo`,`vlink`) values (1,'2009-05-21 13:33:15',0,0,'menu1[0]=\'<a href=\"http://portal.educacao.mg.gov.br\"  title=\"HomePage\"  >Principal</a>\''),(2,'2009-05-21 13:35:02',2,0,'menu2[0]=\'<a href=\"/produtos\"       title=\"Listagem\"  >Produtos</a>\''),(3,'2009-05-21 13:35:05',2,0,'menu2[1]=\'<a href=\"/menus\"          title=\"Listagem\"  >Menus</a>\''),(4,'2009-05-21 13:35:08',2,0,'menu2[2]=\'<a href=\"/usuarios/lista\" title=\"Listagem\"  >Usuarios</a>\''),(5,'2009-05-21 13:35:11',2,0,'menu3[0]=\'<a href=\"/produtos/new\"   title=\"Adicionar\" >Produtos</a>\''),(6,'2009-05-21 13:35:19',0,0,'menu3[1]=\'<a href=\"/menus/new\"      title=\"Adicionar\" >Menus</a>\''),(7,'2009-05-21 13:35:23',2,0,'menu3[2]=\'<a href=\"/usuarios/new\"   title=\"Adicionar\" >Usuarios</a>\'');

 

 

/*Table structure for table `notas` */

 

 

DROP TABLE IF EXISTS `notas`;

 

 

CREATE TABLE `notas` (

  `id` int(10) unsigned NOT NULL auto_increment,

  `datat` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,

  `ativo` int(1) unsigned NOT NULL default '2',

  `vtipo` int(1) unsigned NOT NULL default '0',

  `vnome` varchar(55) collate latin1_general_ci NOT NULL,

  `local` varchar(255) collate latin1_general_ci NOT NULL,

  `email` varchar(255) collate latin1_general_ci NOT NULL,

  `pagto` char(2) collate latin1_general_ci NOT NULL,

  PRIMARY KEY  (`id`)

) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;

 

 

/*Data for the table `notas` */

 

 

/*Table structure for table `produtos` */

 

 

DROP TABLE IF EXISTS `produtos`;

 

 

CREATE TABLE `produtos` (

  `id` int(10) unsigned NOT NULL auto_increment,

  `datat` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,

  `ativo` int(1) unsigned NOT NULL default '2',

  `vtipo` int(1) unsigned NOT NULL default '0',

  `vnome` varchar(55) collate latin1_general_ci NOT NULL,

  `descricao` text collate latin1_general_ci NOT NULL,

  `datapubli` date NOT NULL,

  `imagem` varchar(35) collate latin1_general_ci NOT NULL,

  `preco` decimal(8,2) NOT NULL default '0.00',

  PRIMARY KEY  (`id`)

) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;

 

 

/*Data for the table `produtos` */

 

 

insert  into `produtos`(`id`,`datat`,`ativo`,`vtipo`,`vnome`,`descricao`,`datapubli`,`imagem`,`preco`) values (1,'2009-06-05 14:32:55',1,0,'Pragmatic Project Automation','<em>Pragmatic Project Automation</em> shows you how to improve the consistency and repeatability of your project\'s procedures using automation to reduce risk and errors.\r\n<p>Simply put, we\'re going','2009-05-27','auto.jpg','29.95'),(2,'2009-06-04 14:08:28',1,0,'Pragmatic Version Control','This book is a recipe-based approach to using Subversion that will get you up and running quickly---and correctly. All projects need version control: it\'s a foundational piece of any project\'s infrastructur\r\n<p> Without good tests in place','0000-00-00','svn.jpg','28.50'),(3,'2009-05-27 15:41:39',1,0,'Pragmatic Unit Testing (C#)','Pragmatic programmers use feedback to drive their development and personal processes. The most valuable feedback you can get while coding comes from unit testing.\r\n<p>Without good tests in place','0000-00-00','utc.jpg','27.75'),(4,'2009-06-05 14:32:58',1,2,'Ruby Web Development','How to implement software with the ruby language','2007-05-17','rails.png','30.12');

 

 

/*Table structure for table `usuarios` */

 

 

DROP TABLE IF EXISTS `usuarios`;

 

 

CREATE TABLE `usuarios` (

  `id` int(10) unsigned NOT NULL auto_increment,

  `datat` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,

  `ativo` int(1) unsigned NOT NULL default '2',

  `vtipo` int(1) unsigned NOT NULL default '0',

  `vnome` varchar(55) collate latin1_general_ci NOT NULL,

  `login` char(10) collate latin1_general_ci NOT NULL,

  `senha` char(10) collate latin1_general_ci NOT NULL,

  `menus` int(10) unsigned NOT NULL default '0',

  `imagem` varchar(35) collate latin1_general_ci NOT NULL,

  PRIMARY KEY  (`id`)

) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;

 

 

/*Data for the table `usuarios` */

 

 

insert  into `usuarios`(`id`,`datat`,`ativo`,`vtipo`,`vnome`,`login`,`senha`,`menus`,`imagem`) values (1,'2009-05-31 08:39:41',1,0,'Paulo de Tharso','admin','play',7,'3x4.png');

 

 

/*Table structure for table `vendas` */

 

 

DROP TABLE IF EXISTS `vendas`;

 

 

CREATE TABLE `vendas` (

  `id` int(10) unsigned NOT NULL auto_increment,

  `datat` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,

  `ativo` int(1) unsigned NOT NULL default '2',

  `vtipo` int(1) unsigned NOT NULL default '0',

  `vqtde` int(10) default NULL,

  `total` decimal(8,2) default NULL,

  `produto_id` int(10) unsigned NOT NULL,

  `nota_id` int(10) unsigned NOT NULL,

  `usuario_id` int(10) NOT NULL,

  PRIMARY KEY  (`id`),

  KEY `fk_venda_produtos` (`produto_id`),

  KEY `fk_venda_notas` (`nota_id`),

  KEY `fk_venda_usuarios` (`usuario_id`)

) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;

 

 

/*Data for the table `vendas` */

 

 

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;

/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;

Viewing all 8746 articles
Browse latest View live




Latest Images