quinta-feira, 4 de maio de 2017

BC sets: Conjuntos de configurações de negócio – O que são e como usá-los

Olá pessoal,

Neste blog post vamos explicar brevemente para que usamos BC sets e vamos mostrar um passo-a-passo de como implementamos eles.
BC sets é uma ferramenta que permite que você registre, salve e compartilhe customizações. Quando um BC set é criado, os valores das tabelas de customizing originais são copiados para o BC set.
Muitas vezes, a SAP entrega BC sets como um anexo das SAP Notes para que vocês não precisem criar manualmente master data, tipos de notas ou master groups, por exemplo.
No entanto, a implementação dos BC Sets não cria nenhum tipo de objeto, esses precisam ser criados por meio de passos manuais ou usando o report anexo à SAP Note.
Além disso, não é um objetivo dos BC Sets serem um guia de configuração; eles precisam ser implementados. Portanto, existe uma grande chance de vocês não conseguirem simplesmente abrir o arquivo e fazer manualmente a configuração entregue com o BC Set.
Suponhamos, então, que vocês tenham recebido uma SAP Note com um BC set anexo, estes são os passos para a implementação:
1) Salve o anexo BCS que está na SAP Note no seu computador.
2) Faça login no sistema usando um cliente de customzing.
3) Acesse a transação SCPR3.
4) Selecione Upload de um CCN.
5) Selecione o arquivo que você salvou no seu computador.
Se depois de salvar o arquivo no seu computador, você ainda não conseguir encontrá-lo,              verifique se o encoding do arquivo é compatível com o encoding do seu sistema.
6) Selecione OK na tela pop up.
7) Salve suas alterações.
8) Acesse a transação SCPR20.
9) No campo CCN, insira o nome do BC Set.
10) Ative o BC Set.
11) O sistema exibe uma tela com possíveis mensagens de erro, se não houver nenhum erro, confirme a ativação do BC Set.
Espero que tenha ajudado.
Qualquer dúvida, deixem comentários abaixo.
Até mais,
Karla Reis
Fonte: https://blogs.sap.com/2017/02/08/bc-sets-conjuntos-de-configuracoes-de-negocio-o-que-sao-e-como-usa-los/

quarta-feira, 3 de maio de 2017

Automatic Printing of a Sales Order Document immediately after saving the Application in VA01 transaction using NACE



This scenario shows how to print a document whenever a sales order from VA01 is created immediately after saving the application using NACE.Before that we need to maintain the configuration in the NACE transaction.
Step1: Go to transaction NACE and select the application V1.This is a standard application to confirm the sales order.



Step2:  Click on condition records.

a) It is used to set the values to process the output type based on the Business rule. The following screen will appear. 
 
b) Double click on the BA00. The following screen will appear. Select the any one key combination based on the business rule.
For example, if you want process the appropriate output by giving the Sales Organization, Distribution channel, Division and customer then select the first one. This means it processes the output only when the values found with this combination.

 
c) Set the values and click on Execute/F8 button. Consider the values according your database. 
 d) Provide the customer and partner details and in the Medium click on F4 help. You can see the list of available mediums. Select the medium1i.e. print output.
In date/time filed click on F4 help and select time 4(Send immediately when saving the application). If we don't select this option it won't process the output immediately when saving the application. Maintain the language also. 
e) Now click on Communications button to set the printer properties. Maintain your own printer settings and don't forget to check the filed 'Print Immediately'.  
The configuration to print the document automatically when saving the application is completed.
 Step3:  In order to process the output type we require programs and forms.
The programs and forms to process the output are readily available in SAP system. There are some standard programs and forms are pre configured in the NACE transaction. To see that
 a) Go to NACE, select V1 and click on 'Output Types' 
b) SelectBA00and double click on 'Processing Routines'. 
c) The following screen will appears. Here we can find programs and corresponding forms to process the outputs for different mediums. As per our requirement the corresponding program and forms are preconfigured in the Print output Medium. If we want make our own zprogram and zform, simple just replace it in the corresponding fields in the Print Medium. 
Step4:  Now go to transaction VA01. Give the values we mentioned in the condition records and press enter.
Order type                  :      OR
Sales Organization   :   0001
Distribution Channel:       01
Division                       :       01

a) Enter the sold-to-party or customer as 1000 and enter the Item details. 

Once the data is enterd click on save button. Now the document will automatically print the document. Before that if you want to check the configured output type. Follow the steps.
 b) Go to transaction VA02 and enter the created sales order number. 
  
To check the output type, Go to Extras-> Output->Header->Edit. The following screen will appear. 
Here we can see two types of statuses.
 The Yellow color indicates that it is ready to process. It will automatically come into the picture because we configured the values in NACE transaction. Whenever system found these values (0001, 01, 01, 1000) it will automatically process the above output. We need not to give the output parameters every time the document is to be printed.
 The Green color indicates that the document is successfully processed.
 c) Select Back button and click on SAVE. The document will automatically go to the printer. Now you can collect the document from the printer.
 The document Output is shown below: 

 
 Fonte: https://wiki.scn.sap.com/wiki/display/BPX/Automatic+Printing+of+a+Sales+Order+Document+immediately+after+saving+the+Application+in+VA01+transaction+using+NACE