cancel
Showing results for 
Search instead for 
Did you mean: 

doubts in sd

former_member1249468
Contributor
0 Kudos

Hi gurus,kindly send me the inputs for the following.

1.Company wants to give the pricing for specific customer as per his past sales history? How can we give?

2.How do you hide/add fields in Sales document ?

3.What are the post implementation issues in ur project ?

4.2 scenarios which u have worked with user exits & its proc

Thanks & regards,

Ravisankar.P,

Mail: pasapula.ravi@gmail.com

Accepted Solutions (0)

Answers (4)

Answers (4)

reazuddin_md
Active Contributor
0 Kudos

Hi,

2)- Tcode: SHD0

enter Tcode: VA01( for eg)

enter transaction variant : ZDISP ( If you want to put some fileds in gray mode),

press create button,

u ll get the regula sales order creation screen, enter the respective details and go on, according to the system proceedings,and maitain the field properties where ever ;you required.

when u reach to the final screen,it will ask u to save the document?

click on "Yes", now sales order will generate, (here transaction variant is created vth ZDISP)

now goto VOV8, select your doc type- details

in transaction flow- variant filed, assign newly created variant name ie. ZDISP

from now, whenever you use that doc type, according to the settings stored in that variant,sales order will works.

*Hope its clear

Former Member
0 Kudos

Hi reddy,

Post implementation issues:

Just take the case of an oil and gas industry which is somewhat complex…I think you should co-relate this with other companies..

Functional Problems could be..

1) Whether the company in question, wants to evaluate their by-products

during implementation or after implementation.

2) whether it should be a part of implementation of it's done by manual

procedures and then updated in the database.

3) Intra - elements are trapped during various oil manufacturing processes

are used in some other processes are not.

4) whether these intra-elements have any cost elements defined.

So the functional area in SAP related to O& Gas industry can be dealt with

however, sometimes company's discretion plays a major role. The above

mentioned points.. could concern you in case the company in question may not

be making a part of the SAP implementation, b'cos it can bring about several

variations when it comes to cost evaluations.

User exit - A user exit is a three character code that instructs the system to access a program during system processing.

SXX: S is for standard exits that are delivered by SAP. XX represents the 2-digit exit number.

UXX: U is for user exits that are defined by the user. XX represents the 2-digit exit number

User exits (Function module exits) are exits developed by SAP. The exit is implementerd as a call to a functionmodule. The code for the function module is writeen by the developer. You are not writing the code directly in the function module, but in the include that is implemented in the function module.

The naming standard of function modules for functionmodule exits is:

EXIT_<program name><3 digit suffix>

The call to a functionmodule exit is implemented as:

CALL CUSTOMER.-FUNCTION ❤️ digit suffix>

Example:

The program for transaction VA01 Create salesorder is SAPMV45A

If you search for CALL CUSTOMER-FUNCTION i program

SAPMV45A you will find ( Among other user exits):

CALL CUSTOMER-FUNCTION '003'

exporting

xvbak = vbak

xvbuk = vbuk

xkomk = tkomk

importing

lvf_subrc = lvf_subrc

tables

xvbfa = xvbfa

xvbap = xvbap

xvbup = xvbup.

The exit calls function module EXIT_SAPMV45A_003

2. How to find user exits?

Display the program where you are searching for and exit and search for CALL CUSTOMER-EXIT

If you know the Exit name, go to transaction CMOD.

Choose menu Utillities->SAP Enhancements. Enter the exit name and press enter.

You will now come to a screen that shows the function module exits for the exit.

3. Using Project management of SAP Enhancements, we want to create a project to enahance trasnaction VA01 .

- Go to transaction CMOD

- Create a project called ZVA01

- Choose the Enhancement assign radio button and press the Change button

In the first column enter V45A0002 Predefine sold-to party in sales document.

Note that an enhancement can only be used in 1 project. If the enhancement is already in use, and error message will be displayed

Press Save

Press Components. You can now see that enhancement uses user exit EXIT_SAPMV45A_002. Double click on the exit.

Now the function module is displayed. Double click on include ZXVVAU04 in the function module

Insert the following code into the include: E_KUNNR = '2155'.

Activate the include program. Go back to CMOD and activate the project.

Goto transaction VA01 and craete a salesorder.

Note that Sold-to-party now automatically is "2155"

An example of a user exits :-

MODULE user_exit_0001 INPUT

CASE okcode.

WHEN 'BACK OR EXIT'.

CASE sy-dynnr.

WHEN '100'.

SET SCREEN 0.

LEAVE SCREEN.

WHEN '200'.

        • Note that you can write any code that satisfy your needs. ****

        • But in this case, this was wrote as a sample code for reference sake. ****

        • And you can test it. ****

SET SCREEN 100.

LEAVE SCREEN.

ENDCASE.

ENDCASE.

Reward if this helps

Regards

AK

Former Member
0 Kudos

Hi Ravisankar,

2. Use Transaction variant - SHDO

3. Sent sme note

4. sent mail.

Reward if it helps

Regards

Srini

reazuddin_md
Active Contributor
0 Kudos

Hi,

2) use SHD0, transaction variants to hide/display/req'd fields in a sales document.

4) Credit memo should have billing block if the doc value exceeds Rs 5000/-,

use the userexit MV45AFZZ, ( consult abper, give the logic)

add the Filed" Plant" while enter va01- which can be solved by the field exits.

Hope it helps