Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

development of a program

Former Member
0 Kudos

Hi Experts,

I have to develop a new program.

below mentioned is the requirement.

can anybody help me please.

1. Selection screen:

a. Sales order number - VBAP-VBELN (allow for range and to be able to upload from clip board)

b. Sales order line item - VBAP-POSNR

2. Before initiating the cancellation process; list all the requested sales orders with the following data. This step will allow us to analyze the data again and make sure that no other sales order was added in error.

a. Sales order number - VBAP-VBELN

b. Sales order line item - VBAP-POSNR

c. Material u2013 VBAP-MATNR

d. Plant u2013 VBAP-WERKS

e. Quantity u2013 VBAP-KWMENG

f. Sales order document type - VBAK-AUART

g. Create on date - VBAK-ERDAT

h. Created by - VBAK-ERNAM

i. Sales org. - VBAK-VKORG

j. Distribution channel - VBAK-VTWEG

k. Division - VBAK-SPART

l. Sold to party - VBAK-KUNNR

m. Shipping point u2013 VBAP-VSTEL

n. Reason for rejection code - VBAP-ABGRU

3. Allow the user to select which orders and line items are needed to be cancelled

a. Add deselect all/select all button.

4. Once the sales orders are selected, allow the user to select which reason for rejection code will be used. The reason for rejection code selected will apply to all orders selected. Reason for rejection code - VBAP-ABGRU

5. Once the reason for rejection code is added, change the sales order to add the reason for rejection code to all the orders selected.

a. The sales orders that were not selected will be left alone and not changed.

b. Keep track of any error messages returned.

6. Provide a final output that gives any error messages received by the program

Thanks in advance.

1 ACCEPTED SOLUTION

former_member156446
Active Contributor
0 Kudos

Hi welcome to SDN...

first start your code and then come with some doubts, if you come across during your process..

start designing your selection screen and start your codeing.. by decelaring the internal tables as per your select statement..

4 REPLIES 4

former_member156446
Active Contributor
0 Kudos

Hi welcome to SDN...

first start your code and then come with some doubts, if you come across during your process..

start designing your selection screen and start your codeing.. by decelaring the internal tables as per your select statement..

Former Member
0 Kudos

hi,

First Please try it yourself as per your understanding. Write a Sample code and try to execute that. If you face saome logical or conceptual problem then post that thing on SDN.

Regards

Sumit Agarwal

Former Member
0 Kudos

hi,

since you are having this much information, you can start the code..

while you coding if got any problem , plesae come to us.

i suggest you to do the code yourself, you will get lot of help (using F1).

then also your problem is not resolved, share the same with us.

this is useful for your future...

all the best...

happy coding...

pradeep.

Former Member
0 Kudos

Hi Sudheer,

You have the complete requirement with you. Devolop the program. If you face any problem then give a poast in SDN. We can't give the whole code for you, but can help you in this if you have already done something.

This following link gives you the way to write your code in an optimized way:

http://www.sapbrainsonline.com/ARTICLES/TECHNICAL/optimization/optimization.html

Hope this helps you.

Regards,

Chandra Sekhar